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
From:
scott . frost @ verizonwireless . com
Date:
April 17, 2007 11:31
Subject:
[perl #42589] 5.8.8 Solaris 9 Threads build problem: gcc: lib/auto/DynaLoader/DynaLoader.a: No such file or directory
Message ID:
rt-3.6.HEAD-1687-1176832768-1732.42589-75-0@perl.org
# New Ticket Created by  scott.frost@verizonwireless.com 
# Please include the string:  [perl #42589]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=42589 >



This is a bug report for perl from scott.frost@verizonwireless.com,
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]
-----------------------------------------------------------------
---
Flags:
    category=core
    severity=high
---
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:
  Platform:
    osname=solaris, osvers=2.9, archname=sun4-solaris
    uname='sunos njcwitvp1 5.9 generic_118558-30 sun4u sparc sunw,sun-fire-v440 '
    config_args='-de'
    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 -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O',
    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/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'

Locally applied patches:
    

---
@INC for perl v5.8.8:
    /usr/local/lib/perl5/5.8.8/sun4-solaris
    /usr/local/lib/perl5/5.8.8
    /usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris
    /usr/local/lib/perl5/site_perl/5.8.8
    /usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris
    /usr/local/lib/perl5/site_perl/5.8.7
    /usr/local/lib/perl5/site_perl
    .

---
Environment for perl v5.8.8:
    HOME=/
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH=/usr/apps/oracle/product/10.1.0/lib32:
    LOGDIR (unset)
    PATH=/usr/local/bin:/opt/vzwsec/bin:/usr/sbin:/usr/bin:/opt/VRTS/bin:/usr/apps/oracle/product/10.1.0/bin
    PERL_BADLANG (unset)
    SHELL=/usr/bin/ksh


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About