- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cannot build DBD-Informix with perl and gcc on hpu...
Operating System - HP-UX
1823079
Members
3143
Online
109645
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
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
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-11-2004 08:05 AM
тАО05-11-2004 08:05 AM
Cannot build DBD-Informix with perl and gcc on hpux11.11
Hello
I am trying to build the DBD-Informix module DBD-Informix-2003.04 on HP-UX 11.11v1 with Perl 5.8.0.B and gcc 3.3.3. The informix parameters are:
INFORMIXDIR=/apps11/informix ; export INFORMIXDIR
INFORMIXSERVER=fab3_prd1 ; export INFORMIXSERVER
PATH=$PATH:$INFORMIXDIR/bin ; export PATH
DBD_INFORMIX_DATABASE=stores7 ; export DBD_INFORMIX_DATABASE
INFORMIXC=/usr/local/bin/gcc
I get the following error during the perl Makefile.PL step.
Testing whether your Informix test environment will work...
gcc: +Ofastaccess: No such file or directory
gcc: +DS2.0: No such file or directory
gcc: +DA1.1: No such file or directory
cc1: error: unrecognized option `-H400000'
Failed to compile esqltest.ec to esqltest.o
I cannot find any reference to that problem in the FAQ and the Notes directory.
Regards
OLivier Delaporte
I am trying to build the DBD-Informix module DBD-Informix-2003.04 on HP-UX 11.11v1 with Perl 5.8.0.B and gcc 3.3.3. The informix parameters are:
INFORMIXDIR=/apps11/informix ; export INFORMIXDIR
INFORMIXSERVER=fab3_prd1 ; export INFORMIXSERVER
PATH=$PATH:$INFORMIXDIR/bin ; export PATH
DBD_INFORMIX_DATABASE=stores7 ; export DBD_INFORMIX_DATABASE
INFORMIXC=/usr/local/bin/gcc
I get the following error during the perl Makefile.PL step.
Testing whether your Informix test environment will work...
gcc: +Ofastaccess: No such file or directory
gcc: +DS2.0: No such file or directory
gcc: +DA1.1: No such file or directory
cc1: error: unrecognized option `-H400000'
Failed to compile esqltest.ec to esqltest.o
I cannot find any reference to that problem in the FAQ and the Notes directory.
Regards
OLivier Delaporte
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2004 12:09 PM
тАО05-11-2004 12:09 PM
Re: Cannot build DBD-Informix with perl and gcc on hpux11.11
Hi!
If you create a small test C program like this called hello.c:
#include
int main()
{ printf("hello world\n");}
and then try to compile it with the following compile options:
gcc +Ofastaccess +DS2.0 +DA1.1 hello.c
do you get the same error?
My suspicion is that these errors are occurring because the gcc compiler doesn't recognize these compiler options, where the cc (purchasable Ansi C compiler)and aCC (purchasable Ansi C++ compiler) would recognize both of those options.
But that is just a guess. I don't have a gcc compiler installed.
If you create a small test C program like this called hello.c:
#include
int main()
{ printf("hello world\n");}
and then try to compile it with the following compile options:
gcc +Ofastaccess +DS2.0 +DA1.1 hello.c
do you get the same error?
My suspicion is that these errors are occurring because the gcc compiler doesn't recognize these compiler options, where the cc (purchasable Ansi C compiler)and aCC (purchasable Ansi C++ compiler) would recognize both of those options.
But that is just a guess. I don't have a gcc compiler installed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2004 05:05 AM
тАО05-13-2004 05:05 AM
Re: Cannot build DBD-Informix with perl and gcc on hpux11.11
Thank you for your reply. The problem was to find where those flags were inserted in the perl Makefile.PL script and I found those flags in the Informix esql shell script and replaced them with gcc flags.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2004 05:13 AM
тАО05-13-2004 05:13 AM
Re: Cannot build DBD-Informix with perl and gcc on hpux11.11
Hi Olivier,
One thing to consider is the Informix bit-width. If Informix is 64-bit, then you need to compile the DBD module with a 64-bit Perl.
It's available on Procura's site or any of it's mirrors. I used it to compile an SQL DBD & DBI that was to access a 64-bit Oracle DB & it worked like a champ.
Rgds,
Jeff
One thing to consider is the Informix bit-width. If Informix is 64-bit, then you need to compile the DBD module with a 64-bit Perl.
It's available on Procura's site or any of it's mirrors. I used it to compile an SQL DBD & DBI that was to access a 64-bit Oracle DB & it worked like a champ.
Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP