I'm attempting to compile (eventually) pidgin on Mac OS X 10.4, and, as dependancies, I've had to get glib and pango. I successfully compiled glib 2.12.9, but only after having to remove the check for gettext (I couldn't get it to find my gettext install in "/opt"). Now I'm trying to compile pango, using this configure command:
Code:
GLIB_CFLAGS=/opt/include/glib-2.0 GLIB_LIBS=-L/opt/lib CPPFLAGS='-I/opt/include -I/opt/lib/glib-2.0/include -I/opt/include/glib-2.0' ./configure --prefix=/opt --x-includes=/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include --x-libraries=/usr/X11R6/lib
This succeeds, but when I run make, I get the following at the end:
Code:
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -o pango-querymodules querymodules.o libpangox-1.0.la libpango-1.0.la -L/opt/lib
gcc -g -O2 -Wall -o .libs/pango-querymodules querymodules.o ./.libs/libpangox-1.0.dylib /Users/ian/Desktop/pango-1.16.4/pango/.libs/libpango-1.0.dylib -L/opt/lib -L/usr/X11R6/lib -lX11 ./.libs/libpango-1.0.dylib -lm
/usr/bin/ld: Undefined symbols:
_g_ascii_table
_g_build_filename
_g_dir_close
_g_dir_open
_g_dir_read_name
_g_enum_get_value
_g_free
_g_get_current_dir
_g_log
_g_module_close
_g_module_error
_g_module_open
_g_module_symbol
_g_option_context_add_main_entries
_g_option_context_free
_g_option_context_new
_g_option_context_parse
_g_path_is_absolute
_g_printerr
_g_printf
_g_strdup
_g_strfreev
_g_string_append
_g_string_free
_g_string_insert_c
_g_string_new
_g_type_class_ref
_g_type_init
collect2: ld returned 1 exit status
make[4]: *** [pango-querymodules] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
I've looked around online, but I haven't been able to find anything relating to this exactly. I followed one sort-of lead of it linking to the wrong glib library, but I have no other glib libraries other than the one in "/opt". Could this be a problem related to my glib/gettext fix I had to use earlier? Any help here would be much appreciated!
(If you need the whole make/configure output just ask.)