[rrd-users] Another Solaris 8 compile question
Robert_Cecil at forethought.com
Robert_Cecil at forethought.com
Wed Mar 21 15:51:28 MET 2001
Hi,
I have looked through the archives and read other post for problems with
compiling on SOLARIS. I am trying to install on Solaris 8 and having the
following problem. I have tried everything I can think of and can not get past
the following error, cc: unrecognized option `-KPIC'.
Please help :-)
Checking if your kit is complete...
Looks good
Writing Makefile for RRDs
cd perl-shared && make
make[2]: Entering directory `/export/home/rcecil/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 `/export/home/rcecil/rrdtool-1.0.33/perl-shared'
make[1]: *** [perl_shared] Error 2
make[1]: Leaving directory `/export/home/rcecil/rrdtool-1.0.33'
make: *** [all-recursive] Error 1
# cc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/specs
gcc version 2.95.2 19991024 (release)
# echo $PATH
/usr/sbin:/usr/bin:/usr/local/bin:/usr/xpg4/bin:/usr/perl5/5.00503/bin
--
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