HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- perl DBI problem
Operating System - HP-UX
1833193
Members
3283
Online
110051
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
Go to solution
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-29-2005 07:58 AM
05-29-2005 07:58 AM
Hi,
I am trying to install DBI on our server, I have successfully download and install perl from merjins website (perl-5.8.6-gcc-3.4.3-11.11-elf64.tbz) and DBI-1.48 (CPAN).
I am following these steps.
1. #perl Makefile.PL (successull)
2. #make (error - see below)
3. #make test
4. #make install
I received the following error. I've check other threads regarding this error and from there it says compiler problem. We have aCC installed in HPUX 11.11 64 bit.
cscpcc@edw-dev [/home/cscpcc/perl/DBI-1.48]
#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.48\" -DXS_VERSION=\"1.48\" +Z "-I/opt/perl/lib/5.8.3/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.3/PA-RISC1.1-thread-multi/CORE/perlio.h", line 108: error 4065: Recursion in macro "PerlIO".
*** Error exit code 1
Stop.
Any would would be greatly appreciated.
Thanks,
Paul
I am trying to install DBI on our server, I have successfully download and install perl from merjins website (perl-5.8.6-gcc-3.4.3-11.11-elf64.tbz) and DBI-1.48 (CPAN).
I am following these steps.
1. #perl Makefile.PL (successull)
2. #make (error - see below)
3. #make test
4. #make install
I received the following error. I've check other threads regarding this error and from there it says compiler problem. We have aCC installed in HPUX 11.11 64 bit.
cscpcc@edw-dev [/home/cscpcc/perl/DBI-1.48]
#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.48\" -DXS_VERSION=\"1.48\" +Z "-I/opt/perl/lib/5.8.3/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.3/PA-RISC1.1-thread-multi/CORE/perlio.h", line 108: error 4065: Recursion in macro "PerlIO".
*** Error exit code 1
Stop.
Any would would be greatly appreciated.
Thanks,
Paul
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 03:52 PM
05-29-2005 03:52 PM
Re: perl DBI problem
Paul,
I wonder about the dependency on the C/ANSI C compiler ? Might you try this link:
http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,,1858,00.html
I wonder about the dependency on the C/ANSI C compiler ? Might you try this link:
http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,,1858,00.html
Golf is a Good Walk Spoiled, Mark Twain.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 06:51 PM
05-29-2005 06:51 PM
Solution
If you got my build, then why build DBI???
My build already includes the most recent DBI!
# perl -MV=DBI
Furthermore, *IF* you are using *my* build, you have a $PATH problem, because your phase 1 (perl Makefile.PL) shows that the perl you use wants to use the HP C-ANSI-C compiler, and all my builds are created with GNU gcc.
# which perl
should be /opt/perl/bin/perl or /opt/perl64/bin/perl
DBI is an XS module, which means you will ness an ANSI C compiler to build it. In almost all cases it is preferable to use the same compiler as the one perl was build with. In my case that is- as said - GNU gcc, which you can also fetch from my site.
Enjoy, Have FUN! H.Merijn [ Mer i j n, not Mer j i n ]
My build already includes the most recent DBI!
# perl -MV=DBI
Furthermore, *IF* you are using *my* build, you have a $PATH problem, because your phase 1 (perl Makefile.PL) shows that the perl you use wants to use the HP C-ANSI-C compiler, and all my builds are created with GNU gcc.
# which perl
should be /opt/perl/bin/perl or /opt/perl64/bin/perl
DBI is an XS module, which means you will ness an ANSI C compiler to build it. In almost all cases it is preferable to use the same compiler as the one perl was build with. In my case that is- as said - GNU gcc, which you can also fetch from my site.
Enjoy, Have FUN! H.Merijn [ Mer i j n, not Mer j i n ]
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2005 03:27 PM
05-30-2005 03:27 PM
Re: perl DBI problem
Hi Merijin,
Thanks, It is a PATH problem.
Regards,
Paul
Thanks, It is a PATH problem.
Regards,
Paul
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP