[rrd-users] Possible issue with rrdtool configure script and Perl cc compiler variable
Sean O'Neill
sean at seanoneill.info
Wed Jan 15 01:44:58 MET 2003
I might have found an issue with the perl -V cc value and the rrdtool
configure script. I recently installed the perl 5.8.0 binary for Solaris 9
from www.sunfreeware.com. It reports its cc value (from perl -V) as 'gcc
-B/usr/ccs/bin'.
The configure script that comes with rrdtool 1.0.40 has a bit of grief
about this. The following lines have problems with this cc value as the -B
switch and it value in the cc output for perl -V messes up the if statement
below.
PROBLEMCC=`$PERL -e 'use Config; exit 0 if -x $Config{cc}; map {if (-x
"$_/$Config{cc}"){exit 0}} split /:/, $ENV{PATH};print $Config{cc}'`
if test x$PROBLEMCC != x; then
To get rrdtool to installed on my system I had to change PROBLEMCC to
PROBLEMCC=''. RRDtool installed correctly after this. I didn't check the
entire script for problem with the perl cc value.
Has anyone else noticed this ?
--
........................................................
......... ..- -. .. -..- .-. ..- .-.. . ... ............
.-- .. -. -... .-.. --- .-- ... -.. .-. --- --- .-.. ...
Sean O'Neill
--
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://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list