Skip Menu |

This queue is for tickets about the DBD-Informix CPAN distribution.

Report information
The Basics
Id: 29364
Status: resolved
Worked: 30 min
Priority: 0/
Queue: DBD-Informix

People
Owner: j.leffler [...] acm.org
Requestors: Stephan.Hendl [...] lds.brandenburg.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 2007.0903
  • 2007.0904
Fixed in: 2007.0914



Subject: installation problem on 11.23
Date: Fri, 14 Sep 2007 14:53:12 +0200
To: <bug-DBD-Informix [...] rt.cpan.org>
From: "Stephan Hendl" <Stephan.Hendl [...] lds.brandenburg.de>
Hi, we have an installed hpux-11.23 with perl-5.8.8 from porting centre and the hpux aCC compiler. The error from installing DBD::Informix is the same when we try to install via CPAN as well as by hand. The installation program looks for "dbd::ix.o" which is not foundable ;-( What did I wrong? Thanks and regards Stephan --------------- root@hp64:/root/.cpan/build/DBD-Informix-2007.0904# perl Makefile.PL *** ExtUtils::AutoInstall version 0.63 *** Checking for dependencies... [Core Features] - DBI ...loaded. (1.52 >= 1.38) [High Resolution Timing] - Time::HiRes ...loaded. (1.9707) [POD Format Testing] - Test::Pod ...loaded. (1.26) *** ExtUtils::AutoInstall configuration finished. Configuring IBM Informix Database Driver for Perl DBI Version 2007.0904 (2007-09-04) (aka DBD::Informix) You are using DBI version 1.52 and Perl version 5.008008 Remember to actually read the README file! Perl: perl v5.008008 IA64.ARCHREV_0 dl_hpux.xs System: hp-ux valhalla b.11.23 u ia64 0392673761 unlimited-user license *** Ideally, you should upgrade to DBI version 1.59 or later. Using INFORMIXDIR=/opt/lib/informix/clientsdk.2.90.UC4 and ESQL/C compiler esql Using IBM Informix CSDK Version 2.90, IBM Informix-ESQL Version 2.90.UC4 from /opt/lib/informix/clientsdk.2.90.UC4 Note that bug RT#13708 (IBM CQ bug idsdb00139040) may affect you. In particular, if test t/t93lvarchar.t detects problems, consider an upgrade to CSDK 3.00 or later - it seems to be fixed there. All other parts of DBD::Informix will probably work. Beware: DBD::Informix is not yet aware of all the new IUS data types. Assert macro will be disabled! ** Warning ** you will build DBD::Informix for a relocatable INFORMIXDIR! lib/DBD/Informix/Defaults.pm written OK esqlinfo.h written OK Testing whether your Informix test environment will work... ESQLTEST Program Running: @(#)$Id: esqltest.ec,v 2007.3 2007/06/09 23:19:15 jleffler Exp $ $INFORMIXDIR is set to '/opt/lib/informix/clientsdk.2.90.UC4'. $INFORMIXSERVER is set to 'hkr14'. $DBI_DBNAME unset - defaulting to 'stores'. $DBD_INFORMIX_DATABASE set to 'stores'. $DBD_INFORMIX_DATABASE2 unset - defaulting to 'stores'. $DBD_INFORMIX_USERNAME is set to 'dogro'. $DBD_INFORMIX_USERNAME2 is unset - defaulting to 'dogro'. $DBD_INFORMIX_PASSWORD is set. $DBD_INFORMIX_PASSWORD2 is unset - defaulting to $DBD_INFORMIX_PASSWORD. Testing connection to stores CONNECT TO 'stores' with user info Testing concurrent connection to stores CONNECT TO 'stores' with 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! cc: warning 1913: `dbd::ix.o' does not exist or cannot be read ld: I/O error, file "dbd::ix.o": No such file or directory Fatal error. Couldn't execute /opt/lib/informix/clientsdk.2.90.UC4/bin/esql to determine the ESQL/C libraries # Looks like your test died before it could output anything. -- Mit frendlichen Grüßen Im Auftrag Dr. Stephan Hendl Systemmanagement ----------------------------------- Landesbetrieb für Datenverarbeitung und IT-Serviceaufgaben Adresse: 14467 Potsdam, Dortustr. 46 Telefon: +49 331 39-471 Fax: +49 331 27548-1187 Mobil: +49 160 90645893 E-Mail: Stephan.Hendl@lds.brandenburg.de Internet: http://www.lds-bb.de
RT-Send-CC: Stephan.Hendl [...] lds.brandenburg.de
Dear Stephan, Thanks for the bug report - sorry about the bug. On line 698 of Makefile.PL, there is a code that reads: my $libs = `sed 's/^[ ]*exec/echo/' $esqlscript | sh -s -- -o pseudonym $esqlc_flags dbd::ix.o` The three blanks between the square brackets should be a blank and a tab, but are actually multiple blanks. Fix that to a blank and a tab, and you should be able to get going again. I suspect that means I should be using a Perl script instead of sed; then I'd be able to write [ \t] or even \s to mean what I say without risking problems. Hence the long-term fix: my $libs = `perl -pe 's/^\s*exec/echo/' $esqlscript | sh -s -- -o pseudonym $esqlc_flags dbd::ix.o` Well, except I need to make sure I'm using the correct Perl, which is $^X or somesuch which I'll need to check up on. Or add 'use English;' and something appropriate. -- Jonathan Leffler <jleffler@earthlink.net> <jleffler@us.ibm.com> Guardian of DBD::Informix 2007.0904 -- see http://dbi.perl.org/ "I don't suffer from insanity - I enjoy every minute of it!"
Fixed in 2007.0914 uploaded to CPAN a few minutes ago. -- Jonathan Leffler <jleffler@earthlink.net> <jleffler@us.ibm.com> Guardian of DBD::Informix 2007.0904 -- see http://dbi.perl.org/ "I don't suffer from insanity - I enjoy every minute of it!"