Operating System - HP-UX
1834619 Members
3246 Online
110069 Solutions
New Discussion

Re: perl compile on HP-UX 11.0/gcc 3.1?

 
SOLVED
Go to solution
A. Daniel King_1
Super Advisor

perl compile on HP-UX 11.0/gcc 3.1?

Hi, folks ???

I???ve been trying to compile perl 5.6.1 on HP-UX 11.0 using gcc 3.1 (which seems to be otherwise compiling well).

After running the ./Configure script (with many various options), I consistently get:

$make

make: *** No rule to make target `', needed by `miniperlmain.o'. Stop.

Any ideas?
Command-Line Junkie
10 REPLIES 10
Michael Tully
Honored Contributor

Re: perl compile on HP-UX 11.0/gcc 3.1?

Hi,

Instead of trying to compile it, why not get it from the porting centre.

http://hpux.connect.org.uk/hppd/hpux/Languages/perl-5.6.1/

Cheers
~Michael~
Anyone for a Mutiny ?
A. Daniel King_1
Super Advisor

Re: perl compile on HP-UX 11.0/gcc 3.1?

Good point. However, I'm one of those masochistic sorts that enjoys compiling everything himself. I learn so much more about a system and a package when I do this.
Command-Line Junkie
Hartmut Lang
Trusted Contributor

Re: perl compile on HP-UX 11.0/gcc 3.1?

Are you using the GUN version of make? This might help.

Hartmut
H.Merijn Brand (procura
Honored Contributor

Re: perl compile on HP-UX 11.0/gcc 3.1?

a. 5.6.1 does not support gcc-3.1 (by default)

but you are masochist? OK, alter makedepend.SH yourself. Since you're a masochist, you'll see what to do :)

b. 5.8.0 does support gcc-3.1 (by default)

5.8.0 Release Candidate 1 was released last saturday. Available on CPAN

c. There are a *lot* of reasons to build your own perl instead of using the precompiled binaries from the HP porting center.

- HP's version is threaded, which can cause problems with timing
- HP's version is build with an older gcc, and knowing that recent gcc versions (3.0.4 and up) have a huge number of improvements for hp-ux, that will improve reliability and speed
- HP's version is build for hppa-1.1 (only 3.0.4 and up support native 2.0)
- HP's version cannot be used for DBD-Oracle
- ...
Enjoy, Have FUN! H.Merijn
Hartmut Lang
Trusted Contributor

Re: perl compile on HP-UX 11.0/gcc 3.1?

Procura,

what do you mean by "5.6.1 does not support gcc-3.1"?
Is there a feature in gcc-3.1 which causes the building of perl5.6.1 to fail?
Do you know (of course you do ;-) any details? I'm just curious.

Hartmut
H.Merijn Brand (procura
Honored Contributor

Re: perl compile on HP-UX 11.0/gcc 3.1?

gcc has changed a few things in 3.1, so the perl Configuration does not detect (correctly) that this is a gcc-3.1. Hint: try 'gcc --version' on older gcc's and compare that to what 3.1 issues

Also internals have changed, like what A.Daniel noticed with the builtin stuff.

5.8.0-RC1 is the latest development status, in which all these issues are solved/recognized and dealt with. It might be that these changes are backported to 5.6.* after 5.8.0 is realeased. It will then be in 5.6.2. But IMHO 5.8.0 tobe has lots of good reasons to use it (Unicode, threads, safe signals, 64bitness, to mention a few)
Enjoy, Have FUN! H.Merijn
A. Daniel King_1
Super Advisor

Re: perl compile on HP-UX 11.0/gcc 3.1?

- I am using GNU make, GNU bison, flex, GNU binutils, etc.
- I might just take a gander at the makedepend.SH myself, though I am aware there are far greater minds than mine working on perl issues.
- Is there a web page to read about the release plans for perl? I've seen the http://gcc.gnu.org front page which, even if somewhat inaccurate, does provide things like "gcc 3.1 due in late April". I've not seen this type of thing for perl.
- I submitted a bug report to the perl folks, and I got back that there may be a workaround by passing "the option -Dd_attribut to Configure". I've not yet got this to work.

Thanks for the replies.
Command-Line Junkie
H.Merijn Brand (procura
Honored Contributor

Re: perl compile on HP-UX 11.0/gcc 3.1?

Release plan: within a few weeks expect 5.8.0 to hit the streets. RC1 is showing very stable.

If you ever programmed shell scripts, makedepend should be easy as pie. I still won't tell you. Check patch 16449 in ftp://ftp.linux.activestate.com/perl-current-diffs/ to see if you were right :)
Enjoy, Have FUN! H.Merijn
Mark Landin
Valued Contributor

Re: perl compile on HP-UX 11.0/gcc 3.1?

Would someone be so kind as to provide a "better" precompiled-and-depotized version of Perl 5.6.1 on the Porting Center?
H.Merijn Brand (procura
Honored Contributor
Solution

Re: perl compile on HP-UX 11.0/gcc 3.1?

Very unlikely with 5.8.0 comming up in two weeks

I'd be all to happy to make that available in both HPc build and gcc build
Enjoy, Have FUN! H.Merijn