[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

Re: [ID 20000118.001] Installatin problem



Satishchandra S . L <satchand@wipsys.soft.net> writes:
>Dear sir,
>
>We have problem while installing perl5.
>After running sh Configure command, when we run make command following
>error is generated.
>
>make: Warning: Both `makefile' and `Makefile' exist
>`sh  cflags libperl.a miniperlmain.o`  miniperlmain.c
>          CCCMD =  /opt/GCC2721/bin/gcc -DPERL_CORE -c  -O
>In file included from perl.h:367,
>                 from miniperlmain.c:11:
>/opt/GCC2721/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.1/include/sys/param.h:185:
>w
>arning: `NBBY' redefined
>/usr/include/sys/select.h:45: warning: this is the location of the
>previous defi
>nition
>In file included from /usr/include/sys/stream.h:26,
>                 from /usr/include/netinet/in.h:38,
>                 from perl.h:523,
>                 from miniperlmain.c:11:
>/usr/include/sys/model.h:32: #error "No DATAMODEL_NATIVE specified"
>*** Error code 1
>make: Fatal error: Command failed for target `miniperlmain.o'
>
>Please let us know what is this "DATAMODEL_NATIVE" and where to make
>these settings.

If this isn't in the INSTALL file by now it should be ;-)

This is a symptom of using an old gcc configured for Solaris2.5
on a more recent version of solaris (e.g. 2.6 or 2.7).
Old gcc made (editied) copies of /usr/include which don't
match the system includes on new solaris.

Either build on a 2.5 machine, or install a new gcc.

-- 
Nick Ing-Simmons <nik@tiuk.ti.com>
Via, but not speaking for: Texas Instruments Ltd.


References to:
"Satishchandra S.L" <sathishchandra.shikari@wipro.com>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]