Re: Problems compiling: weird symbol conflicts?
- From: "Marius Schamschula" <mschamschula gmail com>
- To: "Patrick Hulin" <patrick hulin gmail com>
- Cc: gtk-list gnome org
- Subject: Re: Problems compiling: weird symbol conflicts?
- Date: Sun, 19 Mar 2006 21:30:15 -0600
Patrick,
I'm with you on the package systems. I dumped Fink before 10.1 was out. DP is OK but I'm used to finding things where my old (mk)Linux boxes had put them (/usr/local), so I build my own...
1, 2 and 3 seem in order, except for using Apple's freetype2 (which is obsolete and broken), however, 4 seems a bit interesting. Here are my current dependancies for gtk+
2.8.16 (minus what Apple installs):
atk 1.11.2
cairo 1.0.2
expat 2.0.0
fontconfig 2.3.2
freetype 2.1.10
g77 3.4.5
gettext 0.14.5
glib2 2.10.1
jpeg 6b
libiconv 1.9.2
libpng 1.2.8
libXft
2.1.7
pango 1.10.4
pkg-config 0.20
render 0.8
tiff 3.8.1
xrender 0.8.3
I'm a bit suspicious of cairo 1.1.1 and pango 2.11.99...
Unstable, bleeding edge. Of course, I use atk 1.11.2...
On 3/19/06, Patrick Hulin <patrick hulin gmail com> wrote:
I don't know why, but I can't stand the package systems for OS X.
1. Version:
Using built-in specs.
Target: i686-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5247.obj~4/src/configure
--disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-
4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --build=powerpc-apple-darwin8 --with-arch=pentium-m --with-tune=prescott --program-prefix= --host=i686-apple-darwin8 --target=i686-apple-darwin8
Thread model: posix
gcc version
4.0.1 (Apple Computer, Inc. build 5247)
2. --prefix=/sft
3. LDFLAGS=-L/sft/lib -L/usr/X11R6/lib
CPPFLAGS='-I/sft/include/atk-1.0 -I/sft/include/glib-2.0 -I/sft/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/sft/include/cairo -I/sft/include/libIDL-
2.0 -I/sft/include/libpng12 -I/sft/include/pango-1.0 -I/usr/include/libxml2 -I/sft/include'
LD_LIBRARY_PATH=/sft/lib:/usr/local/lib:/usr/X11R6/lib:/lib:/usr/lib
PATH=/sft/bin:/usr/local/bin:/usr/X11R6/bin:/usr/bin:/usr/sbin:/bin:/sbin:/Developer/Tools
PKG_CONFIG_PATH=/sft/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/X11R6/lib/pkgconfig:/usr/lib/pkgconfig
4. glib: 2.9.6
pango: 2.11.99
cairo: 1.1.1 (cvs)
atk: 1.10.3
On 3/19/06, Marius Schamschula <mschamschula gmail com> wrote:
Patrick,
I have only built on the PowerPPC, but a number of times. I have never seen this. Here are some more questions:
1) which compiler? (i.e. gcc/g++/g77 --version)
2) any other configure arguments?
3) did you set any environmental variables?
4) which versions of glib, cairo, pango, atk did you install? Are you sure they have all their dependencies installed?
You might try to check if DarwinPorts has an Intel variant out, and if they did anything special relative to the PPC version.
I'm having some really bizarre problems installing GTK under Mac OS X on an x86 Mac. Here are the errors make install gives me as it runs gtk-query-immodules:
../../gtk/gtk-query-immodules-2.0 > /sft/etc/gtk-2.0/gtk.immodules
Cannot load module /sft/lib/gtk-2.0/2.4.0/immodules/im-am-et.so: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-am-et.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /sft/lib/libTIFF.dylib
/sft/lib/gtk-2.0/2.4.0/immodules/im-am-et.so does not export GTK+ IM module API: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-am-et.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /sft/lib/libTIFF.dylib
Cannot load module /sft/lib/gtk-2.0
/2.4.0/immodules/im-cedilla.so: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-cedilla.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /sft/lib/libTIFF.dylib
/sft/lib/gtk-2.0/2.4.0/immodules/im-cedilla.so does not export GTK+ IM module API: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-cedilla.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /sft/lib/libTIFF.dylib
Cannot load module /sft/lib/gtk-2.0
/2.4.0/immodules/im-cyrillic-translit.so: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-cyrillic-translit.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /sft/lib/libTIFF.dylib
/sft/lib/gtk-2.0/2.4.0/immodules/im-cyrillic-translit.so does not export GTK+ IM module API: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-cyrillic-translit.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /sft/lib/libTIFF.dylib
Cannot load module /sft/lib/gtk-2.0
/2.4.0/immodules/im-inuktitut.so: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-inuktitut.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /sft/lib/libTIFF.dylib
/sft/lib/gtk-2.0/2.4.0/immodules/im-inuktitut.so does not export GTK+ IM module API: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-inuktitut.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /sft/lib/libTIFF.dylib
Cannot load module /sft/lib/gtk-2.0
/2.4.0/immodules/im-ipa.so: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-ipa.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /sft/lib/libTIFF.dylib
/sft/lib/gtk-2.0/2.4.0/immodules/im-ipa.so does not export GTK+ IM module API: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-ipa.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /sft/lib/libTIFF.dylib
Cannot load module /sft/lib/gtk-2.0
/2.4.0/immodules/im-thai-broken.so: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-thai-broken.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /sft/lib/libTIFF.dylib
/sft/lib/gtk-2.0/2.4.0/immodules/im-thai-broken.so does not export GTK+ IM module API: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-thai-broken.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /sft/lib/libTIFF.dylib
Cannot load module /sft/lib/gtk-2.0
/2.4.0/immodules/im-ti-er.so: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-ti-er.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /sft/lib/libTIFF.dylib
/sft/lib/gtk-2.0/2.4.0/immodules/im-ti-er.so does not export GTK+ IM module API: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-ti-er.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /sft/lib/libTIFF.dylib
Cannot load module /sft/lib/gtk-2.0
/2.4.0/immodules/im-ti-et.so: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-ti-et.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /sft/lib/libTIFF.dylib
/sft/lib/gtk-2.0/2.4.0/immodules/im-ti-et.so does not export GTK+ IM module API: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-ti-et.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /sft/lib/libTIFF.dylib
Cannot load module /sft/lib/gtk-2.0
/2.4.0/immodules/im-viqr.so: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-viqr.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /sft/lib/libTIFF.dylib
/sft/lib/gtk-2.0/2.4.0/immodules/im-viqr.so does not export GTK+ IM module API: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-viqr.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /sft/lib/libTIFF.dylib
Cannot load module /sft/lib/gtk-2.0
/2.4.0/immodules/im-xim.so: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-xim.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /sft/lib/libTIFF.dylib
/sft/lib/gtk-2.0/2.4.0/immodules/im-xim.so does not export GTK+ IM module API: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-xim.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /sft/lib/libTIFF.dylib'
I configured with --disable-libtiff, and uninstalling libtiff gave me almost the same problem with the png library.
_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list
--
Marius
_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list
--
Marius
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]