FAQ
# New Ticket Created by "Jonathan E. Halter"
# Please include the string: [perl #21488]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=21488 >


Here is the error I get when trying to build perl 5.8.0 on Solaris 9:


Making DynaLoader (static)
Writing Makefile for DynaLoader
gmake[1]: Entering directory
`/afs/uncc.edu/coe/unix/opt/gnu/perl58/src/perl-5.8.0/ext/DynaLoader'
gmake[1]: Leaving directory
`/afs/uncc.edu/coe/unix/opt/gnu/perl58/src/perl-5.8.0/ext/DynaLoader'
gmake[1]: Entering directory
`/afs/uncc.edu/coe/unix/opt/gnu/perl58/src/perl-5.8.0/ext/DynaLoader'
/usr/bin/perl "-I../../lib" "-I../../lib" "-I../../lib" "-I../../lib"
DynaLoader_pm.PL DynaLoader.pm
Perl lib version (v5.8.0) doesn't match executable version (v5.6.1) at
../../lib/Config.pm line 21.
Compilation failed in require at DynaLoader_pm.PL line 1.
BEGIN failed--compilation aborted at DynaLoader_pm.PL line 1.
gmake[1]: *** [DynaLoader.pm] Error 255
gmake[1]: Leaving directory
`/afs/uncc.edu/coe/unix/opt/gnu/perl58/src/perl-5.8.0/ext/DynaLoader'
gmake: *** [lib/auto/DynaLoader/DynaLoader.a] Error 2


perl 5.6.1 came packaged with Solaris 9, and lives in /usr/bin. If I remove
perl 5.6.1 from the path, I then get the following error:


Making DynaLoader (static)
Unable to find a perl 5 (by these names: ../../miniperl miniperl perl perl5
perl5.8.0, in these dirs: ../.. /usr/bin /usr/sbin /usr/ccs/bin
/usr/afsws/bin /usr/dt/bin /usr/openwin/bin /usr/local/bin /usr/local/sbin
/usr/local/krb5/bin /apps/coe/bin /apps/coe-old/bin /apps/cas/bin
/apps/coit/bin /afs/uncc/coe/userdb/tools/bin /usr/afsws/etc
/afs/uncc.edu/coe/unix/opt/gnu/perl58/bin)
sh: 0: not found
Running '0 "-I../../lib" ../../lib/ExtUtils/xsubpp -v 2>&1' exits with
status 1 at ../../lib/ExtUtils/MM_Unix.pm line 3826.
Running '0 ../../lib/ExtUtils/xsubpp temp000 2>&1' exits with status
16777215 at ../../lib/ExtUtils/MM_Unix.pm line 3852.
Writing Makefile for DynaLoader
gmake[1]: Entering directory
`/afs/uncc.edu/coe/unix/opt/gnu/perl58/src/perl-5.8.0/ext/DynaLoader'
/bin/sh: 0: not found
gmake[1]: *** [../../lib/.exists] Error 1
gmake[1]: Leaving directory
`/afs/uncc.edu/coe/unix/opt/gnu/perl58/src/perl-5.8.0/ext/DynaLoader'
gmake config failed, continuing anyway...
gmake[1]: Entering directory
`/afs/uncc.edu/coe/unix/opt/gnu/perl58/src/perl-5.8.0/ext/DynaLoader'
/bin/sh: 0: not found
gmake[1]: *** [../../lib/.exists] Error 1
gmake[1]: Leaving directory
`/afs/uncc.edu/coe/unix/opt/gnu/perl58/src/perl-5.8.0/ext/DynaLoader'
gmake: *** [lib/auto/DynaLoader/DynaLoader.a] Error 2


Here is the output to myconfig:

Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=solaris, osvers=2.9, archname=sun4-solaris
uname='sunos ws50 5.9 generic_112233-03 sun4u sparc sunw,sun-blade-100 '
config_args='-ds -e -Dprefix=/afs/uncc.edu/coe/unix/opt/gnu/perl58
-Dcc=gcc -Dcc=gcc'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
optimize='-O',
cppflags='-fno-strict-aliasing'
ccversion='', gccversion='3.2.2', gccosandvers='solaris2.9'
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib '
libpth=/usr/local/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -lc
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'


Any help would be much appreciated.

Thanks,
-jonathan

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupperl5-porters @
categoriesperl
postedMar 7, '03 at 2:58p
activeMar 7, '03 at 2:58p
posts1
users1
websiteperl.org

1 user in discussion

Jonathan E. Halter: 1 post

People

Translate

site design / logo © 2021 Grokbase