develooper Front page | perl.perl5.porters | Postings from March 2000

[ID 20000306.006] Installation problem

Thread Next
From:
Bill Marsland
Date:
March 6, 2000 17:34
Subject:
[ID 20000306.006] Installation problem
Message ID:
3.0.5.32.20000306203305.00d1f240@pop.erols.com
I am trying to install perl5.005_03 on an Amdahl platform running the
Amdahl UTS Version 4.3.3 operating system.

I have been running the Sh Configure manually down to the place where I can
enter "uts" and then take the default options thereafter.  During the
Configure phase I get a warning when the try.c is run and I get another
warning msg that LFT_MAX has been redefined, neither of which seems like it
should cause me any problems.  In what follows my OCR conversion has some
errors but I think you will be able to see the kinds of errors I am getting.

When I run the "make", I get the following results:

Script started on Mon Mar 6 20:26:34 2000
make
sh cflags libperl.so.503 miniperlmain.o' -KPIC miniperlmain.c
CCCMD = cc -DPERL-CORE -c -DCRIPPLED-CC -0

"sv.h", line 35: warning: Structure/union redeclaration
35	struct sv {

A

"sv.h", line 35: warning: Redefinition of symbol: sv miniperlmain.c ... 2
Warnings.
Ash cflags libperl.so.503 perl.ol -KPIC perl.c
CCCMD = cc -DPERL-CORE -c -DCRIPPLED-CC -0

"sv.hll, line 35: warning: Structure/union redeclaration
35	struct sv {

A

"sv.hll, line 35: warning: Redefinition of symbol: sv
"Perl.cll, line 151: (in macro) Invalid structure member: sv-flags
151               if (!SvREADONLY(&PL-sv-undef))
A(in macro)
"perl.c", line 155: (in macro) Invalid structure member: sv-flags
	155		SVREADONLY - on(&PL-sv-undef);
		A	(in macro)
	"perl.cll, line 155:		(in macro) Illegal left hand	side of assignment:
SVF-READONLY
	"perl.c", line 156:		(in macro) Invalid structure	member: sv refcnt

156                    SvREFCNT(&PL-sv-undef) = (-(U32)0)/2;
^(in macro)
"perl.c", line 156: Illegal left hand side of assignment: U32
"perl.c", line 160: (in macro) Invalid structure member: sv-flags
160	SVREADONLY - on(&PL-sv-no);
^(in macro)
"perl.cll, line 160:	(in macro) Illegal left hand side of assignment:
SVF-READONLY
"perl.cll, line 161:	(in macro) Invalid structure member: sv-refcnt
161	SVREFCNT(&PL sv no) = (-(U32)0)/2;
A (in macro)
"perl.c", line 161:    Illegal left hand side of assignment: U32
Ilp!erl.c", line 165: (in macro) Invalid structure member: sv-flags
165                    SVREADONLY - on(&PL-sv_yes);
A(in macro)
"perl.c", line 165: (in macro) Illegal left hand side of assignment:
SVF-READONLY
"perl.c", line 166: (in macro) Invalid structure member: sv-refcnt
166                    SvREFCNT(&PL-sv-yes) = (-(U32)0)/2;
                      A (in macro)
Maximum number of fatal errors (12) exceeded.
*** Error code 2 (bu2l)

make: fatal error.
# exit
script done on Mon Mar 6 20:26:45 2000

I was able to narrow that down to the include statement for netinet/in.h in
the perl.h file.  When I comment out that INET include statement and run
the "make" again, I get the following error:

'sh cflags libperl.so.503 perl.o' -KPIC perl.c
CCCMD = cc -DPERL CORE -c -DCRIPPLED-CC -0
Regions: perl@arse divided into 3 regions.
'sh cflags libperl.so.503 malloc.o' -KPIC malloc.c
CCCMD = cc -DPERL CORE -c -DCRIPPLED CC -0
sh cflags libperl.so.503 gv.o' -KPIC gv.c
CCCMD = cc -DPERL CORE -c -DCRIPPLED CC -0
Regions:	Perl gv fetehpv divided into 2 regions.
Regions:	Perl-amagic_call divided into 2 regions.
'sh cflags libperl.so.503 toke.o' -KPIC toke.c CCCMD = cc -DPERL - CORE -c
-DCRIPPLED-CC -0
as:	/tmp/ptmlO944.ph: 17788: Invalid constant in expression context ***
Error code 9 (bu2l)

make: fatal error.
# exit
script done on Mon Mar 6 20:35:12 2000

Thus it appears that the redeclaration is coming from the in.h file.
When I run myconfig, I get the following:

Script started on Mon Mar 6 21:04:16 2000 # ./myconfig
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
Platform:
osname=svr4, osvers=, archname=Millennium-svr4 uname='hostname hostname
svr4 4.3.3 700 millennium hint=recommended, useposix=true, d
sigaction=define usethreads=undef useperlio=undef d-sfio=undef Compiler:
cc='cc', optimize='-O', gccversion= cppflags='-DCRIPPLED CC' ccflags
='-DCRIPPLED CC' stdchar='unsigned char', d stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8 d_longlong=define,
longlongsize=8, d - longdbl=define, longdblsize=16 alignbytes=8,
usemymalloc=y, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/ccs/lib -L/usr/ucblib' libpth=/shlib /lib
/usr/lib /usr/ccs/lib /U3r/ucblib libs=-lsocket -lnsl -ldbm -ldl -lld -lm
-lc -lcrypt -lucb -lPW -lx libc=/shlib/libc.so.1, so=so, useshrplib=true,
libperl=libperl.so.503 Dynamic Linking:
dlsrc=dl - dlopen.xs, dlext=so, d dlsymun=undef, ccdlflags='
cccdlflags='-KPIC', lddlflags='@G -L/usr/ccs/lib -L/usr/ucblib'

exit

script done on Mon Mar 6 21:04:39 2000

I suspect that perhaps Amdahl has not updated some of the include files to
current definitions which is leading to my errors but I do not know what I
should try to modify.  

I would appreciate any explanation you can provide for the errors I am
getting and any suggestions you can make on what to try.

Thanks for your help.

Bill Marsland 
 

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About