- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Error compiling Perl 5.8.6 with gcc 3.4.3 on I...
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
04-26-2005 09:14 PM
04-26-2005 09:14 PM
$ sh Configure -Dcc=gcc -d
this was Okay, then
$ make
I get this:
$ make
`sh cflags "optimize='-g -O'" miniperlmain.o` miniperlmain.c
CCCMD = gcc -DPERL_CORE -c -D_HPUX_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O -Wall
In file included from perl.h:4112,
from miniperlmain.c:36:
/usr/include/sys/ipc.h:51: error: parse error before "cid_t"
/usr/include/sys/ipc.h:56: error: parse error before '}' token
In file included from perl.h:4113,
from miniperlmain.c:36:
/usr/include/sys/sem.h:91: error: field `sem_perm' has incomplete type
*** Error exit code 1
Stop.
Ealrier I got this error trying to install some Perl-Module, but I do not understand this error message. Can anybody give me an advice?
10x a lot!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 09:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 09:25 PM
04-26-2005 09:25 PM
Re: Error compiling Perl 5.8.6 with gcc 3.4.3 on IA64
use the gnu version of make from
http://hpux.cs.utah.edu/hppd/hpux/Gnu/make-3.80/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 09:27 PM
04-26-2005 09:27 PM
Re: Error compiling Perl 5.8.6 with gcc 3.4.3 on IA64
40
41 mode_t mode; /* access modes */
42 unsigned short __seq16;/* OLD slot usage sequence number */
43 key_t key; /* key */
44
45 unsigned short __ndx; /* NOT USED; was ndx of proc who has loc
k */
46 unsigned short __wait; /* waits, wanted, lock bits; reserved fo
r
47 specific ipc facilities */
48
49 unsigned int seq; /* slot usage sequence number */
50 # ifdef _INCLUDE_HPUX_SOURCE
51 cid_t cid; /* Compartment ID */
52 # else
53 int __cpad; /* pad for non-hp code */
54 # endif /* _INCLUDE_HPUX_SOURCE */
55 char pad[12];/* room for future expansion */
56 };
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 09:39 PM
04-26-2005 09:39 PM
Re: Error compiling Perl 5.8.6 with gcc 3.4.3 on IA64
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 09:45 PM
04-26-2005 09:45 PM
Re: Error compiling Perl 5.8.6 with gcc 3.4.3 on IA64
No arguments or desription file
How can I use the GNU make by default?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 09:50 PM
04-26-2005 09:50 PM
Re: Error compiling Perl 5.8.6 with gcc 3.4.3 on IA64
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 09:52 PM
04-26-2005 09:52 PM
Re: Error compiling Perl 5.8.6 with gcc 3.4.3 on IA64
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 10:02 PM
04-26-2005 10:02 PM
Re: Error compiling Perl 5.8.6 with gcc 3.4.3 on IA64
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 10:38 PM
04-26-2005 10:38 PM
Re: Error compiling Perl 5.8.6 with gcc 3.4.3 on IA64
If I knew what -D_INCLUDE_POSIX_SOURCE is, I would also complete the make file. But my C knowledge..hm..
Is there any other general approach for getting Perl on my machine (but not as depot, because depots are precompiled with ANSI C and I don't have it and this makes some other installations impossible :( )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 10:43 PM
04-26-2005 10:43 PM
Re: Error compiling Perl 5.8.6 with gcc 3.4.3 on IA64
You should see a line which says something like CXXFLAGS = blah
where blah will contain -DDEBUGGING etc
add -D_INCLUDE_POSIX_SOURCE to the end of that line with a single space separating it from the last entry on the line.
If it doesn't work, you can always remove it!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 11:05 PM
04-26-2005 11:05 PM
Re: Error compiling Perl 5.8.6 with gcc 3.4.3 on IA64
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 11:24 PM
04-26-2005 11:24 PM
Re: Error compiling Perl 5.8.6 with gcc 3.4.3 on IA64
perlmain$(OBJ_EXT): perlmain.c
to
perlmain$(OBJ_EXT): perlmain.c
Note that
If it doesn't work, you can always remove it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 11:41 PM
04-26-2005 11:41 PM
Re: Error compiling Perl 5.8.6 with gcc 3.4.3 on IA64
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 11:46 PM
04-26-2005 11:46 PM
Re: Error compiling Perl 5.8.6 with gcc 3.4.3 on IA64
HP's testdrive systems hang in the configuration process.
Enjoy, Have FUN! H.Merijn [ who now almost can't wait to fix this ]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 11:50 PM
04-26-2005 11:50 PM
Re: Error compiling Perl 5.8.6 with gcc 3.4.3 on IA64
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 11:57 PM
04-26-2005 11:57 PM
Re: Error compiling Perl 5.8.6 with gcc 3.4.3 on IA64
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 12:56 AM
04-27-2005 12:56 AM
Re: Error compiling Perl 5.8.6 with gcc 3.4.3 on IA64
gcc and perl on your web-site are all for RISC, aren't they? How can I use them on my IA64?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 01:49 AM
04-27-2005 01:49 AM
Re: Error compiling Perl 5.8.6 with gcc 3.4.3 on IA64
I don't have IA64 (yet).
I'm currently building gcc-4.0.0 on the spe176, one of HP's testdrive systems, to see if my scripts can help you rebuild gcc from scratch.
Looks good so far. System ain't terribly fast though.
I'll come back on this when I either fail or succeed.
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 04:02 AM
04-27-2005 04:02 AM
Re: Error compiling Perl 5.8.6 with gcc 3.4.3 on IA64
I just successfully rebuilt gcc-4.0.0 gcc and g++ from scratch on an IA64 machine.
Thanks HP, for giving use the TestDrives!
Assuming your current gcc is installed on /usr/local/bin, and your new install path is /house/procura/IA64
These two path's may be the same
# cd /work (or any folder you have with enough space)
# mkdir GNU
# cd GNU
# wget ftp://ftp.nluug.nl/mirror/languages/gcc/releases/gcc-4.0.0/gcc-4.0.0.tar.bz2
# bzip2 -d
# export CONFIG_SITE=
# export CC=gcc
# export PATH=.:/usr/local/bin:$PATH
# mkdir obj
# cd obj
# ../src/configure \
--enable-languages=c,c++ \
--prefix=/house/procura/IA64/ --with-local-prefix=/house/procura/IA64 \
--with-gnu-as --with-as=/usr/local/bin/as \
--disable-shared \
--disable-nls
# make bootstrap-lean
# make install
I've tested the installed gcc version, which - on Itanium, HP-UX 11.23 - is able to produce both 32 and 64bit code
# cat >xx.c <
{
return (0);
} /* main */
EOC
#
# cc -O -o xx xx.c
# file xx
xx: ELF-32 executable object file - IA64
# cc -O +DD64 -o xx xx.c
# file xx
xx: ELF-64 executable object file - IA64
# gcc -O -o xx xx.c
# file xx
xx: ELF-32 executable object file - IA64
# gcc -O -mlp64 -o xx xx.c
# file xx
xx: ELF-64 executable object file - IA64
#
Enjoy, Have FUN! H.Merijn [ Who just did a bit of dancin' ]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 04:48 AM
04-27-2005 04:48 AM
Re: Error compiling Perl 5.8.6 with gcc 3.4.3 on IA64
I have no admin rights on the testdrive boxes (which I think is good looking though the other user's eyes :) ), so I had to choose a location where I *could* write
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 04:53 AM
04-27-2005 04:53 AM
Re: Error compiling Perl 5.8.6 with gcc 3.4.3 on IA64
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 05:08 AM
04-27-2005 05:08 AM
Re: Error compiling Perl 5.8.6 with gcc 3.4.3 on IA64
If you want to have it anyway, I can make it available, but I'd prefer not to, because it is so very different.
Furthermore, my build does not include binutils, which I think should be included
Now that I know how to re-build from scratch, and that I have been able to verify that gcc-4 only needs a single binary to be able to generate both 32bit and 64bit objects on Itanium 2, I could add a small piece of proza to my site to describe how I did it. (just re-read my previous post)
If someone would give me ssh access to a Itanium2 machine (with less restrictions than I have in the testdrive environment), and write rights in the /usr/local tree, I would probably be willing to use that system to extend my download section on my site with Itanium2 builds for perl and gcc.
If it is too much trouble for me to get around on such a system, I can assure you that I won't do it, since the base to this all is only twofold: 1. FUN! 2. Curiousity (mainly to find out why others have trouble, and if it's doable at all)
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 06:36 AM
04-27-2005 06:36 AM
Re: Error compiling Perl 5.8.6 with gcc 3.4.3 on IA64
The only thing I can give you access to is my old Celeron 466, but I don't believe this would make things better.
**JOKE**
Thank you for doing all this work!