- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Perl DBI Compilation error
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
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
тАО01-26-2010 06:17 PM
тАО01-26-2010 06:17 PM
# Initializing...
# Contacting target "ethp1033"...
#
# Target: ethp1033:/
#
# perl E.5.8.8.G Perl Programming Language
perl.Perl5-32 E.5.8.8.G 32-bit Perl Programming Language with Extensions
perl.Perl5-64 E.5.8.8.G 64-bit Perl Programming Language with Extensions
[root@ethp1033:/var/opt/vgvd01/u01/ethp1033-backup/OVO/perl/DBI-1.609]
# getconf KERNEL_BITS
64
uname -a
HP-UX B.11.31 U 9000/800 2204626621 unlimited-user license
I have Hp ANSI/C Compiler on the box:
# B9007AA C.11.31.03 HP C/aC++ Developer's Bundle
B9007AA.Sentinel C.0.91.01 HP Sentinel Tool
B9007AA.CodeAdvisor C.01.17 HP Static Analysis Tool
B9007AA.DebugPrg C.5.7 Debugging Support Tools
B9007AA.WDB-GUI C.5.7 GUI for the HP WDB Debugger
B9007AA.WDB C.5.7 HP Wildebeest (HP WDB) Debugger
B9007AA.Auxiliary-Opt B.11.31.02 Auxiliary Optimizer for HP Languages.
B9007AA.C-Dev-Tools B.11.31.02 C Language Development Tools
B9007AA.C-Analysis-Tools B.11.31.02 C Language Analysis Tools
B9007AA.ACXX C.03.80 HP aC++
B9007AA.C-ANSI-C B.11.31.02 HP C/ANSI C Compiler
B9007AA.CDEDevKit B.11.31.01 CDE Desktop Developer's ToolKit
B9007AA.X11MotifDevKit B.11.31.01 HP-UX Desktop Developer's Toolkit - X11, Motif, and Imake
Still getting below error while compiling DBI/DBD module:
& mv Perl.xsc Perl.c
cc -c -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64 +Z -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +O2 +Onolimit +Opromote_indirect_calls -DVERSION=\"1.609\" -DXS_VERSION=\"1.609\" +Z "-I/opt/perl_64/lib/5.8.8/PA-RISC2.0-thread-multi-LP64/CORE" Perl.c
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C product; ignored.
(Bundled) cc: warning 480: The +Z option is available only with the C/ANSI C product; ignored.
(Bundled) cc: warning 480: The +O2 option is available only with the C/ANSI C product; ignored.
(Bundled) cc: warning 480: The +Onolimit option is available only with the C/ANSI C product; ignored.
(Bundled) cc: warning 480: The +Opromote_indirect_calls option is available only with the C/ANSI C product; ignored.
(Bundled) cc: warning 480: The +Z option is available only with the C/ANSI C product; ignored.
cpp: "/opt/perl_64/lib/5.8.8/PA-RISC2.0-thread-multi-LP64/CORE/perlio.h", line 121: error 4065: Recursion in macro "PerlIO".
*** Error exit code 1
Stop.
Appreciate your help/advice
Solved! Go to Solution.
- Tags:
- Perl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2010 11:17 PM
тАО01-26-2010 11:17 PM
Re: Perl DBI Compilation error
#/usr/local/bin/perl ├в MCPAN ├в e ├в install module name"
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2010 03:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2010 04:40 AM
тАО01-27-2010 04:40 AM
Re: Perl DBI Compilation error
As Dennis said, it would appear that your are invoking the the bundled C compiler. '/usr/ccs/bin' is normally in your PATH, but should be after '/usr/bin'. And, '/usr/bin/cc' should be a symbolic link to '/opt/aCC/bin/cc' which is the compiler you require.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2010 10:01 AM
тАО01-27-2010 10:01 AM
Re: Perl DBI Compilation error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2010 12:26 AM
тАО01-28-2010 12:26 AM
Re: Perl DBI Compilation error
For PA, that's /opt/ansic/bin/cc.