[Orca-users] Having Fits compiling orca-0.27b3

Edward.Janowiak at cexp.com Edward.Janowiak at cexp.com
Mon Jul 28 09:46:11 PDT 2003


Thanks for your fast response, Blair. I actually have the sunfreeware
versions of gcc, make, and perl installed on this system. When I run:

% /usr/local/bin/perl -MConfig -wle 'print $Config{cc}'

I get:

% gcc -B/usr/ccs/bin/

Gcc reports the -B as an unknow operator. Do you have any other ideas as to
what's going on?

Thanks again.

- Ed Janowiak

-----Original Message-----
From: Blair Zajac [mailto:blair at orcaware.com]
Sent: Friday, July 25, 2003 1:50 PM
To: Edward.Janowiak at cexp.com
Cc: orca-users at orcaware.com
Subject: Re: [Orca-users] Having Fits compiling orca-0.27b3


Edward.Janowiak at cexp.com wrote:
> 
> Hi,
> 
> I have successfully run Orca in other environments, but for some reason am
> having difficulties here. I have /usr/ccs/bin in my path, but I get the
> following error's with my make:
> 
> cd packages
> make CFLAGS=-g -O2 || exit 1
> cd TimeDate-1.14 && make OPTIMIZE="-g -O2"
> cd rrdtool-1.0.40 && ./configure --prefix=/usr/local/orca
> --with-html-dir=/usr/local/apache/htdocs/orca
> --with-ncsa-log=/usr/local/apache/logs/access_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/
> *** Error code 1
> make: Fatal error: Command failed for target
`rrdtool-1.0.40/config.status'
> Current working directory /var/tmp/orca-0.27b3/packages
> *** Error code 1
> make: Fatal error: Command failed for target `all'

Which Perl are you using?  Do you have gcc installed?

It looks like you have a version of Perl that may not be Sun's,
but you don't have the compiler your Perl was compiled with on
the system.

Run

% /usr/local/bin/perl -MConfig -wle 'print $Config{cc}'

and make sure this compiler is on your system.

BTW, I would recommend installing either the ActiveState binary Perl
or the sunfreeware.com one before doing this.  The Sun Perl assumes
you have Sun's cc around, which most people don't.  These other
two Perl's use gcc, so the RRDtool compiles just fine.

Best,
Blair

-- 
Blair Zajac <blair at orcaware.com>
Plots of your system's performance - http://www.orcaware.com/orca/



More information about the Orca-users mailing list