Perl / perl5

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

trouble building perl5.005_3 on Solaris 2.6 #44

Closed p5pRT closed 20 years ago

p5pRT commented 24 years ago

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

Searchable as RT846$

p5pRT commented 24 years ago

From Alan.Hobesh@barclaysglobal.com

Thanks.

Alan Hobesh

PROBLEM​:

asgp@​asg-sf03[116] make make​: Warning​: Both `makefile' and `Makefile' exist ../miniperl configpm tmp Use of uninitialized value at configpm line 403. configpm​: tmp not valid at configpm line 403. *** Error code 255 make​: Fatal error​: Command failed for target `lib/Config.pm'

OUTPUT of ./myconfig

Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration​:   Platform​:   osname=solaris\, osvers=2.6\, archname=sun4-solaris   uname='sunos asg-sf03 5.6 generic_105181-13 sun4u sparc sunw\,ultra-4 '   hint=previous\, useposix=true\, d_sigaction=define   usethreads=undef useperlio=undef d_sfio=undef   Compiler​:   cc='gcc'\, optimize='-O'\, gccversion=2.7.2.3   cppflags='-I/usr/local/include -DDEBUGGING'   ccflags ='-I/usr/local/include -DDEBUGGING'   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='gcc'\, ldflags ='-L/usr/local/lib -L/asgp/asgp/tools-src/lib'   libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib /asgp/asgp/tools-src/lib   libs=-lsocket -lnsl -ldl -lm -lc -lcrypt -lftp   libc=\, so=so\, useshrplib=false\, libperl=libperl.a   Dynamic Linking​:   dlsrc=dl_dlopen.xs\, dlext=so\, d_dlsymun=undef\, ccdlflags=' '   cccdlflags='-fPIC'\, lddlflags='-G -L/usr/local/lib -L/asgp/asgp/tools-src/lib'

OBSERVATIONS​: I just built the same version of perl on another Solaris machine. Here are the differnces between the configs​:

diff alan_config_output.broken alan_config_output.working 3\,5c3\,5 \< osname=solaris\, osvers=2.6\, archname=sun4-solaris \< uname='sunos asg-sf03 5.6 generic_105181-13 sun4u sparc sunw\,ultra-4 ' \< hint=previous\, useposix=true\, d_sigaction=define


osname=solaris\, osvers=2\.5\.1\, archname=sun4\-solaris
uname='sunos cheetah 5\.5\.1 generic\_103640\-26 sun4u sparc sunw\,ultra\-2

' hint=recommended\, useposix=true\, d_sigaction=define 8c8 \< cc='gcc'\, optimize='-O'\, gccversion=2.7.2.3


cc='gcc'\, optimize='\-O'\, gccversion=2\.7\.2

16\,18c16\,18 \< ld='gcc'\, ldflags ='-L/usr/local/lib -L/asgp/asgp/tools-src/lib' \< libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib /asgp/asgp/tools-src/lib \< libs=-lsocket -lnsl -ldl -lm -lc -lcrypt -lftp


ld='gcc'\, ldflags ='\-L/usr/local/lib

-L/ext203/home/hobea/tools-src/lib' libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib /ext203/home/hobea/tools-src/lib libs=-lsocket -lnsl -ldb -ldl -lm -lc -lcrypt -lftp 22c22 \< cccdlflags='-fPIC'\, lddlflags='-G -L/usr/local/lib -L/asgp/asgp/tools-src/lib'


cccdlflags='\-fPIC'\, lddlflags='\-G \-L/usr/local/lib

-L/ext203/home/hobea/tools-src/lib'