DBD:: informix -- Unable to make on HPUX-11
Posted in 1999
Topics: Installation, Setup & Upgrades, Connectivity: ESQL/C, 4GL & Embedded SQL, Security, Permissions & Auditing, Licensing & Editions, Platform-Specific Issues, Internationalization & Character Sets
Here is my output ::
Has anyone else seen this??
-----------------------------------------------------------------------------------
Configuring DBD::Informix version 0.61_02...
You are using DBI version 1.13 and Perl version 5.00404
Remember to actually read the README file!
WARNING: if you find it necessary to report a problem with
DBD::Informix (and problems can occur despite all the checking
this script does), do yourself a favour and read the README file
and report the problem correctly. The author has been known to
get extremely curt (to the point of being downright stroppy, if
not objectionable) when a problem report is posted to the
dbi-users@fugue.com mailing list or the comp.databases.informix
news group and the report does not have the correct information.
*** YOU WERE WARNED ***
Using INFORMIX-ESQL Version 7.24.HC1 from /fsc/infx730
Assert macro will be disabled!
Use of uninitialized value at Makefile.PL line 326.
Gosh! Perl doesn't think your compiler handles prototypes.
Well, even though I don't believe it, we'll take Perl's word
for it and we won't try to force them into use. Don't you
need to upgrade your compiler? If you run into compilation
problems with the test program, you will need to revisit this
issue.
Testing whether your Informix test environment will work...
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (esqltest.o) was detected. The linked output may not run on a PA 1.x system.
ESQLTEST Program Running:
@(#)$Id: esqltest.ec,v 61.3 1998/11/09 18:24:35 jleffler Exp $
$DBI_DBNAME unset - defaulting to 'stores'.
$DBD_INFORMIX_DATABASE set to 'fdev'.
$DBD_INFORMIX_DATABASE2 set to 'fcal@fs2_dev_net'.
$DBD_INFORMIX_USERNAME is unset.
$DBD_INFORMIX_USERNAME2 is unset.
$DBD_INFORMIX_PASSWORD is unset.
$DBD_INFORMIX_PASSWORD2 is unset.
Testing connection to fdev
CONNECT - no user info (connection_1)
Testing concurrent connection to fcal@fs2_dev_net
CONNECT - no user info (connection_2)
Your Informix environment is (probably) OK
Uh oh! We're on a machine which does not use the C compiler to
create shared libraries. Please consider recompiling Perl using
the C compiler to create shared libraries; it makes life much
easier for everyone!
Fortunately, you are using a new version of ESQL/C. We could
use 'esql -libs' to tell us which libraries to use, except that
some versions of the esql script are very Clintonian and don't
tell us the whole truth. So we have to do a fiddly workaround,
editing the esql script on the fly and feeding the edited
version to the shell and ... Oh, you really don't want to know
what we do; it's horrid but it works, usually!
... We are going to use the library list:
-L/fsc/infx730/lib -L/fsc/infx730/lib/esql -lixsql -lixasf -lixgen -lixos -lixgls -lnsl_s -lm -lV3 -lcl -lsec /fsc/infx730/lib/esql/checkapi.o -lixglx
Perl: perl5.00404 PA-RISC1.1 dl_none.xs
System: hp-ux fsce06 b.10.20 a 9000831 2014389805 two-user license
Compiler: cc -O -D_HPUX_SOURCE
Loader: ld
Using DBI 1.13 installed in /opt/perl5/lib/site_perl/PA-RISC1.1/auto/DBI
Writing Makefile for DBD::Informix
gpenk fsce02 fs2_dev> make
/usr/bin/perl -I/opt/perl5/lib/PA-RISC1.1/5.00404 -I/opt/perl5/lib /opt/perl5/lib/ExtUtils/xsubpp -typemap /opt/perl5/lib/ExtUtils/typemap Informix.xs >xstmp.c && mv xstmp.c Informix.c
cc -c -I/fsc/infx730/incl/esql -I/opt/perl5/lib/site_perl/PA-RISC1.1/auto/DBI -D_HPUX_SOURCE -O -DVERSION=\\"0.61_02\\" -DXS_VERSION=\\"0.61_02\\" -I/opt/perl5/lib/PA-RISC1.1/5.00404/CORE -DESQLC_VERSION=724 -DNDEBUG -Ae Informix.c
INFORMIXC="/usr/bin/perl esqlcc" ESQLCC="cc" esql -c -shared -I/fsc/infx730/incl/esql -I/opt/perl5/lib/site_perl/PA-RISC1.1/auto/DBI -D_HPUX_SOURCE -O -DVERSION=\\"0.61_02\\" -DXS_VERSION=\\"0.61_02\\" -I/opt/perl5/lib/PA-RISC1.1/5.00404/CORE-DESQLC_VERSION=724 -DNDEBUG -Ae dbdimp.ec
cc: "/usr/include/stdlib.h", line 207: error 1711: Inconsistent parameter list declaration for "getopt".
*** Error exit code 1
Stop.
gpenk fsce02 fs2_dev>
------------------------------------------------------------------------------------------------
Thanks for any help..
Greg
--
=================================================================
| gpenk@spf.fairchildsemi.com Fairchild Semiconductor |
| Tel: (207) 775-8305 333 Western Avenue |
| South Portland, Maine 04106 |
=================================================================