Opened 12 years ago

Closed 11 years ago

#37741 closed defect (worksforme)

cairo: couldn't execute "/opt/local/bin/pkg-config": no such file or directory

Reported by: wolf.st.kappesser@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: cairo

Description

If I run "install gtk3" I get:

--->  Configuring cairo
Error: org.macports.configure for port cairo returned: couldn't execute "/opt/local/bin/pkg-config": no such file or directory
Error: Failed to install cairo
Please see the log file for port cairo for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_cairo/cairo/main.log
Error: The following dependencies were not installed: at-spi2-atk at-spi2-core gobject-introspection cairo xorg-libXtst xorg-libXi xorg-inputproto xorg-recordproto atk dbus-python27 py27-gobject libxslt gdk-pixbuf2 jasper jpeg tiff pango Xft2 shared-mime-info xorg-libXcomposite xorg-compositeproto xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port gtk3 failed

If I run "install pkgconfig" before it runs.

Change History (4)

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Keywords: pkgconfig gtk3 removed
Owner: changed from macports-tickets@… to ryandesign@…
Port: cairo added; gtk3 removed

The failure is with cairo, not gtk3. Please attach the complete main.log.

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: no pkg-config when install gtk3 after "uninstall installed"cairo: couldn't execute "/opt/local/bin/pkg-config": no such file or directory

cairo obviously already declares the necessary dependency on the pkgconfig port, so /opt/local/bin/pkg-config should already have been there:

$ port deps cairo
Full Name: cairo @1.12.10_1+x11
Extract Dependencies: xz
Build Dependencies:   pkgconfig
Library Dependencies: libpixman, glib2, fontconfig, freetype, libpng, zlib, lzo2, expat, xrender, xorg-libXext, xorg-xcb-util

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Please provide a main.log from a clean build showing the problem, otherwise I have nothing to go on and will have to close this ticket as "worksforme".

comment:4 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed

Closing due to lack of response.

Note: See TracTickets for help on using tickets.