PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: compile error in: make perl5.005_03
Date: Feb 19 2001 7:23PM

rene.leeuwen writes:
 > 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?

I don't know the exact problem, but it looks like your header files
(system include files) are incorrect or possibly corrupted. I really
don't know where or how that should be fixed, other than checking that
you have the correct include files for your version of the kernel and
of the OS in general.

Michael
-- 
Michael Peppler - Data Migrations Inc. - mpeppler@peppler.org
http://www.mbay.net/~mpeppler - mpeppler@mbay.net
International Sybase User Group - http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com