Operating System - HP-UX
1832582 Members
3489 Online
110043 Solutions
New Discussion

DBD Informix v1.04 problem

 
Alfin Marabillon
New Member

DBD Informix v1.04 problem

Hi All,
I have here a problem concerning the compilation of DBD. Hope you guys could
help me. Thank you in advance...


=======================
Here's the result when I ran "make Makefile.PL"
-...
# perl Makefile.PL

Configuring Informix Database Driver for Perl Version 1.04.PC1 (2002-11-21) (aka DBD::Informix)
You are using DBI version 1.21 and Perl version 5.006001
Remember to actually read the README file!

Perl: perl5.006001 PA-RISC1.1-thread-multi dl_hpux.xs
System: hp-ux simba b.11.00 a 9000800 278942341 two-user license
Compiler: cc -O -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +DAportable +DS32 -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ae
Loader: ld

Using IBM Informix CSDK Version 2.81, IBM Informix-ESQL Version 9.53.HC1 from /home/informix

Beware: DBD::Informix is not yet aware of all the new IUS data types.

Assert macro will be disabled!

lib/DBD/Informix/Defaults.pm written OK
esqlvrsn.h written OK
esqlinfo.h written OK

Testing whether your Informix test environment will work...
cc: warning 441: Previous '+DA' or '+DD' option overridden by '+DAportable' option.
cc: warning 441: Previous '+DS' option overridden by '+DS32' option.
cc: procedure (): warning 6060: Model/processor name unknown; performing instruction scheduling for PA8000. (6060)
cc: warning 441: Previous '+DA' or '+DD' option overridden by '+DAportable' option.
cc: warning 441: Previous '+DS' option overridden by '+DS32' option.
cc: procedure (): warning 6060: Model/processor name unknown; performing instruction scheduling for PA8000. (6060)
ESQLTEST Program Running:
@(#)$Id: esqltest.ec,v 100.3 2002/02/08 22:49:23 jleffler Exp $
$INFORMIXDIR is set to '/home/informix'.
$INFORMIXSERVER is set to 'pscrp740'.
$DBI_DBNAME unset - defaulting to 'stores'.
$DBD_INFORMIX_DATABASE unset - defaulting to 'stores'.
$DBD_INFORMIX_DATABASE2 unset - defaulting to 'stores'.
$DBD_INFORMIX_USERNAME is unset.
$DBD_INFORMIX_USERNAME2 is unset.
$DBD_INFORMIX_PASSWORD is unset.
$DBD_INFORMIX_PASSWORD2 is unset.
Testing connection to stores
CONNECT TO 'stores' - no user info
Testing concurrent connection to stores
CONNECT TO 'stores' - no user info
Your Informix environment is (probably) OK


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 do not
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!
... Removing reference to -lcl (override with DBD_INFORMIX_HPUX_USELIBCL)
... We are going to use the library list:
-lifsql -lifasf -lifgen -lifos -lifgls -lnsl_s -lm -lsec -lnsl_s /home/informix/lib/esql/checkapi.o -lifglx

Using DBI 1.21 installed in /opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi/auto/DBI
Writing Makefile for DBD::Informix
# pwd
/spool/infx/depot/DBD-Informix-1.04.PC1
You have mail in /var/mail/root
----....

... and here's when I ran the "make"
----....
# make
Skip blib/lib/DBD/Informix/TechSupport.pm (unchanged)
Skip blib/lib/DBD/Informix/TestHarness.pm (unchanged)
Skip blib/lib/DBD/Informix/Summary.pm (unchanged)
Skip blib/lib/DBD/Informix/Defaults.pm (unchanged)
Skip blib/lib/DBD/Informix/Configuration.pm (unchanged)
Skip blib/lib/Bundle/DBD/Informix.pm (unchanged)
Skip blib/lib/DBD/Informix.pm (unchanged)
/usr/bin/perl -I/opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi -I/opt/perl/lib/5.6.1 /opt/perl/lib/5.6.1/ExtUtils/xsubpp -typemap /opt/perl/lib/5.6.1/ExtUtils/typemap Informix.xs > Informix.xsc && mv Informix.xsc Informix.c
cc -c -I/home/informix/incl/esql -I/opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/auto/DBI -I/opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi/auto/DBI -I/auto/DBI -I/opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi/auto/DBI -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +DAportable +DS32 -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ae -O -DVERSION=\"1.04.PC1\" -DXS_VERSION=\"1.04.PC1\" +z -I/opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/CORE -DESQLC_VERSION=953 -DNDEBUG Informix.c
cc: procedure (): warning 6060: Model/processor name unknown; performing instruction scheduling for PA8000. (6060)
cc: "/usr/include/sys/socket.h", line 504: warning 562: Redeclaration of "sendfile" with a different storage class specifier: "sendfile" will have internal linkage.
cc: "/usr/include/sys/socket.h", line 505: warning 562: Redeclaration of "sendpath" with a different storage class specifier: "sendpath" will have internal linkage.
cc: "Informix.xs", line 26: warning 558: Empty declaration.
cc: "Informix.xs", line 102: error 1532: Reference through a non-pointer.
cc: "Informix.xs", line 102: error 1533: Illegal function call.
*** Error exit code 1
----......

Here's the perl config:
# perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=hpux, osvers=11.00, archname=PA-RISC1.1-thread-multi
uname='hp-ux simba b.11.00 a 9000800 278942341 two-user license '
config_args='-des -Dcc=cc -Dprefix=/opt/perl -Accflags=-D_LARGEFILE_SOURCE -Accflags=-D_FILE_OFFSET_BITS=64 -Accflags=+DAportable -Accflags=+DS32 -Uinstallusrbinperl -Ud_sigsetjmp -Dusethreads -Duseithreads -Dinc_version_list=5.6.0/ 5.6.0 -Dd_attribut=undef -Dcf_by=ActiveState -Dcf_email=ActivePerl@ActiveState.com'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cc', ccflags =' -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +DAportable +DS32 -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ae',
optimize='-O',
cppflags='-DUSE_REENTRANT_API -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +DAportable +DS32 -I/usr/local/include'
ccversion='B.11.11.02', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, usemymalloc=n, prototype=define
Linker and Libraries:
ld='ld', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
libs=-lnsl -lnm -lndbm -lmalloc -ldld -lm -lpthread -lc -lndir -lcrypt -lsec
perllibs=-lnsl -lnm -lmalloc -ldld -lm -lpthread -lc -lndir -lcrypt -lsec
libc=/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E '
cccdlflags='+z', lddlflags='-b +vnocompatwarnings -L/usr/local/lib'


Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Locally applied patches:
ActivePerl Build 633
Built under hpux
Compiled at Jun 17 2002 21:04:57
@INC:
/opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi
/opt/perl/lib/5.6.1
/opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi
/opt/perl/lib/site_perl/5.6.1
/opt/perl/lib/site_perl
.
=====================
We're using Informix Dynamic Server Version 9.30.HC3

BTW, I'm already done installing the DBI and Client SDK as well as the HiRes modules.

Sorry I'm still new to Informix environment, if ever you guys need other infos aside from the infos above I'll just append it later.
best regards, ... Alfin M.