[Orca-dev] Orca Rev 194 Updates Submission

Sean O'Neill soneill at oneill.dhs.org
Tue Jan 14 16:09:49 PST 2003


At 03:53 PM 1/14/2003 -0800, Blair Zajac wrote:
>Sean O'Neill wrote:
> >
> > I've tested this on a Solaris 9 12/02 system on an Ultra 5.
> >
> > Installation went fine except for problem with perl 5.8.0 package from
> > Sunfreeware.com causing RRD Perl module grief (or problem with RRD Perl
> > module - not sure which).  I had to modify the RRD perl module configure
> > script as follows - from this:
> >
> >          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 this:
> >          PROBLEMCC=`$PERL -e 'use Config; exit 0 if -x $Config{cc}; map {if
> > (-x "$_/$Config{cc}"){exit 0}} split /:/, $ENV{PATH};print $Config{cc}'`
> >          PROBLEMCC=
> >          if test x$PROBLEMCC != x; then
> >
> > The current Perl 5.8.0 package at Sunfreeware has a funky cc= value in a
> > perl -V output.  Specifically:
> >
> >    Compiler:
> >      cc='gcc -B/usr/ccs/bin/', ccflags ='-fno-strict-aliasing
> > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
> >
> > The -B value in the cc= messes up the configure script for rrdtool.  A perl
> > 5.8.0 I compiled with gcc on another system doesn't have this cc= value and
> > RRD installed fine.  Looks this is related to how the Sunfreeware version
> > of Perl was installed.
>
>Sean,
>
>How does it mess up configure?

In the Sunfreeware version of Perl 5.8.0, the perl compiler is specified as 
cc='perl -B/usr/ccs/bin' - from perl -V output that is.  This -B switch 
value screws up an if statement in the rrdtool configure script.  In my 
personal compiled perl 5.8.0 binaries, cc='gcc' - notice the -B switch 
isn't showing up.

>I can't really do anything about issues with RRDtool.  They are best
>reported to the rrd-users mailing list at
>
>http://people.ethz.ch/~oetiker/webtools/rrdtool/mailinglists.html
>
>If you do send email there, please cc orca-dev also.

K ... I sent an email to Steven Christensen at Sunfreware to see if he 
knows why his perl 5.8.0 package has this -B switch in the cc value and if 
its correct.  If it is, then I'll send email to the rrdtool mailing list as 
you suggested cc'ing orca-dev.

>I'll take a look at the diffs shortly.

Kewl - thx.


--
........................................................
......... ..- -. .. -..- .-. ..- .-.. . ... ............
.-- .. -. -... .-.. --- .-- ... -.. .-. --- --- .-.. ...

Sean O'Neill 



More information about the Orca-dev mailing list