Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#12054 closed defect (fixed)

BUG: lincity-ng-1.1.0 missing pkgconfig dependency

Reported by: putte_xvi@… Owned by: pguyot (Paul Guyot)
Priority: Normal Milestone:
Component: ports Version: 1.4.42
Keywords: Cc: pguyot (Paul Guyot)
Port:

Description

The configure script for lincity-ng (1.1.0) checks for pkgconfig, but it isn't listed as a dependency, so installation fails if it isn't already installed.

Change History (5)

comment:1 Changed 17 years ago by markd@…

Milestone: Port Bugs
Summary: lincity-ng requires pkgconfig but doesn't list it as a dependencyBUG: lincity-ng-1.1.0 missing pkgconfig dependency

comment:2 Changed 17 years ago by markd@…

Cc: pguyot@… added
Owner: changed from macports-dev@… to pguyot@…

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

True. If I try to install lincity-ng 1.10_0 without pkgconfig active, I get this:

$ sudo port install lincity-ng
--->  Fetching lincity-ng
--->  Verifying checksum(s) for lincity-ng
--->  Extracting lincity-ng
--->  Configuring lincity-ng
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_games_lincity-ng/work/lincity-ng-1.1.0" && ./configure --prefix=/opt/local --mandir=/opt/local/var/macports/build/_Users_rschmidt_macports_dports_games_lincity-ng/work/destroot/opt/local/share/man --with-libphysfs=/opt/local --with-apple-opengl-framework " returned error 1
Command output: 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 ISO C89... none needed
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether time.h and sys/time.h may both be included... yes
checking how to run the C preprocessor... /usr/bin/cpp-4.0
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for gettimeofday... yes
checking for mkdir... yes
checking for popen... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for shared library run path origin... done
checking for iconv... yes
checking how to link with libiconv... -liconv
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking whether binary relocation support should be enabled... no
checking for zlib... found
checking for pkg-config... no
*** The pkg-config script could not be found. Make sure it is
*** in your path, or set the PKG_CONFIG environment variable
*** to the full path to pkg-config.
*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config.
configure: error: Library requirements (libxml-2.0 >= 2.6.11) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

Error: Status 1 encountered during processing.
$

I would expect people wouldn't actually run into this problem in practice, since lincity-ng depends on libsdl_mixer which depends on libvorbis which depends on pkgconfig. Still, lincity-ng should itself declare its dependency on pkgconfig.

comment:4 Changed 17 years ago by pguyot (Paul Guyot)

Resolution: fixed
Status: newclosed

Fixed with r32635.

comment:5 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.