Cannot make DBD::Informix
Posted in 2000
System: AIX 4.2
Perl 5.005_03
DBI-1.13 already installed
Digest-MD5-2.09 already installed
After failure of `perl -MCPAN -e 'install Bundle::DBD::Informix', I
successfully ran `perl Makefile.PL' in the DBD::Informix directory. However,
the subsequent `make' failed for both DBD-Informix-0.97002 and
DBD-Informix-0.97001.
Having read the Informix DBD README, I rebuilt Perl, using cc instead of ld
when creating shared libraries. (I don't know how to use cc to build shared
libraries, but I entered `cc' instead of the default `ld' when the Perl
Configure script asked me which program to use to build shared libraries.)
The resulting Perl failed about 40% of the time when I subsequently ran
`make test', so I backed off this approach and kept my previously built
ld-made Perl binaries.
I want to get DBD::Informix working. Any help will be appreciated.
The DBD::Informix make failures are:
(DBD-Informix-0.97002)
/bin/make
...
INFORMIXC="/bin/perl esqlcc" ESQLCC="cc" esql -c -shared-I/usr/informix/incl/esql -I/usr/local/perl5.005_03/lib/5.00503/aix/auto/DBI
-I/usr/local/perl5.005_03/lib/site_perl/5.005/aix/auto/DBI -D_ALL_SOURCE
-D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=8192 -O -DVERSION=\\"0.97002\\"
-DXS_VERSION=\\"0.97002\\" -I/usr/local/perl5.005_03/lib/5.00503/aix/CORE
-DESQLC_VERSION=914 -DNDEBUG -qlanglvl=ansi -D__H_LOCALEDEF esqlc_v6.ec
rm -f esqlc_v6.c
Running Mkbootstrap for DBD::Informix ()
chmod 644 Informix.bs
LD_RUN_PATH="" ld -o blib/arch/auto/DBD/Informix/Informix.so -bhalt:
4 -bM:SRE -bI:/usr/local/perl5.005_03/lib/5.00503/aix/CORE/perl.exp -bE:
Informix.exp -b noentry -lc -L/usr/local/lib Informix.o dbdimp.o dbdattr.o
sqltoken.o sqltype.o ixblob.o decsci.o odbctype.o link.o esqlcver.o esqlc_v6.
o -L/usr/informix/lib -L/usr/informix/lib/esql -lifsql -lifasf -lifgen
-lifos -lifgls -lnetstub -ldl -lm /usr/informix/lib/esql/checkapi.o -lifglx
ld: 0706-006 Cannot find or open library file: -l netstub
ld:open(): No such file or directory
make: The error code from the last command is 255.
(DBD-Informix-0.97001)
/bin/make
...
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/DBD
mkdir blib/arch/auto/DBD/Informix
Running Mkbootstrap for DBD::Informix ()
chmod 644 Informix.bs
LD_RUN_PATH="" ld -o blib/arch/auto/DBD/Informix/Informix.so -bhalt:
4 -bM:SRE -bI:/usr/local/perl5.005_03/lib/5.00503/aix/CORE/perl.exp -bE:
Informix.exp -b noentry -lc -L/usr/local/lib Informix.o dbdimp.o dbdattr.o
sqltoken.o sqltype.o ixblob.o decsci.o odbctype.o link.o esqlcver.o esqlc_v6.
o -L/usr/informix/lib -L/usr/informix/lib/esql -lifsql -lifasf -lifgen
-lifos -lifgls -lnetstub -ldl -lm /usr/informix/lib/esql/checkapi.o -lifglx
ld: 0706-006 Cannot find or open library file: -l netstub
ld:open(): No such file or directory
make: The error code from the last command is 255.
-----------------------------------------------------------------------------
-
Peeter Pirn Lincoln Financial Systems