[rrd-users] Re: perl 5.6 problem

Tobias Oetiker oetiker at ee.ethz.ch
Mon Jul 17 15:37:29 MEST 2000


Tomorrow you sent me mail regarding [rrd-users] perl 5.6 problem:

*> 
*> Hi,
*> I got problem trying to compile perl-shared on HP-UX 10.20 with perl
*> 5.6:
*> 
*>         /opt/perl5/bin/perl -I/opt/perl5/lib/5.6.0/PA-RISC1.1
*> -I/opt/perl5/lib/5.6.0 /opt/perl5/lib/5.6.0/ExtUtils/xsubpp  -typemap
*> /opt/perl5/lib/5.6.0/ExtUtils/typemap RRDs.xs > RRDs.xsc && mv RRDs.xsc
*> RRDs.c
*>         cc -c -I../src -I../gd1.3 -Ae -D_LARGEFILE_SOURCE
*> -D_FILE_OFFSET_BITS=64 -O +Onolimit      -DVERSION=\"1.000251\" 
*> -DXS_VERSION=\"1.000251\" +z -I/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE
*> -DPERLPATCHLEVEL=6 RRDs.c
*> (Bundled) cc: warning 480: The -A option is available only with the
*> C/ANSI C product; ignored.
*> (Bundled) cc: warning 480: The -O option is available only with the
*> C/ANSI C product; ignored.
[...]

*> Any Idea?
*> I compile rrdtool using gcc, but perl install is from an HP depot and
*> use cc.
*> note that perl-pipe had no problem..

the problem is that we try to use the same compiler to compile the
perl module as the compiler used to compile perl itself ...
it seems that you do not have a proper cc available on your box ... 

try going into perl-shared and type

make CC=gcc OPTIMIZE="-O"

gruss
tobi


*> 
*> freD.
*> 
*> --
*> 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
*> 
*> 

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
 / // _ \/ _ \/ / TEL: +41(0)1-6325286  FAX:...1517  ICQ: 10419518 
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://ee-staff.ethz.ch/~oetiker


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