LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 08-07-2007, 09:43 AM   #1
lehumphr
Member
 
Registered: Sep 2003
Location: VA
Distribution: Fedora Core 2 (Tettnang)
Posts: 35

Rep: Reputation: 15
Issue when trying to ./configure RRDtool-1.2.23


I have been following fairly detailed instructions while attempting to get NMIS set up on a Fedora 7 Server I have up and running.

When installign a required program called RRDtool. I encounter an error as follows.

Code:
Findr 3rd-Party Libraries
checking for art_vpath_add_point in -lart_lgpl_2... no
checking for pkg-config... pkg-config
configure: WARNING:
----------------------------------------------------------------------------
* I found a copy of pkgconfig, but there is no libart-2.0.pc file around.
  You may want to set the PKG_CONFIG_PATH variable to point to its
  location.
----------------------------------------------------------------------------

configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of libart-2.0. 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 libart_lgpl_2 and its header files. If
  you have not installed libart-2.0, you can get it either from its original home on

     ftp://ftp.gnome.org/pub/GNOME/sources/libart_lgpl/2.3/

  You can find also find an archive copy on

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

  The last tested version of libart-2.0 is 2.3.17.

       LIBS=-lm 
   LDFLAGS=
  CPPFLAGS= -I/usr/include/libart-2.0

----------------------------------------------------------------------------
                
checking for zlibVersion in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for png_access_version_number in -lpng... no
checking for pkg-config... (cached) pkg-config
configure: WARNING:
----------------------------------------------------------------------------
* I found a copy of pkgconfig, but there is no libpng.pc file around.
  You may want to set the PKG_CONFIG_PATH variable to point to its
  location.
----------------------------------------------------------------------------

configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of libpng. 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 libpng and its header files. If
  you have not installed libpng, you can get it either from its original home on

     http://prdownloads.sourceforge.net/libpng/

  You can find also find an archive copy on

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

  The last tested version of libpng is 1.2.10.

       LIBS=-lz -lm 
   LDFLAGS=
  CPPFLAGS=

----------------------------------------------------------------------------
                
checking for FT_Init_FreeType in -lfreetype... no
checking for pkg-config... (cached) pkg-config
configure: WARNING:
----------------------------------------------------------------------------
* I found a copy of pkgconfig, but there is no freetype2.pc file around.
  You may want to set the PKG_CONFIG_PATH variable to point to its
  location.
----------------------------------------------------------------------------

configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of freetype2. 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 libfreetype and its header files. If
  you have not installed freetype2, you can get it either from its original home on

     http://prdownloads.sourceforge.net/freetype/

  You can find also find an archive copy on

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

  The last tested version of freetype2 is 2.1.10.

       LIBS=-lz -lm 
   LDFLAGS=
  CPPFLAGS= -I/usr/include/freetype2

----------------------------------------------------------------------------
                
configure: error: Please fix the library issues listed above and try again.
It seems pretty straightforward but I can't seem to do what its asking me to do correctly.

Thanks for any help provided.
 
Old 08-07-2007, 10:14 AM   #2
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
You have to install some devel packages together with the required libraries. All the reported missing files (libart-2.0.pc, libpng.pc, freetype2.pc) come from the following packages, respectively:
Code:
libart_lgpl-devel
libpng-devel
freetype-devel
You can verify if you have not already installed them on your system and eventually proceed with your usual RPM installation method (e.g. via yum).
 
Old 08-07-2007, 10:24 AM   #3
lehumphr
Member
 
Registered: Sep 2003
Location: VA
Distribution: Fedora Core 2 (Tettnang)
Posts: 35

Original Poster
Rep: Reputation: 15
Awesome thanks for the fast reply.

I manually installed (no yum or apt-get...**pats self on back**) the following packages.

freetype-2.1.10
libart_lpgl-2.3.17
libpng-1.2.10
zlib-1.2.3

Now when I run the ./configure I get the following:

Code:
checking for pkg-config... (cached) pkg-config
configure: WARNING:
----------------------------------------------------------------------------
* I found a copy of pkgconfig, but there is no freetype2.pc file around.
  You may want to set the PKG_CONFIG_PATH variable to point to its
  location.
----------------------------------------------------------------------------

configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of freetype2. 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 libfreetype and its header files. If
  you have not installed freetype2, you can get it either from its original home on

     http://prdownloads.sourceforge.net/freetype/

  You can find also find an archive copy on

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

  The last tested version of freetype2 is 2.1.10.

       LIBS=-lpng -lz -lm 
   LDFLAGS=
  CPPFLAGS= -I/usr/include/freetype2

----------------------------------------------------------------------------
                
configure: error: Please fix the library issues listed above and try again.
Im almost there I can feel it ... :-)
 
Old 08-07-2007, 10:36 AM   #4
lehumphr
Member
 
Registered: Sep 2003
Location: VA
Distribution: Fedora Core 2 (Tettnang)
Posts: 35

Original Poster
Rep: Reputation: 15
I realized I had to install the -devel versions of those programs to get the libraries that were being called during the configure process.

So now I have succesfully configured and installed rrdtool.

Thank you for the help.
 
Old 08-07-2007, 10:52 AM   #5
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
You're welcome! You will find all the .pc files under /usr/lib/pkgconfig, once you have installed the devel packages. If you install (e.g. freetype) from source, usually you will find them under PREFIX/lib/pkgconfig, where PREFIX is the installation dir of your choice. Cheers.
 
  


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
configure DNS issue tanveer Linux - Server 4 07-15-2007 01:04 PM
dpkg configure issue...How do I fix it? mitchell7man Linux - Software 2 01-25-2007 10:21 PM
configure php5 and mysql issue jiawj Programming 1 08-17-2005 04:34 PM
DB2 8.1 on Redhat 7.2 - PHP Configure issue jkpalmer52 Linux - Newbie 0 11-04-2003 12:07 PM
Issue with ./configure niton Linux - General 3 11-13-2002 11:49 AM


All times are GMT -5. The time now is 09:02 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration