Configuring Perl-5.8.9 on HP PA-RISC (1294 Views)
Reply
Advisor
Posts: 12
Registered: ‎06-01-2009
Message 1 of 26 (1,294 Views)
Accepted Solution

Configuring Perl-5.8.9 on HP PA-RISC

[ Edited ]

HI,
I'm trying to ./configure perl in an HP PA-RISC but I get this error:

Finding dependencies for pp_sort.o.
Finding dependencies for miniperlmain.o.
Finding dependencies for perlmain.o.
Finding dependencies for opmini.o.
./makedepend[159]: makefile: Cannot find or open the file.
echo Makefile.SH cflags.SH config_h.SH makeaperl.SH makedepend.SH makedir.SH myconfig.SH writemain.SH pod/Makefile.SH | tr ' ' '\n' >.shlist
Updating makefile...
cp: cannot access makefile: No such file or directory
test -s perlmain.c && touch perlmain.c
cd x2p; make depend
sh ../makedepend MAKE=make
../makedepend: Already running, exiting.
Now you must run 'make'

I'm using this command line:
./Configure -d -Dprefix='/home/install/RISCperl' -Dcc=gcc

Could any one please help me resolving this issue?
Best regards

 

 

P.S. This thread has been moved from HP-UX > General to HP-UX > languages - HP Forums Moderator

Exalted Contributor
Posts: 33,806
Registered: ‎08-15-2002
Message 2 of 26 (1,295 Views)

Re: Configuring Perl-5.8.9 on HP PA-RISC

Shalom,

Search for some of the files indicated with a find command

Then insure PATH and SHLIB_PATH includes those locations prior to running the configure script.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Honored Contributor
Posts: 959
Registered: ‎12-20-1999
Message 3 of 26 (1,295 Views)

Re: Configuring Perl-5.8.9 on HP PA-RISC

you are very couragous to try to compile perl yourself. a better, easier and comforting (for mind and body) option would be to just get a depot from one of these places;

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

or

http://mirrors.develooper.com/hpux/
Advisor
Posts: 12
Registered: ‎06-01-2009
Message 4 of 26 (1,295 Views)

Re: Configuring Perl-5.8.9 on HP PA-RISC

HI,

I'm really astonished about the speed of the reply and really happy to feel there are expert arround me :)

Steven E. Protter>> The missing file is makefile and I think it's generated automatically from the configure script and is modified during that process. The problem is raised when executing a loop iteration in the makedepend file in this line
$sed <$mf >$mf.new -e '1,/^# AUTOMATICALLY/!d'
Where $mf is makefile.
Dirk Dierickx >> Thanks very much for the links you gave me they are very useful although I can't find the perl version 5.8.x which I need that's why I should compile. I compiled in a PROLIENT and I had no problem and I don't understand why it's not the same. I'll try also to compile in an itanium and see whether I'll have the same problem or not.
Thanks very much for your help and best regards
Regular Advisor
Posts: 134
Registered: ‎02-02-1997
Message 5 of 26 (1,295 Views)

Re: Configuring Perl-5.8.9 on HP PA-RISC

You can find Perl 5.8.9 directly from http://software.hp.com

http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=PERL

version 5.8.9 is available here on HP-UX 11i v1, v2 and v3 (PA-RISC).

Enrico
Advisor
Posts: 12
Registered: ‎06-01-2009
Message 6 of 26 (1,295 Views)

Re: Configuring Perl-5.8.9 on HP PA-RISC

Hi,
Thanks a lot :)
Honored Contributor
Posts: 6,191
Registered: ‎10-13-1997
Message 7 of 26 (1,295 Views)

Re: Configuring Perl-5.8.9 on HP PA-RISC

As a side question, what PA-RISC are you building for?

HP-UX 10.20, 11.00, 11.11, or 11.23?
Not that you will need a matching 32bit or 64bit perl if you want to bind to 32bit or 64bit Oracle.

There /must/ be a reason you wanted to build perl from the sources, so what is it?

Enjoy, Have FUN! H.Merijn [ maintainer of http://mirrors.develooper.com/hpux/ ]
Enjoy, Have FUN! H.Merijn
Advisor
Posts: 12
Registered: ‎06-01-2009
Message 8 of 26 (1,295 Views)

Re: Configuring Perl-5.8.9 on HP PA-RISC

Hi,

HP UX B.11.31

I just did that because I don't know were and how to find the right build for each architecture I use so I prefer building but it was not as easy as in Proliant for example and now I'm having a lot of problem to estabilish the compilation envirement in an itanium.

Thanks for your interest.
Advisor
Posts: 12
Registered: ‎06-01-2009
Message 9 of 26 (1,295 Views)

Re: Configuring Perl-5.8.9 on HP PA-RISC

Hi,

I downloaded this depot
perl_D.5.8.9.A.BETA1_HP-UX_B.11.23_IA_PA.depot

but unfortunatly it was not supported by my system version which is 11.31.

In the link https://h20392.www2.hp.com/portal/swdepot/try.do?productNumber=PERL it doesn't seem to give hand to choose the system version. Is there any perl depot for this version please?
Honored Contributor
Posts: 6,191
Registered: ‎10-13-1997
Message 10 of 26 (1,295 Views)

Re: Configuring Perl-5.8.9 on HP PA-RISC

You have conflicting statements

--8<---
HP UX B.11.31

I just did that because I don't know were and how to find the right build for each architecture I use so I prefer building but it was not as easy as in Proliant for example and now I'm having a lot of problem to estabilish the compilation envirement in an itanium.
-->8---

Itanium is not PA-Risc. PA-RISC object will run under emulation mode on Itanium, but if your target system is an Itanium (IA64), then you should get an Itanium buid, not a PA-RISC build

If you have 11.31 on PA-RISC (I didn't know that was supported), you could try to install a 11.23 or even 11.11 build on 11.31

5.8.9 for PA2.0 11.11:
http://mirrors.develooper.com/hpux/perl-5.8.9-dor-11.11.sd.bz

I do not have a 11.23 PA available anymore.

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Acclaimed Contributor
Posts: 21,184
Registered: ‎07-06-2000
Message 11 of 26 (1,295 Views)

Re: Configuring Perl-5.8.9 on HP PA-RISC

Hi:

> I downloaded this depot perl_D.5.8.9.A.BETA1_HP-UX_B.11.23_IA_PA.depot ...but unfortunately it was not supported by my system version which is 11.31.

The link given ( https://h20392.www2.hp.com/portal/swdepot/try.do?productNumber=PERL ) offers Perl 5.8.8 or Perl 5.8.9 for HP-UX 11.31 (which is 11iv3). The offering runs on both PA-RISC or Itanium (IA) platforms.

Regards!

...JRF...
Advisor
Posts: 12
Registered: ‎06-01-2009
Message 12 of 26 (1,295 Views)

Re: Configuring Perl-5.8.9 on HP PA-RISC

Hi all,
Thanks again for your help,

H.Merijn >> Thanks for your clarification.
This is how I got the information may be I did wrong.
bash-4.0# uname -a
HP-UX .... B.11.31 U 9000/800 ....
bash-4.0# file /stand/vmunix
/stand/vmunix: ELF-64 executable object file - PA-RISC 2.0 (LP64)
I tried the 11.23 but the system said is not compatible.
JRF >> I choosed the previous one because I assumed that the v2 is relevent to the 2.0 after the PA-RISC. I'll try this and give you my feedbacks.

Thanks and best regards for all,
M.Z
Acclaimed Contributor
Posts: 21,184
Registered: ‎07-06-2000
Message 13 of 26 (1,295 Views)

Re: Configuring Perl-5.8.9 on HP PA-RISC

Hi (again):

> JRF >> I choosed the previous one because I assumed that the v2 is relevent to the 2.0 after the PA-RISC. I'll try this and give you my feedbacks.

There is absolutely no relationship there.

HP-UX 11.23 (11iv2) is the first release to support _both_ PA-RISC and Itanium servers. The source code is common; the binaries are uniquely compiled for each. The PA-RISC 2.0 notation represents the version of processor chip that the code runs on. PA-RISC servers are no longer manufactured. Itanium servers will run well-behaved PA-RISC code by using ARIES as an emulation agent.

Regards!

...JRF...
Advisor
Posts: 12
Registered: ‎06-01-2009
Message 14 of 26 (1,295 Views)

Re: Configuring Perl-5.8.9 on HP PA-RISC

Hi,

I succeeded to install the version V3 but not in a customized target. When trying to change the target the Error: Perl connot be installed to an alternate roo. is displayed.

Have you any idea about how to change the target please?

Best Regards
M.Z
Acclaimed Contributor
Posts: 25,666
Registered: ‎03-06-2006
Message 15 of 26 (1,295 Views)

Re: Configuring Perl-5.8.9 on HP PA-RISC

>Have you any idea about how to change the target?

You will need to build perl from the source.
Advisor
Posts: 12
Registered: ‎06-01-2009
Message 16 of 26 (1,295 Views)

Re: Configuring Perl-5.8.9 on HP PA-RISC

Hi,
I failed to do so and this is why I started this thread.

in the installation options I found that we can pass :
-x enforce_locatable=false and then we choose the destination but this doesn't work with me it displays :
Could not apply the software selection
"PARISCperl:/home/install/PARISCperl";
it is not available from depot or root
Do anyone know about the solution please?

Thanks for your help.
Acclaimed Contributor
Posts: 21,184
Registered: ‎07-06-2000
Message 17 of 26 (1,295 Views)

Re: Configuring Perl-5.8.9 on HP PA-RISC

Hi:

To use '-x enforce_locatable=true' the 'is_relocatable' attribute must be true. You can interrogate the fileset with :

# swlist -v -d -s /tmp/perl.depot

When selecting a software source, use an absolute path:

# swinstall -s /tmp/perl.depot \*

...where the '\*' says to install everything from the depot.

Regards!

...JRF...


Acclaimed Contributor
Posts: 25,666
Registered: ‎03-06-2006
Message 18 of 26 (1,295 Views)

Re: Configuring Perl-5.8.9 on HP PA-RISC

>I found that we can pass "-x enforce_locatable=false" and then we choose the destination

How are you choosing it? Are you using "@" or using ",l=path"?

>but this doesn't work with me it displays:
>Could not apply the software selection "PARISCperl:/home/install/PARISCperl"; it is not available from depot or root
>Do anyone know about the solution please?

If the packager has made a decision that it can't be relocated, you will have to build it yourself. Or use the existing location.
Acclaimed Contributor
Posts: 21,184
Registered: ‎07-06-2000
Message 19 of 26 (1,295 Views)

Re: Configuring Perl-5.8.9 on HP PA-RISC

Hi:

I just examined a Perl 5.8.8 depot and did not find any filesets marked 'is_relocatable=true'. Thus, as Dennis said, you are going to have to build/compile your own Perl.

You can verify your depot like :

# swlist -v -l fileset -d -s /tmp/perl_E.5.8.8.D_HP-UX_B.11.23_IA_PA.depot|grep -i relocatable

Regards!

...JRF...
Advisor
Posts: 12
Registered: ‎06-01-2009
Message 20 of 26 (1,295 Views)

Re: Configuring Perl-5.8.9 on HP PA-RISC

Hi,

1-These are the two ways I tryied:

swinstall -s /home/source/perl_D.5.8.9.A.BETA1_HP-UX_B.11.31_IA_PA.depot -x enforce_locatable=false -x defer_configure=true PARISCperl:/home/install/PARISCperl

swinstall -s /home/source/perl_D.5.8.9.A.BETA1_HP-UX_B.11.31_IA_PA.depot -x enforce_locatable=false -x defer_configure=true /home/install/PARISCperl

2- But I still have the same problem I explained in the beging of the thread when building this same problem is also reproducable in the itanium.

Thanks a lot,
M.Z
Advisor
Posts: 12
Registered: ‎06-01-2009
Message 21 of 26 (1,295 Views)

Re: Configuring Perl-5.8.9 on HP PA-RISC

Hi,

This is what I found when grepping on locatable but nothing for relocatble
swlist -v -l fileset -d -s /home/source/perl_D.5.8.9.A.BETA1_HP-UX_B.11.31_IA_PA.depot |grep -i locatable
is_locatable false
is_locatable
is_locatable
is_locatable
is_locatable false
is_locatable
is_locatable
is_locatable
Thanks for your help
M.Z
Acclaimed Contributor
Posts: 21,184
Registered: ‎07-06-2000
Message 22 of 26 (1,295 Views)

Re: Configuring Perl-5.8.9 on HP PA-RISC

Hi (again):

If you want a good, standard, solid Perl, installing from the HP-UX software depot is a fine choice. The installation will be make in '/opt' with a symbolic link from '/usr/bin/perl'. By creating a symbolic link from '/opt/perl' to either '/opt/perl_64' or '/opt/perl_32' you can select your bitness.

Regards!

...JRF...
Acclaimed Contributor
Posts: 25,666
Registered: ‎03-06-2006
Message 23 of 26 (1,295 Views)

Re: Configuring Perl-5.8.9 on HP PA-RISC

>1- These are the two ways I tried:

I don't see "@" nor ",l=". So how to you expect to relocate them?

>JRF: You can verify your depot like:

You can optimize this by using -a instead of -v:
swlist -a is_locatable -l product \
-s /tmp/perl_E.5.8.8.D_HP-UX_B.11.23_IA_PA.depot
Advisor
Posts: 12
Registered: ‎06-01-2009
Message 24 of 26 (1,295 Views)

Re: Configuring Perl-5.8.9 on HP PA-RISC

Hi,
I found this about is-locatable:
'"is_locatable" attribute for the product object. Defines whether a product can be installed to an alternate product directory or not. If specified, the attribute is set to a value of TRUE. If not specified, the attribute is assigned a value of FALSE.' and when I verified it was to false I think so I can't change the target directory with that option. And maybe shall I find a solutionfor the compilation problem.

Thanks to all,
M.Z
Acclaimed Contributor
Posts: 25,666
Registered: ‎03-06-2006
Message 25 of 26 (1,295 Views)

Re: Configuring Perl-5.8.9 on HP PA-RISC

>I can't change the target directory with that option.

Have you tried alternate root?
swinstall -s $PWD/depot @ /alternate-root-path \*
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.