While trying to install gtk+2, I ran across some compile-time errors on its dependencies, specifically pango1-xft2-1.2.5-2.
Configure Info:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking for C compiler default output... 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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for c++... c++
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking build system type... powerpc-apple-darwin7.8.0
checking host system type... powerpc-apple-darwin7.8.0
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... c++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fl32... no
checking for af77... no
checking for fort77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for lf95... no
checking for g95... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 65536
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... no
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... darwin7.8.0 dyld
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fno-common
checking if c++ PIC flag -fno-common works... yes
checking if c++ supports -c -o file.o... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... darwin7.8.0 dyld
appending configuration tag "F77" to libtool
checking for some Win32 platform... no
checking for native Win32... no
checking for perl5... no
checking for perl... perl
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for pkg-config... /sw/bin/pkg-config
checking for fontconfig >= 1.0.1... yes
checking FONTCONFIG_CFLAGS... -I/usr/X11R6/include
checking FONTCONFIG_LIBS... -L/usr/X11R6/lib -lfontconfig
checking for freetype-config... /usr/X11R6/bin/freetype-config
checking for FT_Get_Next_Char in -lfreetype... yes
checking for xft >= 2.0.0... yes
checking XFT_CFLAGS... -I/usr/X11R6/include -I/usr/X11R6/include/freetype2
checking XFT_LIBS... -L/usr/X11R6/lib -lXft -lfreetype -lXrender -lfontconfig
checking for pkg-config... (cached) /sw/bin/pkg-config
checking for GLIB - version >= 2.1.3... yes (version 2.2.3)
checking Whether to build OpenType test programs... yes
checking modules to link statically...
checking for flockfile... yes
checking for strtok_r... yes
checking for gtkdoc-mkdb... true
checking gtk-doc version (1.1) >= 0.10... yes
checking for db2html... false
checking Whether to write dependencies into .pc files... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for unistd.h... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pango/Makefile
config.status: creating pango/mini-fribidi/Makefile
config.status: creating pango/opentype/Makefile
config.status: creating pango/pango.rc
config.status: creating pango/pangoft2.rc
config.status: creating pango/pangowin32.rc
config.status: creating modules/Makefile
config.status: creating modules/arabic/Makefile
config.status: creating modules/basic/Makefile
config.status: creating modules/hangul/Makefile
config.status: creating modules/indic/Makefile
config.status: creating modules/tamil/Makefile
config.status: creating modules/thai/Makefile
config.status: creating modules/hebrew/Makefile
config.status: creating examples/Makefile
config.status: creating docs/Makefile
config.status: creating docs/version.xml
config.status: creating tools/Makefile
config.status: creating tests/Makefile
config.status: creating tests/runtests.sh
config.status: creating pango.pc
config.status: creating pangox.pc
config.status: creating pangowin32.pc
config.status: creating pangoft2.pc
config.status: creating pangoxft.pc
config.status: creating pango-uninstalled.pc
config.status: creating pangox-uninstalled.pc
config.status: creating pangowin32-uninstalled.pc
config.status: creating pangoft2-uninstalled.pc
config.status: creating pangoxft-uninstalled.pc
config.status: creating pango-zip.sh
config.status: creating config.h
config.status: executing default-1 commands
config.status: executing default-2 commands
config.status: executing default commands
configuration:
backends: FreeType X Xft
Compile error:
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/sw/etc\" -DLIBDIR=\"/sw/lib\" -DG_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I../.. -no-cpp-precomp -O3 -funroll-loops -fstrict-aliasing -pipe -Wall -c pango-ot-ruleset.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/sw/etc\" -DLIBDIR=\"/sw/lib\" -DG_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I../.. -no-cpp-precomp -O3 -funroll-loops -fstrict-aliasing -pipe -Wall -c ottest.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/sw/etc\" -DLIBDIR=\"/sw/lib\" -DG_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I../.. -no-cpp-precomp -O3 -funroll-loops -fstrict-aliasing -pipe -Wall -c pango-ot-ruleset.c -fno-common -DPIC -o .libs/pango-ot-ruleset.o
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/sw/etc\" -DLIBDIR=\"/sw/lib\" -DG_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I../.. -no-cpp-precomp -O3 -funroll-loops -fstrict-aliasing -pipe -Wall -c disasm.c
/bin/sh ../../libtool --mode=link gcc -O3 -funroll-loops -fstrict-aliasing -pipe -Wall -no-undefined -L/usr/X11R6/lib -o libpango-ot.la ftxopen.lo ftxgdef.lo ftxgpos.lo ftxgsub.lo pango-ot-info.lo pango-ot-ruleset.lo
ar cru .libs/libpango-ot.a .libs/ftxopen.o .libs/ftxgdef.o .libs/ftxgpos.o .libs/ftxgsub.o .libs/pango-ot-info.o .libs/pango-ot-ruleset.o
ranlib .libs/libpango-ot.a
creating libpango-ot.la
(cd .libs && rm -f libpango-ot.la && ln -s ../libpango-ot.la libpango-ot.la)
/bin/sh ../../libtool --mode=link gcc -O3 -funroll-loops -fstrict-aliasing -pipe -Wall -no-undefined -L/usr/X11R6/lib -o ottest ottest.o disasm.o libpango-ot.la -L/usr/X11R6/lib -lfontconfig -L/usr/X11R6/lib -lfreetype
gcc -O3 -funroll-loops -fstrict-aliasing -pipe -Wall -o ottest ottest.o disasm.o -L/usr/X11R6/lib ./.libs/libpango-ot.a -lfontconfig -lfreetype
ld: warning prebinding disabled because of undefined symbols
ld: Undefined symbols:
_FT_Access_Frame
_FT_Forget_Frame
_FT_Get_Short
_FT_Seek_Stream
_FT_Get_Long
make[3]: *** [ottest] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
### execution of LD_TWOLEVEL_NAMESPACE=1 failed, exit code 2
"A company is like a monster. And it's my job to find smaller monsters for it to eat."
--Charlotte Pickles, "The Rugrats"
- [Fink-users] compile error for gtk+2 dependencies Kichigai Mentat
- Re: [Fink-users] compile error for gtk+2 dependencies Martin Costabel
