develooper Front page | perl.perl5.porters | Postings from April 2007

[perl #42589] 5.8.8 Solaris 9 Threads build problem: gcc: lib/auto/DynaLoader/DynaLoader.a: No such file or directory

Thread Next
scott . frost @ verizonwireless . com
April 17, 2007 11:31
[perl #42589] 5.8.8 Solaris 9 Threads build problem: gcc: lib/auto/DynaLoader/DynaLoader.a: No such file or directory
Message ID:
# New Ticket Created by 
# Please include the string:  [perl #42589]
# in the subject line of all future correspondence about this issue. 
# <URL: >

This is a bug report for perl from,
generated with the help of perlbug 1.35 running under perl v5.8.8.

[Please enter your report here]
I'm on a fully patched Solaris 9 server trying to build 5.8.8 with threads.
Here's the compiler errors I'm getting:
make[1]: Leaving directory `/opt/perl-5.8.8/ext/DynaLoader'
gcc -o perl  -L/usr/local/lib   perlmain.o lib/auto/DynaLoader/DynaLoader.a  libperl.a `cat ext.libs` -lsocket -lnsl -ldl -lm -lpthread -lc 
gcc: lib/auto/DynaLoader/DynaLoader.a: No such file or directory
make: *** [perl] Error 1

Here's the info on my gcc:
$ gcc -v
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.4.2

The other part of the build that had some issues is here:
`sh  cflags "optimize='-O'" opmini.o`  -DPERL_EXTERNAL_GLOB opmini.c
          CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O  -Wall
gcc -L/usr/local/lib  -o miniperl \
    miniperlmain.o opmini.o libperl.a -lsocket -lnsl -ldl -lm -lpthread -lc 
./miniperl -w -Ilib -MExporter -e '<?>' || make minitest
make: [extra.pods] Error 1 (ignored)

I'm not sure how critical this error is or not.

Any ideas on how to get perl to build correctly?

[Please do not change anything below this line]
Site configuration information for perl v5.8.8:

Configured by samsaudt at Tue Apr 17 11:43:36 EDT 2007.

Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
    osname=solaris, osvers=2.9, archname=sun4-solaris
    uname='sunos njcwitvp1 5.9 generic_118558-30 sun4u sparc sunw,sun-fire-v440 '
    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
    cc='gcc', ccflags ='-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    cppflags='-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include'
    ccversion='', gccversion='3.4.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/, 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'

Locally applied patches:

@INC for perl v5.8.8:

Environment for perl v5.8.8:
    LANG (unset)
    LANGUAGE (unset)
    LOGDIR (unset)
    PERL_BADLANG (unset)

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