Sunday, March 13, 2005

ethereal part 2

checking Pango flags... -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -L/usr/local/lib -lpangoxft-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv
configure: error:
*** Can't link to Pango. Pango is required to build
*** GTK+. For more information see http://www.pango.org

Writing a pango.modules file to use when running examples before installing Pango.
dyld: /Users/apple/Desktop/Source/gtk/pango-1.8.1/pango/.libs/pango-querymodules version mismatch for library: /usr/X11R6//lib/libfreetype.6.dylib (compatibility version of user: 10.0.0 greater than library's version: 6.3.0)
make[2]: *** [pango.modules] Error 133
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

$otool -L /usr/X11R6/lib/libfreetype.6.dylib
/usr/X11R6/lib/libfreetype.6.dylib:
/usr/X11R6/lib/libfreetype.6.dylib (compatibility version 6.3.0, current version 6.3.0)
...

$ otool -L ./objs/.libs/libfreetype.dylib
./objs/.libs/libfreetype.dylib:
/usr/local/lib/libfreetype.6.dylib (compatibility version 10.0.0, current version 10.7.0)
...

http://forums.macosxhints.com/archive/index.php/t-27078.html

checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding GTK+ or finding the wrong
*** version of GTK+. If it is not finding GTK+, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH

$ ls -l /usr/X11R6/lib/libfreetype.*
/usr/X11R6/lib/libfreetype.6.3.7.dylib
/usr/X11R6/lib/libfreetype.6.3.dylib
/usr/X11R6/lib/libfreetype.6.dylib -> libfreetype.6.3.dylib
/usr/X11R6/lib/libfreetype.a
/usr/X11R6/lib/libfreetype.dylib -> libfreetype.6.3.dylib
/usr/X11R6/lib/libfreetype.la

$ ls -l /usr/local/lib/libfreetype.*
/usr/local/lib/libfreetype.6.3.7.dylib
/usr/local/lib/libfreetype.6.dylib -> libfreetype.6.3.7.dylib
/usr/local/lib/libfreetype.a
/usr/local/lib/libfreetype.dylib -> libfreetype.6.3.7.dylib
/usr/local/lib/libfreetype.la

$ otool -L /usr/X11R6/lib/libfreetype.6.dylib
/usr/X11R6/lib/libfreetype.6.dylib:
/usr/X11R6/lib/libfreetype.6.dylib (compatibility version 6.3.0, current version 6.3.0)
...

$ otool -L /usr/local/lib/libfreetype.6.dylib
/usr/local/lib/libfreetype.6.dylib:
/usr/local/lib/libfreetype.6.dylib (compatibility version 10.0.0, current version 10.7.0)
...

# ln -sf /usr/local/lib/libfreetype.6.3.7.dylib /usr/X11R6/lib/libfreetype.6.dylib

$ ls -l /usr/X11R6/lib/libfreetype.*
/usr/X11R6/lib/libfreetype.6.3.7.dylib
/usr/X11R6/lib/libfreetype.6.3.dylib
/usr/X11R6/lib/libfreetype.6.dylib -> /usr/local/lib/libfreetype.6.3.7.dylib

/usr/X11R6/lib/libfreetype.a
/usr/X11R6/lib/libfreetype.dylib -> libfreetype.6.3.dylib
/usr/X11R6/lib/libfreetype.la

(ethereal:7236): Gtk-WARNING **: cannot open display:

No comments: