[rrd-developers] Fwd: Possible issue with rrdtool configure script and Perl cc compiler variable
Sean O'Neill
sean at seanoneill.info
Tue Jan 21 20:23:24 MET 2003
I sent this to rrd-users and got no reply so I'm trying here.
>Date: Tue, 14 Jan 2003 18:44:58 -0600
>To: rrd-users at list.ee.ethz.ch
>From: Sean O'Neill <sean at seanoneill.info>
>Subject: Possible issue with rrdtool configure script and Perl cc compiler
>variable
>Cc: orca-dev at orcaware.com
>
>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-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-developers
mailing list