[Orca-users] Re: Configuring and Compiling Troubles
    Carlos Canau 
    canau at keka.KPNQwest.pt
       
    Fri Dec  6 09:37:01 PST 2002
    
    
  
> checking for the C compiler perl wants to use to build its modules...  
> ./configure: test: unknown operator -B/usr/ccs/bin/
	Quick'n'Dirty,  install rrdtool 1.0.33  and edit  configure on
the orca dir.
/var/KQ/source/installer/orca-0.27 canau at mono1$ diff configure configure.ORIG
1338c1338
< RRDTOOL_VER=1.000331
---
> RRDTOOL_VER=1.000401
	It worked with me :-)
> 
> Message: 2
> Date: Wed, 04 Dec 2002 23:39:49 -0800
> From: Blair Zajac <blair at orcaware.com>
> To: Mark Goldenberg <mgoldenb at mailhost.goldenberg-consulting.com>
> CC: orca-users at orcaware.com
> Subject: Re: [Orca-users] Configuring and Compiling Troubles
> 
> Mark Goldenberg wrote:
> > 
> > I'm having problems configuring and compiling  orca-0.27b3.  I'm using
> > Solaris 8, gcc 3.2 and perl 5.8.0.  The problem seems to be with
> > configuring rddtool-1.0.40.
> 
> That's really odd.  Can you run /usr/local/bin/perl -V and send
> the output?  I'm guessing that this perl version is expecting a
> difference gcc than you have.
> 
	From perl  -V which  must be a  pkgadd like mine.   Here's the
problem  that hit  the "test"  operator  on the  configure of  rrdtool
1.0.40:
    cc='gcc -B/usr/ccs/bin/', ccflags ='-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
	Here's the code on packages/rrdtool-1.0.44/configure:
echo "configure:951: checking for the C compiler perl wants to use to build its modules" >&5
        PROBLEMCC=`$PERL -e 'use Config; exit 0 if -x $Config{cc}; map {if (-x "$_/$Config{cc}"){exit 0}} split /:/, $ENV{PATH};print $Config{cc}'`
	This might help:
        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 "$PROBLEMCC" = "gcc -B/usr/ccs/bin/"; then PROBLEMCC=""; fi
	But you might  get into more trouble later...  Go with rrdtool
1.0.33 if it works :-)))
	</canau
    
    
More information about the Orca-users
mailing list