- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Perl 5.8 on HPUX10.01 trouble
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
Discussions
Discussions
Forums
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
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-14-2004 05:38 AM
тАО06-14-2004 05:38 AM
Re: Perl 5.8 on HPUX10.01 trouble
I'll try compiling toke by itself. The other ones are OK. If that works, I'll get to the next iron gate - 'make test'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2004 05:41 AM
тАО06-14-2004 05:41 AM
Re: Perl 5.8 on HPUX10.01 trouble
If you have it, I'd pass -Ae.
If you choose to go for gcc, I think you will have a hard time to find precompiled binaries of *recent* GNU gcc for 10.01.
I have a whole bunch of gcc's available for 10.20, but I bet they will lead to trouble on 10.01. pa-risc support has improved a lot as of gcc-3.0.4
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2004 09:19 AM
тАО06-16-2004 09:19 AM
Re: Perl 5.8 on HPUX10.01 trouble
(I complied toke.c with +O0, it seemed to go OK. I'm not sure about the syntax of the lines
`sh cflags "optimize=....." perl.o` perl.c
CCCMD = cc -DPERL............
Does the first line set 'cflags' to those options? Then how does CCCMD get invoked?)
What I used for the compile was
`sh cflags "optimize=+O0" perl.o` perl.c
CCCMD = cc -DPERL............
from a batch file. toke.o is 192204 bytes, so maybe it's OK.
Anyway, I got to the 'make test' part. It ran OK, except for 2 warnings about common redeclarations - most likely not a big deal.
Then this:
"/usr/include/shadow.h" ... unexpected symbol: "extern"
Turns out that the system file shadow.h (it has a 1995 date) has an error: the line in question (line 40) ends with a comma, not a semicolon.
It's in an IFDEF block that asks is defined __STDC__ or __cplusplus.
It certainly isn't c++, so I don't know how the original installation went. I think I remember that the machine came with the OS preinstalled.
I'll go fix shadow.h and try again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2004 09:44 PM
тАО06-16-2004 09:44 PM
Re: Perl 5.8 on HPUX10.01 trouble
What you just described is perfect. I'm looking forward to the full test results!
You ran the toke.c compilation by hand. Did you try my last change to hints/hpux.sh to accomplish the same?
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2004 08:57 AM
тАО06-17-2004 08:57 AM
Re: Perl 5.8 on HPUX10.01 trouble
I think I may be the last HPUX10.01 installation in the world. (Outside of Sibera.) If I weren't so tied to Ingres I'd have changed long ago.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2004 08:20 AM
тАО06-21-2004 08:20 AM
Re: Perl 5.8 on HPUX10.01 trouble
# When HP-UX runs a script with "#!", it sets argv[0] to the script name.
toke_cflags='ccflags="$ccflags +O0 -DARG_ZERO_IS_SCRIPT"'
### 64 BITNESS
. . . . . . .
then ran 'make test'. Here's the output:
# make test
`sh cflags "optimize='+O2 +Onolimit'" toke.o` toke.c
CCCMD = cc -DPERL_CORE -c -Ae -D_HPUX_SOURCE -DARG_ZERO_IS_SCRIPT +O2 +Onolimit
cc: Perl_yylex(): error 6355: Bit vectors: Set out of memory. (6355)
*** Error exit code 1
---------------------
That's the only line in 'hpux.sh' where -DARG_ZERO_IS_SCRIPT occurs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2004 08:31 AM
тАО06-21-2004 08:31 AM
Re: Perl 5.8 on HPUX10.01 trouble
OK, for now, just do that one by hand. I'll investigate in to how that flag did not propagate, since it is reproducable on 10.20 and 11.00
Please continue after that point, and keep me informed.
Thank you very much for the feedback
Enjoy, Have FUN! H.Merijn
- « Previous
-
- 1
- 2
- Next »