[Orca-users] RE: Install errors

Geoff Dyment geoff at tripeze.com
Tue Apr 24 15:40:32 PDT 2001


Fraid not :( - Orca installer is hard-coded to look for rrdtool-1.0.13 -
newer versions are ignored. We got the new rrdtool installed (.33) but when
orca tries to install it freaks that 13 is not there, and tries to install
it.

Now we tried cheating and doing things like commenting out the check for
rrd.. Anyways heres some notes from our unix master...

---

We run Solaris 8 which comes with a crippled cc - so we installed gcc in
/usr/local/bin
we install the latest stable version of Perl 5.6.1 in /usr/local/bin/
WITHOUT making the link to /usr/bin/perl (which is the OS included 5.005_03

it will not compile with /usr/local/bin/perl (5.6.1)... it fails
it we change perl to be /usr/bin/perl (5.005) ... it works ... BUT the
compiler gets hooped because Sun has apparently told the /usr/bin/perl
program to refer to 'cc' rather than searching the system for a valid
compiler .. (this is what we are guessing at because we can find no obvious
explanation as to how 'cc' creeps back into the install process - see below)

here's an excerpt from our Makefile
CC = gcc

yet, at the end of the make .. we get this (notice the 'cc' on the last
line)
...
RRDs.xs:184: warning: ANSI C forbids braced-groups within expressions
RRDs.xs:184: warning: ANSI C forbids braced-groups within expressions
RRDs.xs:206: warning: ANSI C forbids braced-groups within expressions
RRDs.c: In function `boot_RRDs':
RRDs.c:267: warning: ANSI C forbids braced-groups within expressions
RRDs.c:291: warning: ANSI C forbids braced-groups within expressions
RRDs.c:291: warning: ANSI C forbids braced-groups within expressions
Running Mkbootstrap for RRDs ()
chmod 644 RRDs.bs
LD_RUN_PATH="" cc -o blib/arch/auto/RRDs/RRDs.so  -G RRDs.o
../src/.libs/librrd_private.a -lm


so, to get this to run, we had to create a symbolic link from
/usr/local/bin/gcc to /usr/local/bin/cc


Which in the end means we have a potentially working rrd which is 10+
versions higher than the one included with orca (which we could hack and
force, but in 10 revisions what functionality changes have been made that
will mess orca)... And we have an orca install that almost installs... but
not quite.

Help. :)

Geoff


-----Original Message-----
From: Blair Zajac [mailto:blair at gps.caltech.edu]
Sent: Monday, April 23, 2001 5:34 PM
To: orca-users at yahoogroups.com
Subject: Re: [orca-users] Install errors


Hello,

This looks like an old version of RRDtool that you're trying to
install.  Get the latest version at

http://ee-staff.ethz.ch/~oetiker/webtools/rrdtool/pub/

and install this by hand.  Let me know if this works.

Regards,
Blair

Geoff Dyment wrote:
>
> Running on Solaris 2.8
>
> Installed the SE toolkit, installed Perl 5.6.
>
> Run configure and it works - exits with no errors.
>
> Run make and it dies with this:
>
> /usr/local/bin/perl -I/usr/local/lib/perl5/5.6.0/sun4-solaris
> -I/usr/local/lib/perl5/5.6.0
> /usr/local/lib/perl5/5.6.0/ExtUtils/xsubpp
> -typemap /usr/local/lib/perl5/5.6.0/ExtUtils/typemap RRDs.xs >
> RRDs.xsc &&
> mv RRDs.xsc RRDs.c
> gcc -c -I../src -I../gd1.3 -fno-strict-aliasing -I/usr/local/include
> -I/opt/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2
> -Wall
> -pedantic -fPIC      -DVERSION=\"1.000131\"  -DXS_VERSION=\"1.000131\"
> -fPIC
> -I/usr/local/lib/perl5/5.6.0/sun4-solaris/CORE  RRDs.c
> RRDs.xs: In function `XS_RRDs_error':
> RRDs.xs:59: warning: ANSI C forbids braced-groups within expressions
> RRDs.xs:59: warning: ANSI C forbids braced-groups within expressions
> RRDs.c:69: warning: ANSI C forbids braced-groups within expressions
> RRDs.c:57: warning: unused variable `Perl___notused'
> RRDs.xs: In function `XS_RRDs_last':
> RRDs.xs:72: `na' undeclared (first use in this function)
> RRDs.xs:72: (Each undeclared identifier is reported only once
> RRDs.xs:72: for each function it appears in.)
> RRDs.xs:72: warning: left-hand operand of comma expression has no
> effect
> RRDs.xs:72: warning: ANSI C forbids braced-groups within expressions
> RRDs.xs:72: warning: ANSI C forbids braced-groups within expressions
> RRDs.c:85: warning: ANSI C forbids braced-groups within expressions
> RRDs.c:85: warning: ANSI C forbids braced-groups within expressions
> RRDs.c:85: warning: ANSI C forbids braced-groups within expressions
> RRDs.c:87: warning: ANSI C forbids braced-groups within expressions
> RRDs.c:74: warning: unused variable `Perl___notused'
>
> [SNIP many more warnings]
>
> RRDs.c:267: warning: ANSI C forbids braced-groups within expressions
> RRDs.c:291: warning: ANSI C forbids braced-groups within expressions
> RRDs.c:291: warning: ANSI C forbids braced-groups within expressions
> RRDs.c:264: warning: unused variable `Perl___notused'
> *** Error code 1
> make: Fatal error: Command failed for target `RRDs.o'
> Current working directory
> /opt/local/build/orca-0.26/packages/rrdtool-1.0.13/perl-shared
> *** Error code 1
> make: Fatal error: Command failed for target `perl_shared'
> Current working directory
> /opt/local/build/orca-0.26/packages/rrdtool-1.0.13
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory
> /opt/local/build/orca-0.26/packages/rrdtool-1.0.13
> *** Error code 1
> make: Fatal error: Command failed for target `make_rrdtool'
> Current working directory /opt/local/build/orca-0.26/packages
> *** Error code 1
> make: Fatal error: Command failed for target `all'
>
> And it dies.
>
> Can anyone point me in the right direction? (even an rtfm if you know
> which
> one:)
>
> Geoff
>
>                    Yahoo! Groups Sponsor
> [Click Here to Find Software Faster]
> Click Here to Find Software Faster
>
>



More information about the Orca-users mailing list