Opened 20 years ago

Closed 20 years ago

Last modified 19 years ago

#2444 closed defect (fixed)

libxml++2 requires glibmm but it is not being installed via dependency

Reported by: kranki@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

checking for pkg-config... /opt/local/bin/pkg-config checking for libxml-2.0 >= 2.6.1 glibmm-2.4 >= 2.4.0... Package glibmm-2.4 was not found in the pkg-config search path. Perhaps you should add the directory containing `glibmm-2.4.pc' to the PKG_CONFIG_PATH environment variable No package 'glibmm-2.4' found

configure: error: Library requirements (libxml-2.0 >= 2.6.1 glibmm-2.4 >= 2.4.0) 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: Target com.apple.configure returned: configure failure: shell command "cd "/Users/apple01/ darwinports/dports/textproc/libxml++2/work/libxml++-2.6.1" && ./configure --prefix=/opt/local -- infodir=/opt/local/share/info --mandir=/opt/local/share/man" returned error 1 Command output: checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fno-common checking if g++ PIC flag -fno-common works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin7.6.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking string usability... yes checking string presence... yes checking for string... yes checking list usability... yes checking list presence... yes checking for list... yes checking map usability... yes checking map presence... yes checking for map... yes checking for pkg-config... /opt/local/bin/pkg-config checking for libxml-2.0 >= 2.6.1 glibmm-2.4 >= 2.4.0... Package glibmm-2.4 was not found in the pkg-config search path. Perhaps you should add the directory containing `glibmm-2.4.pc' to the PKG_CONFIG_PATH environment variable No package 'glibmm-2.4' found

configure: error: Library requirements (libxml-2.0 >= 2.6.1 glibmm-2.4 >= 2.4.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

Warning: the following items did not execute (for libxml++2): com.apple.activate com.apple.configure com.apple.build com.apple.destroot com.apple.install

I am able to work around this bug, by issuing the following commands: sudo port install glibmm sudo port install libxml++2 instead of just: sudo port install libxml++2 These were executed from a fresh install of port.

Change History (2)

comment:1 Changed 20 years ago by olegb@…

Resolution: fixed
Status: newclosed

thanks - dep on glibmm added

comment:2 Changed 19 years ago by snu@…

op_sys: All
Note: See TracTickets for help on using tickets.