DBD::Informix-> make test fails
Posted in 1999
Topics: Installation, Setup & Upgrades, Connectivity: ODBC / JDBC / .NET, Connectivity: ESQL/C, 4GL & Embedded SQL, Server Administration, Security, Permissions & Auditing, Data Types & Schema Design, Platform-Specific Issues
Hi all, I'm trying to install DBD::Informix on a Redhat 5.2 box running SE 7.2. I cannot get past this 'make test' and will appreciate any suggestions. TIA, Nitin. ################# Output of perl Makefile.PL ### [root@web DBD-Informix-0.60]# perl Makefile.PL Configuring DBD::Informix version 0.60... You are using DBI version 1.06 and Perl version 5.00404 Remember to actually read the README file! Using INFORMIX-ESQL Version 9.16.UC1 from /usr/local/informix Beware: DBD::Informix is not yet aware of the new IUS data types. It will work with traditional data types, but will fail badly on any data types which were not in earlier versions of OnLine. DBD::Informix doesn't check whether ODBC or Informix-CLI software is installed any more. It uses a home-brew odbctype.h instead. Testing whether your Informix test environment will work... ESQLTEST Program Running: @(#)$Id: esqltest.ec,v 60.2 1998/06/16 16:45:28 jleffler Exp $ $DBI_DBNAME set to '/home/dba/demo/stores7'. $DBD_INFORMIX_DATABASE set to '/home/dba/demo/stores7'. $DBD_INFORMIX_DATABASE2 unset - defaulting to '/home/dba/demo/stores7'. $DBD_INFORMIX_SERVER set to 'se'. $DBD_INFORMIX_USERNAME is unset. $DBD_INFORMIX_PASSWORD is unset. Testing connection to /home/dba/demo/stores7 CONNECT - no user info (connection_1) Testing concurrent connection to /home/dba/demo/stores7 CONNECT - no user info (connection_2) Your Informix environment is OK Perl: perl5.00404 i386-linux dl_dlopen.xs System: linux porky.redhat.com 2.0.34 #1 thu may 7 10:17:44 edt 1998 i686 unkn own Compiler: cc -O2 -Dbool=char -DHAS_BOOL -I/usr/local/include Using DBI 1.06 installed in /usr/lib/perl5/site_perl/i386-linux/auto/DBI Writing Makefile for DBD::Informix ############## Output of make not included here ## ############## Output of make test ### [root@web DBD-Informix-0.60]# make test PERL_DL_NONLAZY=1 /usr/bin/perl -I./blib/arch -I./blib/lib -I/usr/lib/perl5/i386 -linux/5.00404 -I/usr/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $v erbose=0; runtests @ARGV;' t/*.t t/t00basic..........ok t/t05dbase..........ok t/t07dblist.........Use of uninitialized value at blib/lib/DBD/InformixTest.pm l ine 120. !! Terminating Test !! dubious Test returned status 255 (wstat 65280, 0xff00) Undefined subroutine &Test::Harness::WCOREDUMP called at /usr/lib/perl5/Test/Har ness.pm line 252. make: *** [test_dynamic] Error 2 ############## End of make test ### I can compile and run esql programs esqlbasic and other samples in stores7 database. However, esqltest.ec gives me an error. [root@web DBD-Informix-0.60]# esql -o esqltest esqltest.ec /tmp/cca134451.o: In function `main': /tmp/cca134451.o(.text+0x560): undefined reference to `dbd_ix_opendatabase' /tmp/cca134451.o(.text+0x5ae): undefined reference to `dbd_ix_opendatabase' ##################################################
Phewww.. this one is done. I had to upgrade perl from 5.004_04 to 5.004_05. Though DBD is known to work with 5.004_04, for some reason it didn't work for me. Nitin. Nitin Mule wrote: > > Hi all, > I'm trying to install DBD::Informix on a Redhat 5.2 box running SE 7.2. > I cannot get past this 'make test' and will appreciate any suggestions. > > TIA, > Nitin. > > ################# Output of perl Makefile.PL ### > > [root@web DBD-Informix-0.60]# perl Makefile.PL > Configuring DBD::Informix version 0.60... > You are using DBI version 1.06 and Perl version 5.00404 > Remember to actually read the README file! > > Using INFORMIX-ESQL Version 9.16.UC1 from /usr/local/informix > > Beware: DBD::Informix is not yet aware of the new IUS data types. > It will work with traditional data types, but will fail badly > on any data types which were not in earlier versions of OnLine. > > DBD::Informix doesn't check whether ODBC or Informix-CLI software > is installed any more. It uses a home-brew odbctype.h instead. > > Testing whether your Informix test environment will work... > ESQLTEST Program Running: > @(#)$Id: esqltest.ec,v 60.2 1998/06/16 16:45:28 jleffler Exp $ > $DBI_DBNAME set to '/home/dba/demo/stores7'. > $DBD_INFORMIX_DATABASE set to '/home/dba/demo/stores7'. > $DBD_INFORMIX_DATABASE2 unset - defaulting to > '/home/dba/demo/stores7'. > $DBD_INFORMIX_SERVER set to 'se'. > $DBD_INFORMIX_USERNAME is unset. > $DBD_INFORMIX_PASSWORD is unset. > Testing connection to /home/dba/demo/stores7 > CONNECT - no user info (connection_1) > Testing concurrent connection to /home/dba/demo/stores7 > CONNECT - no user info (connection_2) > Your Informix environment is OK > > Perl: perl5.00404 i386-linux dl_dlopen.xs > System: linux porky.redhat.com 2.0.34 #1 thu may 7 10:17:44 edt 1998 > i686 unkn > own > Compiler: cc -O2 -Dbool=char -DHAS_BOOL -I/usr/local/include > > Using DBI 1.06 installed in /usr/lib/perl5/site_perl/i386-linux/auto/DBI > Writing Makefile for DBD::Informix > > ############## Output of make not included here ## > > ############## Output of make test ### > > [root@web DBD-Informix-0.60]# make test > PERL_DL_NONLAZY=1 /usr/bin/perl -I./blib/arch -I./blib/lib > -I/usr/lib/perl5/i386 > -linux/5.00404 -I/usr/lib/perl5 -e 'use Test::Harness qw(&runtests > $verbose); $v > erbose=0; runtests @ARGV;' t/*.t > t/t00basic..........ok > t/t05dbase..........ok > t/t07dblist.........Use of uninitialized value at > blib/lib/DBD/InformixTest.pm l > ine 120. > !! Terminating Test !! > dubious > Test returned status 255 (wstat 65280, 0xff00) > Undefined subroutine &Test::Harness::WCOREDUMP called at > /usr/lib/perl5/Test/Har > ness.pm line 252. > make: *** [test_dynamic] Error 2 > > ############## End of make test ### > > I can compile and run esql programs esqlbasic and other samples in > stores7 database. However, esqltest.ec gives me an error. > > [root@web DBD-Informix-0.60]# esql -o esqltest esqltest.ec > /tmp/cca134451.o: In function `main': > /tmp/cca134451.o(.text+0x560): undefined reference to > `dbd_ix_opendatabase' > /tmp/cca134451.o(.text+0x5ae): undefined reference to > `dbd_ix_opendatabase' > > ##################################################
Nitin Mule wrote: > > Phewww.. this one is done. I had to upgrade perl from 5.004_04 to > 5.004_05. Though DBD is known to work with 5.004_04, for some > reason it didn't work for me. Errr...why not upgrade to 5.005_03 (or 5.005_02 if the 03 subversion is too recent)? Oh well, glad it works. > Nitin. > > Nitin Mule wrote: > > I'm trying to install DBD::Informix on a Redhat 5.2 box running > > SE 7.2. I cannot get past this 'make test' and will appreciate > > any suggestions. -- Jonathan Leffler (jleffler@informix.com, jleffler@earthlink.net) Guardian of DBD::Informix v0.60 -- see http://www.perl.com/CPAN #include <disclaimer.h>