[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
Re: [ID 20000110.001] 'make' problem in perl-5.005.03
Rajeshwar Naik <raj@sandi.stph.net> writes:
>Hi,
>
>I've tried to download and install perl-5.005.03 software 
>available at http://www.gnu.org.
>I am able to run the Configure script without any problems,
>but when I execute the make command, I get parse errors all
>over the place like :
>
>`sh  cflags libperl.a miniperlmain.o`  miniperlmain.c
>          CCCMD =  gcc -DPERL_CORE -c  -O   
>In file included from perl.h:367,
>                 from miniperlmain.c:11:
>/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.2/include/sys/param.h:187:
>warning: `NBBY' redefined
>/usr/include/sys/select.h:56: warning: this is the location of the
>previous definition
>In file included from
>/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.2/include/time.h:90,
>                 from /usr/include/sys/time.h:405,
>                 from /usr/include/sys/select.h:17,
>                 from
>/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.2/include/sys/types.h:281,
>                 from perl.h:307,
>                 from miniperlmain.c:11:
This usually indicates you are using a gcc built for a different OS 
release than the one you are running.
Prior to gcc-2.8.* gcc took copies of nearly all the system include 
files - in your case for solaris-2.5.1.
You are now running solaris 2.7 and the "saved" files conflict 
with the new system include files. 
You need to re-run gcc's fixincludes, or upgrade your gcc, or find 
a solaris-2.5.1 machine to do the perl build.
(I happen to "know" that gcc-2.8.1 built for Solaris-2.5.1 _will_ 
build perl on Solaris2.7 - 'cos that is what I am using - but I would
still recomend using a gcc built for the actual OS.)
>The output of ./myconfig script is as follows:
>
>Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
>  Platform:
>    osname=solaris, osvers=2.7, archname=sun4-solaris
-- 
Nick Ing-Simmons <nik@tiuk.ti.com>
Via, but not speaking for: Texas Instruments Ltd.
- References to:
 - 
Rajeshwar Naik <raj@sandi.stph.net>
 
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]