LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-27-2008, 04:08 PM   #1
loup_cool666
LQ Newbie
 
Registered: Sep 2008
Distribution: Ubuntu 6 6 PPC iBook G3
Posts: 16

Rep: Reputation: 0
pixman fail to compille


hi so i need help cuz i juste formate my laptop again cuz my ubuntu was a bit fuck top ( pkg config ) and now i try to install pixman but the config run well but when i try to compile i make that error

creating clip-test
gcc -DHAVE_CONFIG_H -I. -I.. -I../pixman -I../pixman -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/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/pango-1.0 -g -O2 -Wall -fvisibility=hidden -MT composite-test.o -MD -MP -MF .deps/composite-test.Tpo -c -o composite-test.o composite-test.c
composite-test.c: In function ‘main’:
composite-test.c:111: warning: unused variable ‘j’
mv -f .deps/composite-test.Tpo .deps/composite-test.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -fvisibility=hidden -o composite-test composite-test.o ../pixman/libpixman-1.la -L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXfixes -lpango-1.0 -lcairo -lX11 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
gcc -g -O2 -Wall -fvisibility=hidden -o .libs/composite-test composite-test.o ../pixman/.libs/libpixman-1.so -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/libpangocairo-1.0.so /usr/lib/libpangoft2-1.0.so -lXext -lXinerama -lXi -lXrandr -lXcursor -lXfixes /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so /usr/lib/libcairo.so -lXrender -lpng12 -lfontconfig /usr/lib/libfreetype.so -lz -lm -lX11 /usr/local/lib/libgobject-2.0.so /usr/local/lib/libgmodule-2.0.so -ldl /usr/local/lib/libglib-2.0.so -Wl,--rpath -Wl,/usr/local/lib
composite-test.o: In function `reader':/home/louis/Desktop/pixman-0.12.0/test/composite-test.c:81: undefined reference to `g_assertion_message'
collect2: ld returned 1 exit status
make[2]: *** [composite-test] Error 1
make[2]: Leaving directory `/home/louis/Desktop/pixman-0.12.0/test'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/louis/Desktop/pixman-0.12.0'
make: *** [all] Error 2



so please some 1 help me
 
Old 09-27-2008, 04:40 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
g_assertion_message is provided by glib and should defined in /usr/local/include/glib-2.0/gtestutils.h on your machine. Do you have the development package for glib installed? If not install that and try again.

I also notice that you have glib installed in /usr/local and GTK+ installed in /usr. Did you install glib yourself from source?
 
Old 09-27-2008, 05:09 PM   #3
loup_cool666
LQ Newbie
 
Registered: Sep 2008
Distribution: Ubuntu 6 6 PPC iBook G3
Posts: 16

Original Poster
Rep: Reputation: 0
myself ( ./configure ........ make ......... sudo make install )
and i think yes thx for the reply
 
Old 09-27-2008, 05:25 PM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
That's what I thought. I think the glib headers get pulled into pixman via the GTK+ headers (i.e., the pixman source has #include <gtk/gtk.h>, but not #include <glib.h>). Therefore, you're trying to build pixman against the GTK+ that I'm guessing you installed with your package manager. That GTK+ is built against a different version of glib. Of course, I'm only conjecturing as to what you've done on your machine.
 
Old 09-27-2008, 05:29 PM   #5
loup_cool666
LQ Newbie
 
Registered: Sep 2008
Distribution: Ubuntu 6 6 PPC iBook G3
Posts: 16

Original Poster
Rep: Reputation: 0
ok so i have to download a gtk from source ??? cuz is realy hard to get software for power pc so iam gonna download gtk from source
 
Old 09-27-2008, 05:42 PM   #6
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
You really should just install the development packages for glib and GTK+ from Ubuntu's repos. In fact, I bet pixman is available in Ubuntu's repos too.
 
Old 09-27-2008, 05:43 PM   #7
loup_cool666
LQ Newbie
 
Registered: Sep 2008
Distribution: Ubuntu 6 6 PPC iBook G3
Posts: 16

Original Poster
Rep: Reputation: 0
o no i got my old probleme :S so i hope you can help me cuz i realy whant to install a flash player to listen video on youtube :S but for power pc the only one i found is swfdec please help me there is my old probleme

checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.17.6 atk >= 1.13.0 pango >= 1.20 cairo >= 1.6) were not met:

Requested 'atk >= 1.13.0' but version of Atk is 1.11.4
Requested 'pango >= 1.20' but version of Pango is 1.12.3
Requested 'cairo >= 1.6' but version of cairo is 1.0.4

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
 
Old 09-27-2008, 08:37 PM   #8
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Your atk, cairo, and pango are too old. You'll need to update them to at least the versions shown.
 
Old 09-27-2008, 08:40 PM   #9
loup_cool666
LQ Newbie
 
Registered: Sep 2008
Distribution: Ubuntu 6 6 PPC iBook G3
Posts: 16

Original Poster
Rep: Reputation: 0
yhea but after ... iam gonna get this prob Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
 
Old 11-07-2008, 05:25 AM   #10
mathb
LQ Newbie
 
Registered: Oct 2008
Posts: 7

Rep: Reputation: 0
need help in compiling pixman-0.12.0

i am cross compiling for arm on fedoracore-7 .the arm toolchain im using is arm-gcc-3.4.4 .
in order to cross compile cairo library i had to download pixman.tar.gz . i am trying to install all these libraries to nonstandard prefix path so that the system libraries remain undisturbed.

pixman-0.12.0 does the configure without error but make gives the following error

make[2]: Entering directory `/root/Desktop/pixman-0.12.0/test'
arm-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../pixman -I../pixman -I/root/usr/moz/include/glib-2.0 -I/root/usr/moz/lib/glib-2.0/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/pango-1.0 -g -O2 -Wall -MT clip-test.o -MD -MP -MF .deps/clip-test.Tpo -c -o clip-test.o clip-test.c
clip-test.c: In function `main':
clip-test.c:97: warning: unused variable `p1'
clip-test.c:98: warning: unused variable `p2'
mv -f .deps/clip-test.Tpo .deps/clip-test.Po
/bin/sh ../libtool --tag=CC --mode=link arm-linux-gnu-gcc -g -O2 -Wall -o clip-test clip-test.o ../pixman/libpixman-1.la -L/root/usr/moz/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpng12 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
arm-linux-gnu-gcc -g -O2 -Wall -o clip-test clip-test.o ../pixman/.libs/libpixman-1.a -L/root/usr/moz/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpng12 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo /root/usr/moz/lib/libgobject-2.0.so /root/usr/moz/lib/libgmodule-2.0.so -ldl /root/usr/moz/lib/libglib-2.0.so
/usr/local/arm/arm-gcc-3.4.4/gcc-3.4.4-glibc-2.3.3/arm-linux-gnu/lib/gcc/arm-linux-gnu/3.4.4/../../../../arm-linux-gnu/bin/ld: cannot find -lgtk-x11-2.0
collect2: ld returned 1 exit status
make[2]: *** [clip-test] Error 1
make[2]: Leaving directory `/root/Desktop/pixman-0.12.0/test'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Desktop/pixman-0.12.0'
make: *** [all] Error 2


please could anyone of you help me with this issue.i am bit new to linux so dont know to figure out what the problem exactly is .
 
Old 11-11-2008, 02:54 PM   #11
Motoguru
LQ Newbie
 
Registered: Nov 2008
Posts: 1

Rep: Reputation: 0
So i got same problems but to instal pixman You need perl5, libtool and pkg-config ( the latest), then pixman and cairo compile great, but when i try to install gtk+ apears next problem gtk don't recognize versions of glib and cairo, sometimes just glib, sometimes cairo, and i can't compile gtk+, even i have good versions, does anyone know why ?
 
Old 11-12-2008, 10:14 PM   #12
mathb
LQ Newbie
 
Registered: Oct 2008
Posts: 7

Rep: Reputation: 0
for gtk to compile u'll need glib,pango, etc all new versions

while i try configuring pkg-config-0.23 i get an error

./configure --host=i686-linux --build=arm-linux --prefix=/root/usr/moz/ --without-x

checking for i686-linux-gcc... gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for extra flags to get ANSI library prototypes... configure: error: cannot run test program while cross compiling
See `config.log' for more details.
configure: error: ./configure failed for glib-1.2.10

this glib-1.2.10 version is within the pkg-config-0.23 tarball .
could anyone help me solve this problem
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fail to start X satimis Ubuntu 2 07-24-2007 11:35 PM
i fail dns21 General 9 06-26-2007 07:00 AM
Fail to ping satimis Linux - Server 72 01-16-2007 10:26 PM
DCOP fail! labbe Linux - Newbie 1 12-09-2004 01:15 AM
lisa fail jewis Linux - Networking 0 08-31-2003 09:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:45 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration