- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Configuring Perl-5.8.9 on HP PA-RISC
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2009 08:48 AM - last edited on 11-20-2012 06:51 PM by Maiko-I
06-01-2009 08:48 AM - last edited on 11-20-2012 06:51 PM by Maiko-I
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
Solved! Go to Solution.
- Tags:
- Perl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2009 08:59 AM
06-01-2009 08:59 AM
Re: Configuring Perl-5.8.9 on HP PA-RISC
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
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2009 10:56 PM
06-01-2009 10:56 PM
Re: Configuring Perl-5.8.9 on HP PA-RISC
http://hpux.connect.org.uk/hppd/hpux/Languages/perl-5.10.0/
or
http://mirrors.develooper.com/hpux/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2009 12:33 AM
06-02-2009 12:33 AM
Re: Configuring Perl-5.8.9 on HP PA-RISC
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2009 12:36 AM
06-02-2009 12:36 AM
Solutionhttp://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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2009 12:48 AM
06-02-2009 12:48 AM
Re: Configuring Perl-5.8.9 on HP PA-RISC
Thanks a lot :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2009 02:58 AM
06-02-2009 02:58 AM
Re: Configuring Perl-5.8.9 on HP PA-RISC
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/ ]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2009 03:10 AM
06-02-2009 03:10 AM
Re: Configuring Perl-5.8.9 on HP PA-RISC
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2009 03:31 AM
06-02-2009 03:31 AM
Re: Configuring Perl-5.8.9 on HP PA-RISC
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2009 03:42 AM
06-02-2009 03:42 AM
Re: Configuring Perl-5.8.9 on HP PA-RISC
--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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2009 03:46 AM
06-02-2009 03:46 AM
Re: Configuring Perl-5.8.9 on HP PA-RISC
> 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...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2009 05:09 AM
06-02-2009 05:09 AM
Re: Configuring Perl-5.8.9 on HP PA-RISC
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2009 05:31 AM
06-02-2009 05:31 AM
Re: Configuring Perl-5.8.9 on HP PA-RISC
> 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...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2009 06:53 AM
06-02-2009 06:53 AM
Re: Configuring Perl-5.8.9 on HP PA-RISC
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2009 08:35 AM
06-02-2009 08:35 AM
Re: Configuring Perl-5.8.9 on HP PA-RISC
You will need to build perl from the source.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2009 08:45 AM
06-02-2009 08:45 AM
Re: Configuring Perl-5.8.9 on HP PA-RISC
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2009 09:07 AM
06-02-2009 09:07 AM
Re: Configuring Perl-5.8.9 on HP PA-RISC
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...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2009 09:09 AM
06-02-2009 09:09 AM
Re: Configuring Perl-5.8.9 on HP PA-RISC
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2009 09:16 AM
06-02-2009 09:16 AM
Re: Configuring Perl-5.8.9 on HP PA-RISC
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...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2009 09:18 AM
06-02-2009 09:18 AM
Re: Configuring Perl-5.8.9 on HP PA-RISC
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2009 09:28 AM
06-02-2009 09:28 AM
Re: Configuring Perl-5.8.9 on HP PA-RISC
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2009 09:44 AM
06-02-2009 09:44 AM
Re: Configuring Perl-5.8.9 on HP PA-RISC
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...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2009 04:18 PM
06-02-2009 04:18 PM
Re: Configuring Perl-5.8.9 on HP PA-RISC
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2009 11:54 PM
06-02-2009 11:54 PM
Re: Configuring Perl-5.8.9 on HP PA-RISC
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2009 12:00 AM
06-03-2009 12:00 AM
Re: Configuring Perl-5.8.9 on HP PA-RISC
Have you tried alternate root?
swinstall -s $PWD/depot @ /alternate-root-path \*