HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Perl - problem: Got error's when trying a 'make' o...
Operating System - Linux
1826234
Members
2361
Online
109692
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-31-2006 02:42 AM
05-31-2006 02:42 AM
Perl - problem: Got error's when trying a 'make' of "Date-Calc-5.4"
Hi,
I've problems to install the Perl-module
"Date-Calc-5.4" on a Itanium 2 -system.
HP-UX-Version: HP-UX B.11.23 U
Perl-Version: v5.8.5 built for IA64.ARCHREV_0
gcc-Version: 3.4.3
#perl Makefile.PL --> run w/o problems
#
#~/tmp/Date-Calc-5.4
# make
gcc -c -D_HPUX_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -O0 -DVERSION=\"5.4\" -DXS_VERSION=\"5.4\" -fPIC "-I/usr/local/lib/perl5/5.8.5/IA64.ARCHREV_0/CORE" Calc.c
In file included from /usr/local/lib/perl5/5.8.5/IA64.ARCHREV_0/CORE/perl.h:4112,
from Calc.xs:15:
/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 /usr/local/lib/perl5/5.8.5/IA64.ARCHREV_0/CORE/perl.h:4113,
from Calc.xs:15:
/usr/include/sys/sem.h:91: error: field `sem_perm' has incomplete type
*** Error exit code 1
Stop.
Since I'm not very familiar with HP-UX and Perl ( I just use it ) I need some help / ideas how to solve the problem.
Thanks in advance!
Peter
I've problems to install the Perl-module
"Date-Calc-5.4" on a Itanium 2 -system.
HP-UX-Version: HP-UX B.11.23 U
Perl-Version: v5.8.5 built for IA64.ARCHREV_0
gcc-Version: 3.4.3
#perl Makefile.PL --> run w/o problems
#
#~/tmp/Date-Calc-5.4
# make
gcc -c -D_HPUX_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -O0 -DVERSION=\"5.4\" -DXS_VERSION=\"5.4\" -fPIC "-I/usr/local/lib/perl5/5.8.5/IA64.ARCHREV_0/CORE" Calc.c
In file included from /usr/local/lib/perl5/5.8.5/IA64.ARCHREV_0/CORE/perl.h:4112,
from Calc.xs:15:
/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 /usr/local/lib/perl5/5.8.5/IA64.ARCHREV_0/CORE/perl.h:4113,
from Calc.xs:15:
/usr/include/sys/sem.h:91: error: field `sem_perm' has incomplete type
*** Error exit code 1
Stop.
Since I'm not very familiar with HP-UX and Perl ( I just use it ) I need some help / ideas how to solve the problem.
Thanks in advance!
Peter
- Tags:
- Perl
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 02:55 AM
05-31-2006 02:55 AM
Re: Perl - problem: Got error's when trying a 'make' of "Date-Calc-5.4"
I think your gcc does not exact match your OS release and/or your include files are not up to date.
This is not perl's or Date::Calc's fault.
The Perl-Version you state matches your OS, but you did not state the full version for gcc
x1:/u/usr/merijn 104 > gcc -c -v /dev/null
Using built-in specs.
Target: ia64-hp-hpux11.23
Configured with: ../src/configure --enable-languages=c,c++ --prefix=/usr/local/ia64 --with-local-prefix=/usr/local/ia64 --with-gnu-as --with-as=/usr/local/ia64/bin/as --disable-shared --disable-nls --host=ia64-hp-hpux11.23
Thread model: single
gcc version 4.1.1
gcc: /dev/null: linker input file unused because linking not done
x1:/u/usr/merijn 105 >
FWIW, a more recent version of perl is available from my site. It already includes Date::Calc
http://mirrors.develooper.com/hpux/downloads.html#hpux1123 : perl 5.8.8 + defined-or + DBI 1.50 + Tk 804.027 built with gcc-4.0.2 :
http://mirrors.develooper.com/hpux/perl-5.8.8-dor-11.23.sd.bz
Enjoy, Have FUN! H.Merijn
This is not perl's or Date::Calc's fault.
The Perl-Version you state matches your OS, but you did not state the full version for gcc
x1:/u/usr/merijn 104 > gcc -c -v /dev/null
Using built-in specs.
Target: ia64-hp-hpux11.23
Configured with: ../src/configure --enable-languages=c,c++ --prefix=/usr/local/ia64 --with-local-prefix=/usr/local/ia64 --with-gnu-as --with-as=/usr/local/ia64/bin/as --disable-shared --disable-nls --host=ia64-hp-hpux11.23
Thread model: single
gcc version 4.1.1
gcc: /dev/null: linker input file unused because linking not done
x1:/u/usr/merijn 105 >
FWIW, a more recent version of perl is available from my site. It already includes Date::Calc
http://mirrors.develooper.com/hpux/downloads.html#hpux1123 : perl 5.8.8 + defined-or + DBI 1.50 + Tk 804.027 built with gcc-4.0.2 :
http://mirrors.develooper.com/hpux/perl-5.8.8-dor-11.23.sd.bz
Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
- Tags:
- gcc
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP