[Orca-users] yet another make error
leo.mccoy at kbm1.com
leo.mccoy at kbm1.com
Mon Apr 4 06:09:04 PDT 2005
Jim,
Set (and export) your PATH environment variable so that gcc is found before
cc. I believe that you can also set the environment variable CC=gcc, but I
haven't tried that.
-----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: Saturday, April 02, 2005 1:19 AM
To: orca-users at orcaware.com
Subject: [Orca-users] yet another make error
I am trying to install ORCA public snapshot 422 that Dmitry announced
a month or two back:
I get a fatal error on 'make' when it gets down to rrd tool. Any
advice? How can I force rrd's configure to use gcc instead of cc?
It seems *pretty close* to the messages between
From: leo.mccoy
To: James Finn
Sent: Monday, March 28, 2005 3:17 PM
but that fix did not help me.
----------------------------------------
Checking if your kit is complete...
Looks good
Writing Makefile for RRDs
cd perl-shared && make
cp RRDs.pm blib/lib/RRDs.pm
cp ntmake.pl blib/lib/ntmake.pl
/usr/bin/perl -I/usr/perl5/5.6.1/lib/sun4-solaris-64int
-I/usr/perl5/5.6.1/lib /usr/perl5/5.6.1/lib/ExtUtils/xsubpp -typemap
/usr/perl5/5.6.1/lib/ExtUtils/typemap RRDs.xs > RRDs.xsc && mv
RRDs.xsc RRDs.c
cc -c -I.. -I../src -I../gd1.3 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -xO3 -xdepend
-DVERSION=\"1.000491\" -DXS_VERSION=\"1.000491\" -KPIC
-I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE -DPERLPATCHLEVEL=6
RRDs.c
cc: unrecognized option `-KPIC'
cc: language depend not recognized
cc: RRDs.c: linker input file unused because linking not done
Running Mkbootstrap for RRDs ()
chmod 644 RRDs.bs
rm -f blib/arch/auto/RRDs/RRDs.so
LD_RUN_PATH="" cc -G RRDs.o -L../src/.libs/ -lrrd_private -lm -o
blib/arch/auto/RRDs/RRDs.so
cc: RRDs.o: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target
`blib/arch/auto/RRDs/RRDs.so'
Current working directory
/tmp/orca-snapshot-r422/packages/rrdtool-1.0.49/perl-shared
*** Error code 1
make: Fatal error: Command failed for target `perl_shared'
Current working directory
/tmp/orca-snapshot-r422/packages/rrdtool-1.0.49
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory
/tmp/orca-snapshot-r422/packages/rrdtool-1.0.49
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory
/tmp/orca-snapshot-r422/packages/rrdtool-1.0.49
*** Error code 1
make: Fatal error: Command failed for target `make_rrdtool'
Current working directory /tmp/orca-snapshot-r422/packages
*** Error code 1
make: Fatal error: Command failed for target `all'
gumby:root>: env
_=/usr/bin/env
MANPATH=/usr/share/man:/usr/dt/man:/usr/local/man:/usr/sfw/man:/opt/hpnpl/ma
n
SSH2_SFTP_LOG_FACILITY=-1
VISUAL=/usr/bin/vi
PATH=/usr/ccs/bin:/usr/perl5/5.6.1/bin:/usr/bin:/usr/sbin:/usr/dt/bin:/usr/o
penwin/bin:/usr/local/bin:/usr/local/sbin:/etc:.
LOGNAME=root
MAIL=/var/mail/root
PS1=gumby:root>:
USER=root
DISPLAY=gumby:10.0
SHELL=/bin/ksh
SSH2_CLIENT=192.168.1.241 36468 192.168.1.144 22
HOME=/
LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/opt/hpnpl/lib:/usr/openv/lib
TERM=dtterm
PWD=/tmp/orca-snapshot-r422
TZ=US/Pacific
gumby:root>: gcc --version
gcc (GCC) 3.4.0
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
gumby:root>: uname -a
SunOS gumby 5.9 Generic_117171-02 sun4u sparc SUNW,Sun-Fire-V240
_______________________________________________
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/20050404/3bf51d3c/attachment.html>
More information about the Orca-users
mailing list