- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Build perl 5.8.2 on HPUX 11.11 make fails - getspn...
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
тАО12-01-2003 06:03 AM
тАО12-01-2003 06:03 AM
"make" fails during compilation of perl 5.8.2 on hpux 11i (11.11) using:
nmcmadam:/opt/patches/perl-5.8.2> gcc -v
Reading specs from /opt/gcc/lib/gcc-lib/hppa64-hp-hpux11.11/3.3.2/specs
Configured with: ./configure --enable-languages=c,c++ --enable-threads=posix --disable-nls --with-gnu-as --with-gnu-ld --with-as=/usr/local/pa64/hppa64-hp-hpux11.11/bin/as --with-ld=/usr/local/pa64/hppa64-hp-hpux11.11/bin/ld --host=hppa64-hp-hpux11.11 --target=hppa64-hp-hpux11.11 --prefix=/opt/gcc
Thread model: posix
gcc version 3.3.2
and
nmcmadam:/opt/patches/perl-5.8.2> make -v
GNU Make 3.80
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Configure options:
sh ./Configure -Dprefix=/opt/perl -Dcc=gcc
Make fails at:
CCCMD = gcc -DPERL_CORE -c -D_HPUX_SOURCE -mpa-risc-2-0 -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O -Wall
In file included from pp_sys.c:36:
/usr/include/shadow.h:42: error: conflicting types for `getspnam'
/usr/include/prot.h:650: error: previous declaration of `getspnam'
make: *** [pp_sys.o] Error 1
Any suggestions?
Thanks,
vlima@csc.com
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2003 06:13 AM
тАО12-01-2003 06:13 AM
Re: Build perl 5.8.2 on HPUX 11.11 make fails - getspnam
[1] See attach
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2003 06:15 AM
тАО12-01-2003 06:15 AM
Re: Build perl 5.8.2 on HPUX 11.11 make fails - getspnam
Additionally, I like my perl installed under /opt versus scattered accross /usr/nowhere locations =)
Thanks though.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2003 06:26 AM
тАО12-01-2003 06:26 AM
SolutionThe gcc I built it with is also available on that site, so what can go wrong?
FWIW, I've never seen you error before, but I guess a library is missing
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2003 07:04 AM
тАО12-01-2003 07:04 AM
Re: Build perl 5.8.2 on HPUX 11.11 make fails - getspnam
Sorry, I thought your perl builds were like your gcc 3.3.2 builds under /usr/local/...
I couldnt find the perl 5.8.2 hpux 11.11/64 build on your site? I could only find:
-perl 5.8.1 + defined-or prepared for Oracle + DBI 1.38 + Tk 800.024 built with gcc-3.3.1
├в perl 5.8.1 prepared for Oracle + DBI 1.38 + Tk 800.024 built with gcc-3.3.1
Am I looking at the right place? I went to http://www.cmve.net/~merijn/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2003 09:00 AM
тАО12-01-2003 09:00 AM
Re: Build perl 5.8.2 on HPUX 11.11 make fails - getspnam
Did you add -Duse64bitall to Configure? You cannot build a 32bit perl wit a 64bit gcc.
And my 11i is so slow that I decided to wait for DBI-1.39 and Tk804.025 before I ported 5.8.2 to 11i. Do you mind the defined-or patch?
I might speed up the port now that someone is actually asking for 5.8.2 for 11i. Please do read my comments in the Perl section of my site, since most of what I answered here is written there.
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2003 09:20 AM
тАО12-01-2003 09:20 AM
Re: Build perl 5.8.2 on HPUX 11.11 make fails - getspnam
I didnt try it before, so i went ahead and tried that option and still no luck - same error.
Actually, even if you dont specify that option, it will still build it as 64-bit:
*** This version of gcc uses 64 bit longs. -Duse64bitall is
*** implicitly set to enable continuation
I dont mind what fixes you have to put to it...i just need perl built! =) Also, could you have a prebuilt binary of 5.8.2 without any Oracle DBI modules pre-installed? I dont mind for it much, but understand that most perl users on your site need it.
If you need me to run any additional commands, let me know. I have access to more hpux machines than i care for =)
Thanks again,
v.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2003 09:32 AM
тАО12-01-2003 09:32 AM
Re: Build perl 5.8.2 on HPUX 11.11 make fails - getspnam
probably this week, but I've got more to do.
I can't include a DBD::Oracle, because of way to many reasons: different versions, different install path's and above all, I don't have Oracle64 on any of my machines and only Oracle-8.1.7.4/32 on 11.00
FWIW DBD::Oracle-1.15 is to be released *very* soon now, and if you can find Ralph Grohe's posts, you can see that it builds out of the box if you just read README.hpux very carefully
I'll include DBI-1.39, but I will leave out Tk for now
Enjoy, Have FUN! H.Merijn [ Don't forget the points ]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2003 12:22 PM
тАО12-01-2003 12:22 PM
Re: Build perl 5.8.2 on HPUX 11.11 make fails - getspnam
Now you wouldnt mind sharing your compile option secrets, would you? ;)
Are you using the hp ansi c compiler or gcc?
Thanks again.
v.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2003 12:40 PM
тАО12-01-2003 12:40 PM
Re: Build perl 5.8.2 on HPUX 11.11 make fails - getspnam
perl-5.8.2/64 for 11i + defined or + DBI-1.39
built with gcc-3.3.2/64
No Tk (yet)
13.4 Mb compressed
Enjoy, Have FUN! H.Merijn [ now going to bed ]