Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installatin problem #1043

Closed
p5pRT opened this issue Jan 18, 2000 · 3 comments
Closed

Installatin problem #1043

p5pRT opened this issue Jan 18, 2000 · 3 comments

Comments

@p5pRT
Copy link

p5pRT commented Jan 18, 2000

Migrated from rt.perl.org#1994 (status was 'resolved')

Searchable as RT1994$

@p5pRT
Copy link
Author

p5pRT commented Jan 18, 2000

From sathishchandra.shikari@wipro.com

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.

Thanking you,

sathish

@p5pRT
Copy link
Author

p5pRT commented Jan 18, 2000

From @doughera88

On Tue, 18 Jan 2000, Satishchandra S.L wrote​:

[abbreviated error log ]

/opt/GCC2721/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.1/include/sys/param.h​:185​:

/usr/include/sys/model.h​:32​: #error "No DATAMODEL_NATIVE specified"

Sadly, you did not follow the instructions for Reporting Problems in the
INSTALL file so I'll have to guess a bit. I see you are using a version
of gcc2.7.2.1 built for Solaris 2.5. I'll guess you have updated the
operating system but neglected to update your gcc installation to match.
The result is the gcc header files are now out of date and don't work.
You need to update your gcc installation.

Hope this helps,

  Andy Dougherty doughera@​lafayette.edu
  Dept. of Physics
  Lafayette College, Easton PA 18042

@p5pRT
Copy link
Author

p5pRT commented Jan 18, 2000

From [Unknown Contact. See original ticket]

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant