[rrd-users] compiling probs: solaris/perl-shared

Matt Squire msquire at windwire.com
Mon Mar 5 20:59:13 MET 2001



I'm trying to install 1.0.33 on a Solaris 2.8 system.  The perl-shared
modules try to compile using cc by default.  When I override the
compiler, using

make CC=gcc

the compilation fails with

cd perl-shared && /usr/local/bin/gnumake
gnumake[2]: Entering directory
`/usr/local/src/rrdtool-1.0.33/perl-shared'
gcc -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
gcc: unrecognized option `-KPIC'
gcc: language depend not recognized
gcc: RRDs.c: linker input file unused since linking not done
LD_RUN_PATH="" cc -o blib/arch/auto/RRDs/RRDs.so  -G RRDs.o
-L../src/.libs/ -lrrd_private -lm
/usr/ucb/cc:  language optional software package not installed
gnumake[2]: *** [blib/arch/auto/RRDs/RRDs.so] Error 1
gnumake[2]: Leaving directory
`/usr/local/src/rrdtool-1.0.33/perl-shared'
gnumake[1]: *** [perl_shared] Error 2
gnumake[1]: Leaving directory `/usr/local/src/rrdtool-1.0.33'
gnumake: *** [all-recursive] Error 1

so it is still trying to use the solaris cc flags with GCC.  What are
the correct command line parms to get this to compile on solaris when
using GCC?

Thanks.

- Matt

--
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