[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dbi-users
Subject:    Re: Make problem Building 64 bit Perl 5.8.8 from source on Solaris 10 with gcc 3.4.6
From:       "Jonathan Leffler" <jonathan.leffler () gmail ! com>
Date:       2008-03-21 17:28:50
Message-ID: 844b8e1c0803211028s373db5b5va06155e25fa69c20 () mail ! gmail ! com
[Download RAW message or body]


On Fri, Mar 21, 2008 at 10:21 AM, Vachon, Frederick P (Fred) A5IT <
Fred.Vachon@cigna.com> wrote:

> Thanks for getting back.  I'm kinda new at this.  I found that I needed
> to add the rt library to libs variable -lrt.  So I did that and rebuild.  So
> I'm almost there.  I get 2 errors on the make test.  Do you need to have
> 100% on make test to install?  Some notes say (probably harmless) ?????
> 

If the stuff you need is working, I'd probably go with the install despite
the failures.  However, if something subsequently goes wrong - especially
with something like getppid() - then you need to remember that there were
some test failures.

For my build, there were 4 failures related to NDBM.  I'm not worried
because I don't normally use that.

 Failed Test Stat Wstat Total Fail Failed List of Failed
> 
> 
> -------------------------------------------------------------------------------
> 
> ../lib/ExtUtils/t/Embed.t 9 9 100.00% 1-9
> 
> op/getppid.t 3 1 33.33% 3
> 
> 79 tests and 198 subtests skipped.
> 
> Failed 2/988 test scripts, 99.80% okay. 10/116518 subtests failed, 99.99%okay.
> 
> 
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------
>  
> HERE IS MORE DETAIL
> 
> ./perl op/getppid.t
> 
> 1..3
> 
> ok 1 # ppid1=19577
> 
> ok 2 # ppid2=20926, ppid1!=ppid2
> 
> not ok 3 # ppid2=1
> 
> 
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------
>  
> ./perl -I../lib ../lib/ExtUtils/t/Embed.t
> 
> 1..9
> 
> Note (probably harmless): No library found for -lsocket
> 
> Note (probably harmless): No library found for -lnsl
> 
> Note (probably harmless): No library found for -ldl
> 
> Note (probably harmless): No library found for -lm
> 
> Note (probably harmless): No library found for -lc
> 
> Note (probably harmless): No library found for -lrt
> 
> # gcc -m64 -o embed_test -I.. -mcpu=v9 -m64 -Wa,-xarch=v9
> -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/in
> 
> Undefined first referenced
> 
> symbol in file
> 
> cos ../libperl.a(pp.o)
> 
> exp ../libperl.a(pp.o)
> 
> log ../libperl.a(pp.o)
> 
> pow ../libperl.a(pp.o)
> 
> sin ../libperl.a(pp.o)
> 
> ceil ../libperl.a(pp.o)
> 
> fmod ../libperl.a(pp.o)
> 
> sqrt ../libperl.a(pp.o)
> 
> atan2 ../libperl.a(pp.o)
> 
> floor ../libperl.a(pp.o)
> 
> ld: fatal: Symbol referencing errors. No output written to embed_test
> 
> collect2: ld returned 1 exit status
> 
> not ok 1
> 
> # embed_test = ./embed_test
> 
> not ok 9 # system returned -1
> 
> 
> [...megasnip...]


-- 
Jonathan Leffler <jonathan.leffler@gmail.com> #include <disclaimer.h>
Guardian of DBD::Informix - v2008.0229 - http://dbi.perl.org
"Blessed are we who can laugh at ourselves, for we shall never cease to be
amused."



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic