Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.86k stars 528 forks source link

Not OK: perl v5.5.660 on HP-UX 10.20 w/gcc 2.95.2 #1234

Closed p5pRT closed 20 years ago

p5pRT commented 24 years ago

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

Searchable as RT2220$

p5pRT commented 24 years ago

From d-lewart@uiuc.edu

Perlbug\,

Unfortunately\, Perl betas are becoming increasingly broken on HP-UX 10.20 w/ gcc 2.95.2. Two things of note​: 1) There is no libnsl\, but there are​:   -r-xr-xr-x 1 bin bin 98304 Jun 10 1996 /usr/lib/libnsl_s.1   -r--r--r-- 1 bin bin 116504 Jun 10 1996 /usr/lib/libnsl_s.a   lrwxr-xr-x 1 root sys 19 Jun 10 1996 /usr/lib/libnsl_s.sl ->   /usr/lib/libnsl_s.1 2) There is no /lib/pa20_64

Cheers\, Daniel Lewart d-lewart@​uiuc.edu


$ ./Configure -des -Dcc=gcc -Doptimize='-g' (I see you are using the Korn shell. Some ksh's blow up on Configure\, mainly on older exotic systems. If yours does\, try the Bourne shell instead.) Sources for perl5 found in "/ext/src/perl5.5.660". First let's make sure your kit is complete. Checking... Locating common programs... Checking compatibility between /usr/bin/echo and builtin echo (if any)... Symbolic links are supported. Good\, your tr supports [​:lower​:] and [​:upper​:] to convert case. Using [​:upper​:] and [​:lower​:] to convert case. 3b1 dynixptx isc_2 opus sunos_4_1
aix epix linux os2 svr4
altos486 esix4 lynxos os390 svr5
amigaos fps machten posix-bc ti1500
apollo freebsd machten_2 powerux titanos
aux_3 genix mint qnx ultrix_4
beos gnu mips rhapsody umips
bsdos greenhills mpc sco unicos
convexos hpux mpeix sco_2_3_0 unicosmk
cxux i386 ncr_tower sco_2_3_1 unisysdynix
cygwin irix_4 netbsd sco_2_3_2 utekv
dcosx irix_5 newsos4 sco_2_3_3 uts
dec_osf irix_6 next_3 sco_2_3_4 uwin
dgux irix_6_0 next_3_0 solaris_2 vmesa
dos_djgpp irix_6_1 next_4 stellar
dynix isc openbsd sunos_4_0
Which of these apply\, if any? [hpux]
Operating system name? [hpux]
Operating system version? [10.20]
Build a threading Perl? [n]
Build Perl for multiplicity? [n]
System manual is in /usr/man/man1. Which memory models are supported? [none]
Use which C compiler? [gcc]
Checking for GNU cc in disguise and/or its version number... Now\, how can we feed standard input to your C preprocessor... Directories to use for library searches? [/usr/local/lib /lib/pa1.1 /lib /usr/lib /usr/ccs/lib]
What is the file extension used for shared libraries? [sl]
Build Perl for SOCKS? [n]
Checking for optional libraries... What libraries to use? [-lnsl -lndbm -lgdbm -ldb -lmalloc -ldld -lm -lc -lndir -lcrypt -lsec]
What optimizer/debugger flag should be used? [-g]
Any additional cc flags? [-D_HPUX_SOURCE -L/lib/pa20_64 -DUINT32_MAX_BROKEN -DDEBUGGING -fno-strict-aliasing -I/usr/local/include]
Let me guess what the preprocessor flags are... Any additional ld flags (NOT including libraries)? [ -L/usr/local/lib -L/lib/pa1.1]
Checking your choice of C compiler and flags for coherency... I've tried to compile and run the following simple program​:

#include \<stdio.h> int main() { printf("Ok\n"); exit(0); }

I used the command​:

  gcc -g -D_HPUX_SOURCE -L/lib/pa20_64 -DUINT32_MAX_BROKEN -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -o try -L/usr/local/lib -L/lib/pa1.1 try.c -lnsl -lndbm -lgdbm -ldb -lmalloc -ldld -lm -lc -lndir -lcrypt -lsec   ./try

and I got the following output​:

/usr/ccs/bin/ld​: Can't find library for -lnsl collect2​: ld returned 1 exit status I can't compile the test program. You have a BIG problem. Shall I abort Configure [y]
Ok. Stopping Configure.


p5pRT commented 24 years ago

From @jhi

Daniel S . Lewart writes​:

Perlbug\,

Unfortunately\, Perl betas are becoming increasingly broken on HP-UX 10.20 w/ gcc 2.95.2. Two things of note​: 1) There is no libnsl\, but there are​: -r-xr-xr-x 1 bin bin 98304 Jun 10 1996 /usr/lib/libnsl_s.1 -r--r--r-- 1 bin bin 116504 Jun 10 1996 /usr/lib/libnsl_s.a lrwxr-xr-x 1 root sys 19 Jun 10 1996 /usr/lib/libnsl_s.sl -> /usr/lib/libnsl_s.1

Argh. Sorry about that. My typo.

2) There is no /lib/pa20_64

Therefore that in -L doesn't do any harm....okay\, taking it away.

Cheers\, Daniel Lewart d-lewart@​uiuc.edu ------------------------------------------------------------------------------- $ ./Configure -des -Dcc=gcc -Doptimize='-g' (I see you are using the Korn shell. Some ksh's blow up on Configure\, mainly on older exotic systems. If yours does\, try the Bourne shell instead.) Sources for perl5 found in "/ext/src/perl5.5.660". First let's make sure your kit is complete. Checking... Locating common programs... Checking compatibility between /usr/bin/echo and builtin echo (if any)... Symbolic links are supported. Good\, your tr supports [​:lower​:] and [​:upper​:] to convert case. Using [​:upper​:] and [​:lower​:] to convert case. 3b1 dynixptx isc_2 opus sunos_4_1
aix epix linux os2 svr4
altos486 esix4 lynxos os390 svr5
amigaos fps machten posix-bc ti1500
apollo freebsd machten_2 powerux titanos
aux_3 genix mint qnx ultrix_4
beos gnu mips rhapsody umips
bsdos greenhills mpc sco unicos
convexos hpux mpeix sco_2_3_0 unicosmk
cxux i386 ncr_tower sco_2_3_1 unisysdynix
cygwin irix_4 netbsd sco_2_3_2 utekv
dcosx irix_5 newsos4 sco_2_3_3 uts
dec_osf irix_6 next_3 sco_2_3_4 uwin
dgux irix_6_0 next_3_0 solaris_2 vmesa
dos_djgpp irix_6_1 next_4 stellar
dynix isc openbsd sunos_4_0
Which of these apply\, if any? [hpux]
Operating system name? [hpux]
Operating system version? [10.20]
Build a threading Perl? [n]
Build Perl for multiplicity? [n]
System manual is in /usr/man/man1. Which memory models are supported? [none]
Use which C compiler? [gcc]
Checking for GNU cc in disguise and/or its version number... Now\, how can we feed standard input to your C preprocessor... Directories to use for library searches? [/usr/local/lib /lib/pa1.1 /lib /usr/lib /usr/ccs/lib]
What is the file extension used for shared libraries? [sl]
Build Perl for SOCKS? [n]
Checking for optional libraries... What libraries to use? [-lnsl -lndbm -lgdbm -ldb -lmalloc -ldld -lm -lc -lndir -lcrypt -lsec]
What optimizer/debugger flag should be used? [-g]
Any additional cc flags? [-D_HPUX_SOURCE -L/lib/pa20_64 -DUINT32_MAX_BROKEN -DDEBUGGING -fno-strict-aliasing -I/usr/local/include]
Let me guess what the preprocessor flags are... Any additional ld flags (NOT including libraries)? [ -L/usr/local/lib -L/lib/pa1.1]
Checking your choice of C compiler and flags for coherency... I've tried to compile and run the following simple program​:

#include \<stdio.h> int main() { printf("Ok\n"); exit(0); }

I used the command​:

gcc \-g \-D\_HPUX\_SOURCE \-L/lib/pa20\_64 \-DUINT32\_MAX\_BROKEN \-DDEBUGGING \-fno\-strict\-aliasing \-I/usr/local/include \-o try \-L/usr/local/lib \-L/lib/pa1\.1 try\.c \-lnsl \-lndbm \-lgdbm \-ldb \-lmalloc \-ldld \-lm \-lc \-lndir \-lcrypt \-lsec
\./try

and I got the following output​:

/usr/ccs/bin/ld​: Can't find library for -lnsl collect2​: ld returned 1 exit status I can't compile the test program. You have a BIG problem. Shall I abort Configure [y]
Ok. Stopping Configure. -------------------------------------------------------------------------------

-- $jhi++; # http​://www.iki.fi/jhi/   # There is this special biologist word we use for 'stable'.   # It is 'dead'. -- Jack Cohen