Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#15674 closed defect (fixed)

xeyes needs pkgconfig build dependency

Reported by: ryandesign (Ryan Schmidt) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: bbyer@…


xeyes needs pkgconfig to build but does not declare a dependency on it. This was reported on macports-users by Eugene Vilensky. This is what happens if you don't have pkgconfig installed:

$ sudo port install xeyes
--->  Fetching xeyes
--->  Attempting to fetch xeyes-1.0.1.tar.bz2 from
--->  Verifying checksum(s) for xeyes
--->  Extracting xeyes
--->  Configuring xeyes
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_x11_xeyes/work/xeyes-1.0.1" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man " returned error 1
Command output: checking for a BSD-compatible install... /usr/bin/install
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... /usr/bin/gcc-4.0
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc-4.0 accepts -g... yes
checking for /usr/bin/gcc-4.0 option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of /usr/bin/gcc-4.0... gcc3
checking for a BSD-compatible install... /usr/bin/install
checking for pkg-config... no
checking for XEYES... configure: error: The pkg-config script could not be found or is too old.  Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables XEYES_CFLAGS
and XEYES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see <>.
See `config.log' for more details.

Error: Status 1 encountered during processing.

Change History (2)

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

Resolution: fixed
Status: newclosed

No response from maintainer so I added the dependency on pkgconfig in r39171.

comment:2 Changed 11 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.