develooper Front page | perl.perl5.porters | Postings from February 2003

[perl #20879] Help, unable to install 5.8.0 on Solaris 2.7

Thread Previous | Thread Next
Rob Dallas
February 12, 2003 13:14
[perl #20879] Help, unable to install 5.8.0 on Solaris 2.7
Message ID:
# New Ticket Created by  Rob Dallas 
# Please include the string:  [perl #20879]
# in the subject line of all future correspondence about this issue. 
# <URL: >
I apologize in advance if this is the wrong place to post this question.

I am attempting to install Perl 5.8.0 on a Solaris 2.7 machine and 'make'
aborts with the following message:

rm -f opmini.c
gcc -L/usr/local/lib  -o miniperl \
    miniperlmain.o opmini.o libperl.a -lsocket -lnsl -ldl -lm -lc
./miniperl -w -Ilib -MExporter -e '<?>' || make minitest
make: [extra.pods] Error 1 (ignored)
./miniperl -Ilib configpm configpm.tmp
sh mv-if-diff configpm.tmp lib/
./miniperl -Ilib lib/lib_pm.PL
Constant(undef) unknown:  at lib/File/ line 289, at end of line
Compilation failed in require at lib/lib_pm.PL line 2.
BEGIN failed--compilation aborted at lib/lib_pm.PL line 2.
make: *** [lib/] Error 255

Here is 'myconfig' content:

Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
    osname=solaris, osvers=2.7, archname=sun4-solaris
    uname='sunos daryl 5.7 generic_106541-19 sun4u sparc sunw,ultra-4 '
    config_args='-Dprefix=/home/webland/Personal -Dcc=gcc'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
    cc='gcc', ccflags ='-fno-strict-aliasing -I/usr/local/include
    cppflags='-fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='2.95.3 20010315 (release)',
    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',
    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/, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-E'
    cccdlflags='-fPIC', lddlflags=' -Wl,-E -G -L/usr/local/lib'

I have seen the discussion of a patch for and my
appears to be patched, at least in a similar way.
I have also seen the testimonials that says 5.8.0 installs OK on Solaris 2.7.
I have been able to install 5.8.0 with the same tar file on Solaris 2.8
without problem.

Can anyone advise me what is wrong with my system or what I'm doing wrong?

Much Thanks.
Rob Dallas
Canadian Heritage Information Network

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About