- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Perl modules' compilation errors
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
тАО02-13-2003 05:39 AM
тАО02-13-2003 05:39 AM
Does anyone have a solution or a direction to try that I am missing?
Error Message
********************************
# make
gcc -c -D_HPUX_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -DVERSION=\"1.32\" -DXS_VERSION=\"1.32\" -fPIC "-I/usr/local/lib/perl5/5.8.0/PA-RISC2.0/CORE" -Wall -Wno-comment -DDBI_NO_THREADS Perl.c
In file included from /usr/local/lib/perl5/5.8.0/PA-RISC2.0/CORE/perl.h:681,
from DBIXS.h:19,
from Perl.xs:1:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
*** Error exit code 1
Stop.
#
********************************
Hardward HP K450
********************************
Software Versions
HP-UX 11.11
B3901BA B.11.11.04 HP C/ANSI C
bison 1.875
flex 2.5.4a
gcc 3.2
libiconv 1.8
make 3.79.1
mysql 3.23.54a
ncurses 5.2
openldap 2.1.3
openssl 0.9.7
perl 5.8.0
zlib 1.1.4
Solved! Go to Solution.
- Tags:
- Perl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2003 06:26 AM
тАО02-13-2003 06:26 AM
SolutionYou *do* however have a HP C-ANSI-C compiler available, which causes my first proposal: Recompile perl from scratch! You will gain 25% speed and all modules you want to add are going to cause less trouble.
That being said, and knowing that it will take a lot of time, you could decide to uninstall this perl and reinstall my build from http://www.cmve.net/~merijn or https://www.beepz.com/personal/merijn that has a prebuild DBI included already, and is also Oracle prepared.
If neither is an option, I'd like to see the output of 'perl -V', because it is possible that the gcc perl is built with is 2.x, whereas you are using 3.2, which is quite different.
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2003 06:53 AM
тАО02-13-2003 06:53 AM
Re: Perl modules' compilation errors
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=hpux, osvers=11.00, archname=PA-RISC2.0
uname='hp-ux quioch b.11.00 a 9000780 2012209406 two-user license '
config_args='-d -e -Dcc=gcc -Dprefix=/usr/local useposix=true'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_HPUX_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE',
optimize='',
cppflags='-D_HPUX_SOURCE -D_HPUX_SOURCE -fno-strict-aliasing'
ccversion='', gccversion='3.2', gccosandvers='hpux11.00'
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
alignbytes=8, prototype=define
Linker and Libraries:
ld='/usr/bin/ld', ldflags =' -L/usr/local/lib -L/opt/local/lib'
libpth=/usr/local/lib /opt/local/lib /lib /usr/lib /usr/ccs/lib
libs=-lcl -lpthread -lnsl -lnm -lndbm -lgdbm -ldb -lmalloc -ldld -lm -lc -lndir -lcrypt -lsec
perllibs=-lcl -lpthread -lnsl -lnm -lmalloc -ldld -lm -lc -lndir -lcrypt -lsec
libc=/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-B,deferred '
cccdlflags='-fPIC', lddlflags='-b -L/usr/local/lib -L/opt/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under hpux
Compiled at Aug 29 2002 16:13:57
@INC:
/usr/local/lib/perl5/5.8.0/PA-RISC2.0
/usr/local/lib/perl5/5.8.0
/usr/local/lib/perl5/site_perl/5.8.0/PA-RISC2.0
/usr/local/lib/perl5/site_perl/5.8.0
/usr/local/lib/perl5/site_perl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2003 07:08 AM
тАО02-13-2003 07:08 AM
Re: Perl modules' compilation errors
FWIW, the gcc you have should be OK for the tasks involved.
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2003 07:15 AM
тАО02-13-2003 07:15 AM
Re: Perl modules' compilation errors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2003 07:18 AM
тАО02-13-2003 07:18 AM
Re: Perl modules' compilation errors
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2003 08:30 AM
тАО02-13-2003 08:30 AM
Re: Perl modules' compilation errors
--8<---
Hi
Sorry sending you this, But for some reason I can 't login to ITRC to respond
to James 's question.
The Binary on the Archive have been tested on 11.00 and 11.20 (IA64) and 11.22
(IA64) platforms. Like yourself we don't have any access to 11i(11.11) platform.
Some probelm has been reported in regard gcc on 11i, But we can 't confirm
anything till we test the program ourself.
Which modules is he trying to compile?
Thanks
__mehdi
-->8---
I did answer his questions. Hope he can chime in later.
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2003 10:27 AM
тАО02-13-2003 10:27 AM
Re: Perl modules' compilation errors
If there is anything I can do to help on the 11i front let me know. I have 4 11i boxes, two are test environments.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xbdd191ccb36bd611abdb0090277a778c,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xbbc9996c5988d5118ff10090279cd0f9,00.htm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2003 11:33 AM
тАО02-13-2003 11:33 AM
Re: Perl modules' compilation errors
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2003 01:37 AM
тАО02-14-2003 01:37 AM
Re: Perl modules' compilation errors
Sorry about yesterday. Somehow I couldn't login to respond to your problem. But Merijn kindly forwarded my email.
I am glad your problem has been solved, I had the feeling gcc is the problem.
Thanks
__Mehdi