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

Re: [perl #41740] Problem building Perl 5.8.8 with gcc on HP-UX10.20

Thread Previous
From:
H.Merijn Brand
Date:
March 19, 2007 18:04
Subject:
Re: [perl #41740] Problem building Perl 5.8.8 with gcc on HP-UX10.20
Message ID:
20070320020334.69f6cf6b@pc09
On Mon, 19 Mar 2007 13:59:15 -0700 (PDT), Don Le <le.don@sbcglobal.net> wrote:

> Thank you for replying back to me.  I had tried all the pre-built binaries
> for HP-UX 10.20 from the websites you mentioned and they all gave me this
> error message:
>    
>   /usr/lib/dld.sl: Can't open shared library: /usr/lib/libpthread.sl
> /usr/lib/dld.sl: No such file or directory
> Abort(coredump)

That is because perl is linked to libpthread to make Oracle happy once
you want to use perl/DBI with Oracle.

In the same section there, you could also see:

http://mirrors.develooper.com/hpux/downloads.html#hpux1020
--8<---
∇	Software Depots
→	OpenSSL 0.9.7j, 0.9.7d 
→	OpenSSH 4.3p2, 4.0p1 
→	pth 2.0.6 (POSIX threads)
→	di (disk information) 4.5, 4.1 
∇	Software Depots - from HP archive
→	pth 1.4.1 (POSIX threads)
-->8---

Choose the one you like best. pth-2.0.6, probably the one I used
to build perl, or the original pth-1.4.1

http://mirrors.develooper.com/hpux/pth-2.0.6-10.20.sd.bz
http://mirrors.develooper.com/hpux/pth-1.4.1-10.20.sd.bz

>   I am not sure what that is.  My HP-UX version is B.10.20 U 9000/785.
>    
>   Any advice from you will be greatly appreciated.
>    
>   Regards,
>    
>   Don
>   
> "H. Merijn Brand via RT" <perlbug-followup@perl.org> wrote:
>   On Wed Mar 07 20:05:26 2007, le.don@sbcglobal.net wrote:
> > Can someone PLEASE help? I am building Perl 5.8.8 with gcc for HP-UX
> > 10.20. I ran the Configure script and it seemed to be fine. But when
> > I ran make, I got this error:
> > 
> > `sh cflags "optimize='-O0'" gv.o` gv.c
> > CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -pipe
> > -Wdeclaration-after statement -D_LARGEFILE_SOURCE -O0 -Wall
> > gv.c: In function `Perl_amagic_call':
> > gv.c:1794: error: `copy' undeclared (first use in this function)
> > gv.c:1794: error: (Each undeclared identifier is reported only once
> > gv.c:1794: error: for each function it appears in.)
> > gv.c:1794: error: parse error before "_amg"
> > *** Error exit code 1
> > Stop.
> > 
> > I used gcc 3.4.3 and gcc 4.0, and they both failed with the same
> > message.
> 
> As I build the maint branch (5.8.x) on a daily basis with both HP C-
> ANSI-C and GNU gcc 3.4.6 on HP-UX 10.20 and I do not see these 
> problems, it is very hard to tell from this report where your problem 
> finds its cause.
> 
> Are there any specific reasons for you to build perl from source, 
> instead of using my prebuilt binaries?
> 
> Have a look at http://mirrors.develooper.com/hpux/#Perl and http://
> mirrors.develooper.com/hpux/downloads.html#hpux1020 to see if your wish 
> is available there.
> 
> Enjoy, Have FUN! H.Merijn
> 
> 
> 


-- 
H.Merijn Brand         Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using & porting perl 5.6.2, 5.8.x, 5.9.x   on HP-UX 10.20, 11.00, 11.11,
& 11.23, SuSE 10.0 & 10.2, AIX 4.3 & 5.2, and Cygwin. http://qa.perl.org
http://mirrors.develooper.com/hpux/            http://www.test-smoke.org
                        http://www.goldmark.org/jeff/stupid-disclaimers/

Thread Previous


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