|
|
sybperl-l Archive
Up Prev Next
From: "rene dot leeuwen" <rene at wxs dot nl>
Subject: compile error in: make perl5.005_03
Date: Feb 18 2001 10:19PM
Dear Michael,
I Tried to rebuilt perl in order to avoid library-problems.
I dowloaded the perl5.005_03 source and ran:
./Configure -ders -Dlibs="-lnsl -ldl -lm -lc -lposix -lcrypt"
make; according to your instructions
and got the following error:
In file included from /usr/include/sys/resource.h:27,
from pp_sys.c:36:
/usr/include/resourcebits.h:103: warning: `RLIM_INFINITY' redefined
/usr/include/asm/resource.h:26: warning: this is the location of the
previous definition
In file included from /usr/include/sys/resource.h:27,
from pp_sys.c:36:
/usr/include/resourcebits.h:102: parse error before `('
make: *** [pp_sys.o] Error 1
and the making stopped.
in /usr/include/resourcebits.h I find :
101 /* Value to indicate that there is no limit. */
102 RLIM_INFINITY = (long int)(~0UL >> 1)
103 #define RLIM_INFINITY RLIM_INFINITY
my OS is RedHat5.2 (with some newer packages) with kernel 2.2.16
the old perl on my system uses the dodgy libs:
perl5.00404 -V:libs
libs='-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt';
Can you please help me, or point me to the right direction?
groeten,
Rene van Leeuwen
|