LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 03-19-2008, 01:11 AM   #1
Cotobear
Member
 
Registered: Nov 2007
Location: Canada
Distribution: Slackware 12.0
Posts: 100

Rep: Reputation: 16
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
 
Old 03-19-2008, 02:49 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,772

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

Regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
compiling Cairo ryanfx Linux - Software 3 12-08-2008 09:43 AM
font problem after gtk, pango and cairo update Lord_Grave Linux - Software 0 06-03-2007 05:21 AM
Error build pango with cairo support tuanphan Linux - Software 1 02-13-2007 04:54 PM
compiling cairo 1.2.6 on CentOS 4.x primorec Linux - Desktop 0 02-08-2007 03:13 AM
Text unrecognized after Pango and Cairo updated Peronthious Linux - Software 1 09-09-2006 03:42 AM


All times are GMT -5. The time now is 07:32 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration