- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem trying to install perl from source.
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
08-26-2004 05:09 AM
08-26-2004 05:09 AM
Problem trying to install perl from source.
I get the following error message:
cc: "/usr/include/sys/socket.h", line 504: warning 562: Redeclaration of "sendfile" with a different storage class specifier: "sendfile" will have internal linkage.
cc: "/usr/include/sys/socket.h", line 505: warning 562: Redeclaration of "sendpath" with a different storage class specifier: "sendpath" will have internal linkage.
rm -f opmini.c
cc +DD64 -L/usr/local/lib -L/lib/pa20_64 -o miniperl \
miniperlmain.o opmini.o libperl.a -lcl -lpthread -lnsl -lnm -ldl -ldld -lm -lsec -lc
ld: Mismatched ABI (not an ELF file) for miniperlmain.o
Fatal error.
*** Error exit code 1
Stop.
- Tags:
- ABI mismatch
- Perl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2004 05:18 AM
08-26-2004 05:18 AM
Re: Problem trying to install perl from source.
You can download Perl version 5.0005_02 SD-depot from software.hp.com.
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1111
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2004 05:23 AM
08-26-2004 05:23 AM
Re: Problem trying to install perl from source.
or check here: http://www.cmve.net/~merijn/#Perl
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2004 05:27 AM
08-26-2004 05:27 AM
Re: Problem trying to install perl from source.
Why fight it?
Just download the binary from Merijn's website:
http://www.cmve.net/~merijn/#Perl
I've never had trouble with his builds at all. Always top-notch.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2004 05:34 AM
08-26-2004 05:34 AM
Re: Problem trying to install perl from source.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2004 05:40 AM
08-26-2004 05:40 AM
Re: Problem trying to install perl from source.
I downloaded the same tar file and was able to compile it without any problems. I did get dozens of warnings about "sendfile" and "sendpath" but the compile completed fine.
My cc options are very different on my system. Here's an example:
cc -c -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS
=64 +O2 +Onolimit
All I did was follow the instructions in the INSTALL file:
rm -f config.sh Policy.sh
sh Configure -de
make
Did you do these steps on your system as well? I believe it is the "Configure" step that sets up the cc options.
Regards,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2004 05:43 AM
08-26-2004 05:43 AM
Re: Problem trying to install perl from source.
Just run the file command against the lib file.
If it *doesn't* come back ELF-64 then it's *not* 64-bit.
Well....archive (????.a) files will not come back that way, but all object files will.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2004 06:03 AM
08-26-2004 06:03 AM
Re: Problem trying to install perl from source.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2004 06:05 AM
08-26-2004 06:05 AM
Re: Problem trying to install perl from source.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2004 06:31 AM
08-26-2004 06:31 AM
Re: Problem trying to install perl from source.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2004 06:45 AM
08-26-2004 06:45 AM
Re: Problem trying to install perl from source.
If you go to Merijn's website he *already* has 64-bit Perl compiled with the DBI & DBD CPAN modules.
Save yourself some time - check it out.
My 2 cents,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2004 07:08 AM
08-26-2004 07:08 AM
Re: Problem trying to install perl from source.
Actually, HP does have a 64-bit perl with the newer 11i O/S distributions, but it didn't work either! I will check out that site.
Thanks All