- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Some perl modules failed to compile after update-u...
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
тАО05-04-2009 07:35 PM
тАО05-04-2009 07:35 PM
Some perl modules failed to compile after update-ux
Yesteday, I updated my system using update-ux and the Mar 09 DVD. This updated perl to E.5.8.8.C and so I had to recompile Mail-box which has a number of pre-requisites. All the modules compiled ok except two - Encode and Mail::Transport::Dbx
Both these modules give me the same errors.
cc -c -I. -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DAportable +DS2.0 +Z -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fast +Onolimit +Opromote_indirect_calls -DVERSION=\"0.07\" -DXS_VERSION=\"0.07\" +Z "-I/opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE" Dbx.c
cc: "/opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE/reentr.inc", line 1348: error 1619: Too many arguments for getspnam_r.
cc: "/opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE/reentr.inc", line 1348: warning 526: Pointer implicitly converted to integral value in assignment.
System is a rp3410 running 11.31
C compiler is HP ANSI/C compiler B.11.31.04
Any help is appreciated.
- Tags:
- Perl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2009 08:01 PM
тАО05-04-2009 08:01 PM
Re: Some perl modules failed to compile after update-ux
#include
struct spwd *getspnam_r(const char *name, struct spwd *result, char *buffer, size_t bufsiz);
What's on line 1348?
>+DAportable
There is no need to use this on 11.31.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2009 08:11 PM
тАО05-04-2009 08:11 PM
Re: Some perl modules failed to compile after update-ux
Removed +DAportable and error still persists
/usr/bin/perl /opt/perl_32/lib/5.8.8/ExtUtils/xsubpp -nolinenumbers -typemap /opt/perl_32/lib/5.8.8/ExtUtils/typemap Byte.xs > Byte.xsc && mv Byte.xsc Byte.c
cc -c -I../Encode -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DS2.0 +Z -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fast +Onolimit +Opromote_indirect_calls -DVERSION=\"2.03\" -DXS_VERSION=\"2.03\" +Z "-I/opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE" Byte.c
cc: "/opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE/reentr.inc", line 1348: error 1619: Too many arguments for getspnam_r.
cc: "/opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE/reentr.inc", line 1348: warning 526: Pointer implicitly converted to integral value in assignment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2009 03:59 AM
тАО05-05-2009 03:59 AM
Re: Some perl modules failed to compile after update-ux
WHY are you using a 32bit perl on HP-UX 11.31? Not that I can say it would be the cause of your trouble, but most applications that link to perl (Oracle and such) require a 64bit perl on 11.31, so I would suggest you use the opt/perl_64 path instead.
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2009 08:54 AM
тАО05-05-2009 08:54 AM
Re: Some perl modules failed to compile after update-ux
That was unrelated to your problem.
>Don't know what getspnam_r does or what args it requires.
You need to match up the source with that of the man page.
Again: What's on line 1348?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2009 07:49 PM
тАО05-06-2009 07:49 PM
Re: Some perl modules failed to compile after update-ux
return ((PL_REENTRANT_RETINT =
getspnam_r(
a,
&PL_reentrant_buffer->_spent_struct,
PL_reentrant_buffer->_spent_buffer,
PL_reentrant_buffer->_spent_size,
&PL_reentrant_buffer->_spent_ptr <-----
)) == 0 .. snip ..)
Other 2 lines to call getspnam_r have the fifth parameters, too.
getspnam_r with 5 parameters can be seen in Perl D.5.8.8.B,
D.5.8.8.D, D.5.8.9.A.BETA1 and E.5.8.8.C irrespective of 32-bit
or 64-bit. Bug ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2009 08:02 PM
тАО05-06-2009 08:02 PM
Re: Some perl modules failed to compile after update-ux
It sure looks like it. That fifth parm should be removed. Even Solaris has only 4.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2009 08:21 PM
тАО05-06-2009 08:21 PM
Re: Some perl modules failed to compile after update-ux
I got "bitten" by the same problem.
Please install the following patches on the system with PERL version E.5.8.8.C installed:
PHSS_39651 ├в for HP-UX 11iv1
PHSS_39652 ├в for HP-UX 11iv2
PHSS_39653 ├в for HP-UX 11iv3
Cheers,
VK2COT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2009 09:29 PM
тАО05-06-2009 09:29 PM
Re: Some perl modules failed to compile after update-ux
I will try out your suggestions.
However I had to resolve the problem quickly as our customers mail weren't being processed so I reverted to perl D.5.8.8.F and I was able to compile my modules.
I did make sure I am running 64bit perl this time. :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2009 10:01 PM
тАО05-06-2009 10:01 PM