LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Compiling troubles with pango and cairo? (http://www.linuxquestions.org/questions/slackware-14/compiling-troubles-with-pango-and-cairo-629110/)

Cotobear 03-19-2008 01:11 AM

Compiling troubles with pango and cairo?
 
AYYYY! I'm having some troubles with compiling certain software which depends on libpango and libpangocairo. Trying to compile pixman from source gives the same error as trying to compile easytag 2.1 from source:

Code:

make[3]: Entering directory `/home/jrsmartyn/downloads/net/easytag-2.1/src'
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libpng12 -o easytag about.o ape_tag.o bar.o browser.o cddb.o charset.o crc32.o dlm.o easytag.o et_core.o flac_header.o flac_tag.o id3_tag.o log.o misc.o monkeyaudio_header.o mpeg_header.o mp4_header.o mp4_tag.o musepack_header.o msgbox.o ogg_header.o ogg_tag.o picture.o prefs.o scan.o setting.o vcedit.o wavpack_header.o wavpack_tag.o -L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 libmpg123/libmpg123.a libapetag/libapetag.a id3lib/libid3bugfix.a -lm -lmp4v2 -lm -lz -lstdc++ -lid3 -lz -lstdc++ -lFLAC -lm -lvorbisfile -lvorbis -logg -lm 
gcc -g -O2 -Wall -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libpng12 -o easytag about.o ape_tag.o bar.o browser.o cddb.o charset.o crc32.o dlm.o easytag.o et_core.o flac_header.o flac_tag.o id3_tag.o log.o misc.o monkeyaudio_header.o mpeg_header.o mp4_header.o mp4_tag.o musepack_header.o msgbox.o ogg_header.o ogg_tag.o picture.o prefs.o scan.o setting.o vcedit.o wavpack_header.o wavpack_tag.o -L/usr/local/lib /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so /usr/local/lib/libpangocairo-1.0.so /usr/local/lib/libpangoft2-1.0.so /usr/local/lib/libfreetype.so /usr/local/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libfontconfig.so /usr/lib/xorg/modules/fonts/libfreetype.so /usr/lib/libexpat.so -lpng12 /usr/lib/libXrender.so /usr/lib/libX11.so /usr/lib/libxcb-xlib.so /usr/lib/libxcb.so /usr/lib/libXau.so /usr/lib/libXdmcp.so /usr/local/lib/libgobject-2.0.so /usr/local/lib/libgmodule-2.0.so -ldl /usr/local/lib/libglib-2.0.so libmpg123/libmpg123.a libapetag/libapetag.a id3lib/libid3bugfix.a /usr/lib/libmp4v2.so -L/usr/i486-slackware-linux/bin -L/usr/i486-slackware-linux/lib -L/usr/lib/gcc/i486-slackware-linux/../../../i486-slackware-linux/lib -L/usr/lib/gcc/i486-slackware-linux/../.. /usr/lib/libid3.so -lz /usr/lib/libstdc++.so -lc -lgcc_s /usr/lib/libFLAC.so /usr/lib/libvorbisfile.so /usr/lib/libvorbis.so /usr/lib/libogg.so -lm -Wl,--rpath -Wl,/usr/lib/xorg/modules/fonts -Wl,--rpath -Wl,/usr/lib/xorg/modules/fonts
make[3]: Leaving directory `/home/jrsmartyn/downloads/net/easytag-2.1/src'
make[2]: Leaving directory `/home/jrsmartyn/downloads/net/easytag-2.1/src'
make[1]: Leaving directory `/home/jrsmartyn/downloads/net/easytag-2.1'
 
*******************************************
/usr/local/lib/libpango-1.0.so: undefined reference to 'g_unichar_get_script'
/usr/local/lib/libpangocairo-1.0.so: undefined reference to 'g_once_init_enter_impl'
/usr/local/lib/libpangocairo-1.0.so: undefined reference to 'g_once_init_leave'
collect2: ld returned 1 exit status
...
make: *** [all] Error 2
********************************************

After looking for similar problems through google, no solutions seem to be posted.. The closest I got was to reinstall cairo and pango.. which didn't help. The dependencies seem to be in order, but the errors persist.

My setup is fluxbox 1.00 on Slackware 12.0. I'll gladly post any other required information.

Thanks very much in advance,
Coto

bathory 03-19-2008 02:49 AM

Maybe you need a newer version of glib2 (glib2-2.14 or newer), since those functions are defined in glib2 includes.

Regards


All times are GMT -5. The time now is 12:41 AM.