[Orca-dev] Re: Possible issue with rrdtool configure script and Perl cc compiler variable
Sean O'Neill
sean at seanoneill.info
Tue Jan 21 11:06:59 PST 2003
At 06:44 PM 1/14/2003 -0600, Sean O'Neill wrote:
>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 ?
Am I asking about a possible bug on the wrong group ? I never got any
response to this from the RRD developers.
--
........................................................
......... ..- -. .. -..- .-. ..- .-.. . ... ............
.-- .. -. -... .-.. --- .-- ... -.. .-. --- --- .-.. ...
Sean O'Neill
More information about the Orca-dev
mailing list