LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
 
Search this Thread
Old 03-25-2010, 09:08 PM   #1
fancylad
Member
 
Registered: Mar 2008
Distribution: slackware
Posts: 175

Rep: Reputation: 19
rrdtool configure script failure slackware64-13


I am having a problem trying to compile rrdtool on slackware64-13. The problem is that the configure script keeps failing when it gets to the third party checks:

Quote:
configure:30114: WARNING:
----------------------------------------------------------------------------
* I found a copy of pkgconfig, but there is no pangocairo.pc file around.
You may want to set the PKG_CONFIG_PATH variable to point to its
location.
----------------------------------------------------------------------------

configure:30147: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of pangocairo. Check config.log for hints on why
this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
so that compiler and the linker can find libpango-1.0 and its header files. If
you have not installed pangocairo, you can get it either from its original home on

http://ftp.gnome.org/pub/GNOME/sources/pango/1.17

You can find also find an archive copy on

http://oss.oetiker.ch/rrdtool/pub/libs

The last tested version of pangocairo is 1.17.

LIBS=-lm
LDFLAGS=
CPPFLAGS=
I do have pkgconfig installed and the pangocairo.pc file does exist and I've tried setting PKG_CONFIG_PATH to /usr/lib64/pkgconfig/pangocairo.pc; however it just keeps failing at the same place. I do have libpango installed. I have also tried setting CFLAGS and LDFLAGS to include the headers for libpango and as well as the library. Again this does nothing. The weird part is that on my slackware64-current desktop rrdtool compiles no problem. I can even take the compiled slackware pkg from my desktop and run it on the slackware64-13 machine.

One more thing I should add is that my slackware64-13 is multi-lib enabled. I did this by following aliens's instructions:

http://alien.slackbook.org/dokuwiki/...tilib_packages

I also made my slackware64-current machine multi-lib and tried compiling the rrdtool program and it doesn't have the same problems.

Any suggestions?
 
Old 03-25-2010, 09:36 PM   #2
rfernandez
Member
 
Registered: Mar 2010
Location: Brazil
Distribution: Slackware64
Posts: 264

Rep: Reputation: 40
I'd say to point to de directory where pangocairo is, not the file itself.
 
Old 03-25-2010, 10:11 PM   #3
fancylad
Member
 
Registered: Mar 2008
Distribution: slackware
Posts: 175

Original Poster
Rep: Reputation: 19
i should have been more clear. i tried that too:

export PKG_CONFIG_PATH='/usr/lib64/pkgconfig'
 
Old 03-25-2010, 10:15 PM   #4
rfernandez
Member
 
Registered: Mar 2010
Location: Brazil
Distribution: Slackware64
Posts: 264

Rep: Reputation: 40
Have you also tried to add -lpangocairo to LIBS?

Honestly, if none of this works, I'm out of ideas. =/
 
1 members found this post helpful.
Old 03-25-2010, 10:37 PM   #5
fancylad
Member
 
Registered: Mar 2008
Distribution: slackware
Posts: 175

Original Poster
Rep: Reputation: 19
i believe i did. the server is at work so i'll have to check again tomorrow though. thanks.
 
Old 03-26-2010, 09:52 AM   #6
fancylad
Member
 
Registered: Mar 2008
Distribution: slackware
Posts: 175

Original Poster
Rep: Reputation: 19
i managed to get rrdtool to work. i was missing the glib2 package and for some reason i had to set a bunch of environment variables:

CPPFLAGS=-I/usr/include/cairo -I/usr/include/libpng14 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/cairo

LIBS=-lpangocairo-1.0 -lpango-1.0 -lpng14

not sure why this was necessary but it works. thanks rfernandez for you suggestion.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
postgresql 8.3.7 configure error with slackware64 13.0 leftty Linux - Software 6 10-04-2009 07:05 PM
[SOLVED] Slackware64: cp from JFS volume to NFS share = jfsCommit: page allocation failure. granth Slackware 10 10-01-2009 05:49 PM
[SOLVED] Slackware64-C client wont detect Slackware64-C Samba server slackass Slackware 5 08-07-2009 11:23 PM
configure script sends bad switches to daughter configure scripts Wells Linux - Software 7 10-10-2008 03:38 PM
Issue when trying to ./configure RRDtool-1.2.23 lehumphr Linux - Software 4 08-07-2007 09:52 AM


All times are GMT -5. The time now is 12:13 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