The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > Linux
Google UNIX.COM


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
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

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 02-05-2006
Registered User
 

Join Date: Feb 2006
Posts: 2
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
Reply With Quote
Forum Sponsor
  #2  
Old 02-05-2006
Moderator
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,469
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.
Reply With Quote
  #3  
Old 02-05-2006
Registered User
 

Join Date: Feb 2006
Posts: 2
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
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:47 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0