[MacPorts] #12054: BUG: lincity-ng-1.1.0 missing pkgconfig
dependency
MacPorts
trac at macosforge.org
Thu Nov 22 14:32:56 PST 2007
#12054: BUG: lincity-ng-1.1.0 missing pkgconfig dependency
-----------------------------------+----------------------------------------
Reporter: putte_xvi at tunedal.nu | Owner: pguyot at kallisys.net
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.4.42
Resolution: | Keywords:
-----------------------------------+----------------------------------------
Comment (by ryandesign at macports.org):
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.
--
Ticket URL: <https://trac.macports.org/projects/macports/ticket/12054#comment:3>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list