[Orca-users] Compile error with orca

leo.mccoy at kbm1.com leo.mccoy at kbm1.com
Mon Mar 28 13:52:08 PST 2005


I've seen this problem with orca-0.27.  It comes from the rdd configure
script (rrdtool-1.0.40).  

Certain versions of perl return the "-B/usr/ccs/bin" value when executing
this line in the configure script.  When I run:

# perl -e 'use Config; exit 0 if -x $Config{cc}; map {if (-x
"$_/$Config{cc}"){exit 0}} split /:/, $ENV{PATH};print $Config{cc}'

I get:

gcc -B/usr/ccs/bin/

as a response and an zero return code.

Knowing that my gcc and perl installs were fine, I commented out the two
"PROBLEMCC=" lines in the configure script and everything worked fine from
there.

I didn't have this problem with the 402 snapshot that included
rrdtool-1.0.49.

Hope that helps.



-----Original Message-----
From: orca-users-bounces+leo.mccoy=kbm1.com at orcaware.com
[mailto:orca-users-bounces+leo.mccoy=kbm1.com at orcaware.com]
Sent: Monday, March 28, 2005 3:17 PM
To: James Finn
Cc: orca-users at orcaware.com
Subject: Re: [Orca-users] Compile error with orca


James Finn wrote:

> Would anyone have any idea what this compile error is about? I have 
> compiled orca before but for some reason I just can't get past this 
> problem.
>  
> cd packages
> make CFLAGS=-g -O2 || exit 1
> make[1]: Entering directory `/usr/local/src/orca-0.27/packages'
> cd rrdtool-1.0.40 && ./configure --prefix=/opt/orca 
> --with-var-dir=/opt/orca/var -with-rrd-dir=/opt/orca/rrd 
> -with-html-dir=/u01/orca/html --with-ncsa-log=/usr/local/apache/log 
> --cache-file=../../config.cache
> loading cache ../../config.cache
> checking host system type... sparc-sun-solaris2.8
> checking target system type... sparc-sun-solaris2.8
> checking build system type... sparc-sun-solaris2.8
> checking for a BSD compatible install... config/install-sh -c
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... yes
> checking for working aclocal... missing
> checking for working autoconf... missing
> checking for working automake... missing
> checking for working autoheader... missing
> checking for working makeinfo... missing
> checking for perl... /usr/local/bin/perl
> checking for shared library extension... so
> checking for the C compiler perl wants to use to build its modules... 
> ./configure: test: unknown operator -B/usr/ccs/bin/
> make[1]: *** [rrdtool-1.0.40/config.status] Error 1
> make[1]: Leaving directory `/usr/local/src/orca-0.27/packages'
> make: *** [all] Error 1

It looks like the compiler your perl was compiled with, which I'm 
guessing is gcc since there is a -B flag, isn't on your system.  Is this 
the case?

You may have to get a Perl from ActiveState or from sunfreeware.com.

Regards,
Blair

_______________________________________________
Orca-users mailing list
Orca-users at orcaware.com
http://www.orcaware.com/mailman/listinfo/orca-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/orca-users/attachments/20050328/c16bdd11/attachment.html>


More information about the Orca-users mailing list