[rrd-users] Re: Solaris 8 and RRD
Shoaib Muhammad
Shoaib.Muhammad at fronteracorp.com
Thu Mar 29 04:35:11 MEST 2001
Hi Dean Singh,
I tried ur workaround but still getting the follwoing error:
It is actually saying :
"
cc: unrecognized option `-KPIC'
cc: language depend not recognized
"
Any Idea!
Shoaib
#/usr/local/bin/make
...
...
Checking if your kit is complete...
Looks good
Writing Makefile for RRDs
cd perl-shared && /usr/local/bin/make
make[2]: Entering directory `/install/rrdtool-1.0.33/perl-shared'
mkdir blib
mkdir blib/lib
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/RRDs
mkdir blib/lib/auto
mkdir blib/lib/auto/RRDs
mkdir blib/man3
cp ntmake.pl blib/lib/ntmake.pl
cp RRDs.pm blib/lib/RRDs.pm
/usr/bin/perl -I/usr/perl5/5.00503/sun4-solaris -I/usr/perl5/5.00503
/usr/perl5/5.00503/ExtUtils/xsubpp -typemap
/usr/perl5/5.00503/ExtUtils/typemap RRDs.xs >xstmp.c && mv xstmp.c RRDs.c
cc -c -I../src -I../gd1.3 -xO3 -xdepend -DVERSION=\"1.000331\"
-DXS_VERSION=\"1.000331\" -KPIC -I/usr/perl5/5.00503/sun4-solaris/CORE
-DPERLPATCHLEVEL=5 RRDs.c
cc: unrecognized option `-KPIC'
cc: language depend not recognized
cc: RRDs.c: linker input file unused since linking not done
Running Mkbootstrap for RRDs ()
chmod 644 RRDs.bs
LD_RUN_PATH="" cc -o blib/arch/auto/RRDs/RRDs.so -G RRDs.o -L../src/.libs/
-lrrd_private -lm
cc: RRDs.o: No such file or directory
make[2]: *** [blib/arch/auto/RRDs/RRDs.so] Error 1
make[2]: Leaving directory `/install/rrdtool-1.0.33/perl-shared'
make[1]: *** [perl_shared] Error 2
make[1]: Leaving directory `/install/rrdtool-1.0.33'
make: *** [all-recursive] Error 1
-----Original Message-----
From: Dean Singh [mailto:DeanR at reccom.net]
Sent: Tuesday, March 27, 2001 4:56 PM
To: MRTG Mailing List (E-mail); RRD Users (E-mail)
Subject: [rrd-users] Solaris 8 and RRD
Thanks for everyone that helped me out. I finally got RRD to
compile. My problem was that somehow Makefile was going back to cc instead
of gcc in the perl* directories.
> > > cc -c -I../src -I../gd1.3 -xO3 -xdepend
-DVERSION=\"1.000281\"
> > > -DXS_VERSION=\"1.000281\" -KPIC
> > > -I/usr/perl5/5.00503/sun4-solaris/CORE
> > > -DPERLPATCHLEVEL=5 RRDs.c
> > > sh: cc: not found
>
> > > *** Error code 1
> > > make: Fatal error: Command failed for target `RRDs.o'
> > > Current working directory /tmp/rrdtool-1.0.28/perl-shared
> > > =================================
I solved it with the following. Hope this help anybody else who
might have had a similar problem.
Try doing this. It worked for me. "ln -s gcc /usr/local/bin/cc" so
that /usr/local/bin/cc points to /usr/local/bin/gcc, and make sure
/usr/local/bin is near the front of your path.
Sincerely,
Dean Singh
EBusiness Consultant
949-864-5111 Direct
949-222-2225 Office
949-475-1075 Fax
www.reccom.net
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list