[rrd-users] Re: perl 5.6 problem

Frédéric Defferrard frederic.defferrard at alcatel.fr
Tue Jul 18 22:28:50 MEST 2000


done
with much less error..

# cd perl-shared
# make CC=gcc OPTIMIZE="-O"
        gcc -c -I../src -I../gd1.3 -Ae -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O      -DVERSION=\"1.000251\" 
-DXS_VERSION=\"1.000251\" +z -I/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE
-DPERLPATCHLEVEL=6 RRDs.c
gcc: +z: No such file or directory
*Initialization*:1: missing token-sequence in `#assert'
In file included from
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/include/sys/types.h:11,
                 from /opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/perl.h:424,
                 from RRDs.xs:6:
/usr/include/sys/stdsyms.h:244: #error "Large Files (ILP32) not
supported in strict ANSI mode."
*** Error exit code 1

Stop.


Tobias Oetiker wrote:
> 
> 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

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