[Orca-dev] Possible issue with rrdtool configure script and Perl cc compiler variable
Sean O'Neill
sean at seanoneill.info
Tue Jan 14 16:44:58 PST 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
More information about the Orca-dev
mailing list