![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pango 1.21.1 (Development branch) | iBot | Software Releases - RSS News | 0 | 05-14-2008 04:30 PM |
| Pango 1.21.0 (Development branch) | iBot | Software Releases - RSS News | 0 | 04-24-2008 01:00 AM |
| Pango 1.20.2 (Default branch) | iBot | Software Releases - RSS News | 0 | 04-24-2008 01:00 AM |
| Pango 1.20.0 (Default branch) | iBot | Software Releases - RSS News | 0 | 03-11-2008 03:50 PM |
| need help,about pango installing | snowfly | UNIX for Advanced & Expert Users | 5 | 09-13-2007 12:22 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Pango installation problem
Hello
I am trying to install gtk and after installing fontconfig,pkg-config,glib,pango,atk (in that order)i tried installing gtk but it said pango along with cario package is required. So now when i complied cario and then do a "make" for pango it gives the following error cairosimple.o(.text+0x1e0): In function `main': /home/shalabh/gtk1/pango/examples/cairosimple.c:82: undefined reference to `cairo_surface_write_to_png' collect2: ld returned 1 exit status make[2]: *** [cairosimple] Error 1 [...] can anyone please help me. btw i am doing ./configure,make and make install to install the packages. I would really appreciate any help..i am trying to install gtk for the past 4 days now! Thank you |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Quite probably gcc cannot locate the cairo library files installed. If your library files are not installed in some standard location (you may see /etc/ld.so.conf for a list) then you may need to specify the LD_LIBRARY_PATH shell variable before starting the make.
Also you can try is to do a "make distclean" to put the gtk tree back to the initial state, specify LD_LIBRARY_PATH and export it, then rerun configure and make again. A few weeks ago I installed a GTK2 installation to learn GTK programming in a likewise fashion without problems. The libraries were installed somewhere in my home directory as there is already a systemwide GTK2 installation in Fedora and I didn't want to mess it up. I had to remember to use the LD_LIBRARY_PATH to put my custom installation at a higher search priority thereafter when I want to compile. |
|
#3
|
|||
|
|||
|
thank you for the reply
I tht maybe I could solve it by installing libpng and zlib but after i installed them, my display server is not working on reboot..it keeps trying but fails..please help thank you |
|||
| Google The UNIX and Linux Forums |
| Thread Tools | |
| Display Modes | |
|
|