- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: hpux 11.11 pa-risc perl dbi make install
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
тАО08-20-2007 05:26 AM
тАО08-20-2007 05:26 AM
hpux 11.11 pa-risc perl dbi make install
rp440, pa-risc, hpux 11.11
I am trying to install the perl DBI module. I downloaded it from cpan.
But when I run the make command I get an error. Can you help me?
thanks
txovo# make
cc -c -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fast +Onolimit +Opromote_indirect_calls +DAportable +DS2.0 -DVERSION=\"1.58\" -DXS_VERSION=\"1.58\" +Z "-I/opt/perl/lib/5.8.2/PA-RISC1.1-thread-multi/CORE" Perl.c
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C product; ignored.
(Bundled) cc: warning 422: Unknown option "f" 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/lib/5.8.2/PA-RISC1.1-thread-multi/CORE/perlio.h", line 108: error 4065: Recursion in macro "PerlIO".
*** Error exit code 1
Stop.
txovo#
Ben
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2007 05:32 AM
тАО08-20-2007 05:32 AM
Re: hpux 11.11 pa-risc perl dbi make install
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2007 05:32 AM
тАО08-20-2007 05:32 AM
Re: hpux 11.11 pa-risc perl dbi make install
It would appear that you are not using the ANSI C compiler. There are definitely options being called in this process that only work with that compiler. This compiler is a pay for add in and not part of the Base OS. Please use that compiler to compile the module.
The perl module is written for PA-RISC1.1, which is compatible with a PA-RISC 2.0 system but may be a sign the code you are using is a bit old.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2007 05:34 AM
тАО08-20-2007 05:34 AM
Re: hpux 11.11 pa-risc perl dbi make install
You have attempted to compile a Perl module with HP's ANSI C compiler but don't have the requisite compiler. You only have the "bundled" HP C compiler which is not sufficient.
Your options are to purchase ANSI C:
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B9007AA
...an evaluation copy is also available in the interim...
OR:
...install a Perl distribution that has been compiled with 'gcc' and download the 'gcc' compiler to compile modules requiring compilation. Both a gcc-compiled Perl and a 'gcc' compiler can be obtained here:
http://mirrors.develooper.com/hpux/
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2007 05:35 AM
тАО08-20-2007 05:35 AM
Re: hpux 11.11 pa-risc perl dbi make install
I am not real versed on compiling modules. How do I use the gcc? I believe I have that installed on the system already.
txovo# find / -name gcc
/opt/pwc/gcc
/opt/hp-gcc64-4.0.2/bin/gcc
/opt/hp-gcc64-4.0.2/lib/gcc
/opt/hp-gcc64-4.0.2/libexec/gcc
Thanks
Ben
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2007 05:38 AM
тАО08-20-2007 05:38 AM
Re: hpux 11.11 pa-risc perl dbi make install
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2007 05:39 AM
тАО08-20-2007 05:39 AM
Re: hpux 11.11 pa-risc perl dbi make install
To use the 'gcc' compiler with a Perl distribution, you will need a version of Perl that was _compiled_ with 'gcc'. Your Perl distibution was compiled with HP ANSI C.
Merijn's site referenced in my first post will allow you to fetch a 'gcc'-compiled Perl.
Thereafter, simply use the standard Perl module installation steps.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2007 05:40 AM
тАО08-20-2007 05:40 AM
Re: hpux 11.11 pa-risc perl dbi make install
I use this perl extensively in a production environment and have many other modules installed and operational.
Wouldn't installing a newly compiled version of perl cause issues?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2007 05:47 AM
тАО08-20-2007 05:47 AM
Re: hpux 11.11 pa-risc perl dbi make install
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2007 05:54 AM
тАО08-20-2007 05:54 AM
Re: hpux 11.11 pa-risc perl dbi make install
If I have to do that then it is possible I will run into problems with installing those under the new perl version