On Mon, Jun 11, 2001 at 08:54:15AM -0400, Jim TheVoice wrote: : : I'm have these soft installed : : - gnu make 3.78 : - gnu gcc 2.95 : - tcl.8.3 : - tk8.3 : - perl 5.005_03 built for sun4-solaris : : I'm trying to make rddtool and look what happens: : ============================= : # make : [...] : 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_VERS : ION=\"1.000331\" -KPIC -I/usr/perl5/5.00503/sun4-solaris/CORE -DPERLPATCHLEV : EL=5 RRDs.c : /usr/ucb/cc: language optional software package not installed : make[2]: Leaving directory : `/data/users/jimmy/Sun-Solaris/rrdtool-1.0.33/perl-shared' : make[1]: Leaving directory `/data/users/jimmy/Sun-Solaris/rrdtool-1.0.33' : ====================================== : : What should I do now?
I'm assuming that the perl package that came with Solaris. This version was compiled using Sun's compiler (cc), and so when Perl tries to compile C-based modules, it uses the compiler that it was compiled with (usually with good reason). Try changing the CC line in the Makefile in perl-shared/ to gcc and see what happens. Otherwise, you'll need to buy the Sun C compiler (not cheap) or recompile perl with gcc. * Philip Molter * DataFoundry.net * http://www.datafoundry.net/ * [EMAIL PROTECTED] -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
