[rrd-users] Re: (@) Trouble Installing RRDTool 1.2.10

Prasanna Kumar Natarajan apoarxd at yahoo.com
Wed Jul 6 12:16:36 MEST 2005


Mike,
         Setting the Environment Variable hasn't helped. It still continues to give the same warnings when I run the configure script.
 
checking for pkg-config... pkg-config
configure: WARNING:
----------------------------------------------------------------------------
* I found a copy of pkgconfig, but there is no cgilib.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 cgilib. 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 libcgi and its header files. If
  you have not installed cgilib, you can get it either from its original home on
 
     http://www.infodrom.org/projects/cgilib
 
  You can find also find an archive copy on
 
     http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/libs
 
  The last tested version of cgilib is 0.5.
 
       LIBS=-lfreetype -lpng -lz -lart_lgpl_2 -lm 
   LDFLAGS=-L/lb/lib
  CPPFLAGS=-I/lb/include -I/lb/include/libart-2.0 -I/lb/include/freetype2 -I/lb/include/libpng -I/usr/include/libart-2.0 -I/usr/include/freetype2
 
----------------------------------------------------------------------------
                
configure: error: Please fix the library issues listed above and try again.
[root at pnatarajan2-2 rrdtool-1.2.10]#
 
Thanks & Regards,
Prasanna.

Prasanna Kumar Natarajan <apoarxd at yahoo.com> wrote:
Mike,
Thanks for your response. Do I have to set these variables permanently in the Profiles or only for the execution of this script

Thanks & Regards,
Prasanna
michael.cormier at cgi.com wrote:
Did you set the environment variables before running configure?

This time you tell configure where it should be looking for
libraries and include files. This is done via environment
variables. Depending on the shell you are running, the
syntax for setting environment variables is different. Under
csh/tcsh you use:

set IR=-I$BUILD_DIR/lb/include
setenv CPPFLAGS "$IR $IR/libart-2.0 $IR/freetype2 $IR/libpng"
setenv LDFLAGS -L$BUILD_DIR/lb/lib
setenv CFLAGS -O3

If you are running bash/sh/ash/ksh/zsh use this:

IR=-I$BUILD_DIR/lb/include
CPPFLAGS="$IR $IR/libart-2.0 $IR/freetype2 $IR/libpng"
LDFLAGS="-L$BUILD_DIR/lb/lib"
CFLAGS=-O3
export CPPFLAGS LDFLAGS CFLAGS

-----Original Message-----
From: rrd-users-bounce at list.ee.ethz.ch
[mailto:rrd-users-bounce at list.ee.ethz.ch] On Behalf Of Prasanna Kumar
Natarajan
Sent: Tuesday, July 05, 2005 5:07 PM
To: rrd-users at list.ee.ethz.ch
Subject: (@) [rrd-users] Trouble Installing RRDTool 1.2.10

When I run the configure script, I get the following warnings at the end

configure: WARNING:
------------------------------------------------------------------------
----
* I found a copy of pkgconfig, but there is no cgilib.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 cgilib. 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 libcgi and its header files.
If
you have not installed cgilib, you can get it either from its original
home on

http://www.infodrom.org/projects/cgilib

You can find also find an archive copy on

http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/libs

The last tested version of cgilib is 0.5.

LIBS=-lfreetype -lpng -lz -lart_lgpl_2 -lm 
LDFLAGS=
CPPFLAGS= -I/usr/include/libart-2.0 -I/usr/include/freetype2

------------------------------------------------------------------------
----

configure: error: Please fix the library issues listed above and try
again.
[root at pnatarajan2-2 rrdtool-1.2.10]#


I downloaded cgilib-1.0 & installed it, but I still keep getting these
warnings.

The config.log output shows the following

#ifdef __cplusplus
extern "C" void std::exit (int) throw (); using std::exit;

configure: exit 1
[root at pnatarajan2-2 rrdtool-1.2.10]#


Is there anything that I might need to do to get rid of these warnings
or is it fine having these warnings - please advise.

Thanks & Regards,
Prasanna.

---------------------------------
How much free photo storage do you get? Store your friends n family
photos for FREE with Yahoo! Photos. 
http://in.photos.yahoo.com

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi


--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi



---------------------------------
How much free photo storage do you get? Store your friends n family photos for FREE with Yahoo! Photos. 
http://in.photos.yahoo.com

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi


		
---------------------------------
 Too much spam in your inbox? Yahoo! Mail gives you the best spam protection for FREE!
http://in.mail.yahoo.com

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list