Operating System - HP-UX
1834149 Members
3215 Online
110064 Solutions
New Discussion

compiling perl 5.6.x with gcc3.2 under HP/UX 11i

 
Gregg Pulley
New Member

compiling perl 5.6.x with gcc3.2 under HP/UX 11i

Hi;

I'm looking for the configuration needed to get perl 5.6.1 to build with gcc 3.2 on my HP/UX 11.11 workstation.

I've found some links to gcc3.2 prebuilt perl5.8.0+oracle+gdb bits, so it seems someone has figured this out...

thanks in advance...

Gregg Pulley
3 REPLIES 3
Bill Douglass
Esteemed Contributor

Re: compiling perl 5.6.x with gcc3.2 under HP/UX 11i

Of course you can download 5.6.1 from

http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=PERL

and 5.8.0 from

http://hpux.cs.utah.edu/hppd/hpux/Languages/perl-5.8.0/


The source for 5.8.0 is available at
http://hpux.cs.utah.edu/ftp/hpux/Languages/perl-5.8.0/perl-5.8.0-ss-11.00.tar.gz

I didn't see source for 5.6.1 from a cursory look at the usual locations (www.perl.com, www.cpan.org).

Do you need to build your own binary, or can you use one fo the pre-built ones and add any missing modules. Also, is 5.6.1 a requirement, or can you use 5.8.0 (the current release)?
Gregg Pulley
New Member

Re: compiling perl 5.6.x with gcc3.2 under HP/UX 11i

Hi;

thanks for the links. Unfortunately,

a) I do need 5.6.1 due to compatibility issues with our code base.

b) I have 5.6.1 from the porting center, and it seems to work fine *except* that when I try to use it in conjunction with SWIG 1.3.17 (built with gcc 3.2.1) to generate wrappers for gcc3.2 generated C++ code, the
wrappers fail.

The failure looks to me like a name mangling issue between the perl (aCC compiled) and SWIG (gcc 3.2) libs. However, I could be wrong. :-)

nothing is ever easy it would seem. Sigh.


Thanks in advance,

Gregg Pulley
H.Merijn Brand (procura
Honored Contributor

Re: compiling perl 5.6.x with gcc3.2 under HP/UX 11i

Don't have the patch handy right now, but 5.6.1 can build with gcc-3.[123].x with a small change to Makedepend.sh

Use google WITH makedepend.sh+gcc+perl

http://archive.develooper.com/perl5-porters@perl.org/msg84893.html

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn