On Mon, 4 Oct 2004 17:04:30 -0400, Rutherdale, Will
<[EMAIL PROTECTED]> wrote:
> I have two different platforms for which I'm installing and running Perl DBI
> and DBD::Informix.  One is a Solaris 7 system with Perl 5.6.1, and the other
> is Solaris 8 with Perl 5.8.3.

OK.  At some point, which versions of DBI, DBD::Informix, ESQL/C or
CSDK, and IDS will be useful information.  The DBD::Informix code is
mainly developed on Solaris - it tends to work well there.

> Everything runs fine, including an application I've written that uses DBI
> and DBD::Informix, with almost no hitches in the installation.
> 
> However hitches there are.  In particular I'm seeing errors in 'make test'.
> 
> I recorded the entire process in each case using the 'script' utility, but
> the typescript files are huge (because I used TEST_VERBOSE=1) and I don't
> want to inundate the whole list with the attachments.  Perhaps someone will
> request the typescript files (which include perl -V) and I can send them.
> 
> Here's the executive summary of 'make test':
> 
> - errors in 5.6.1 system
>     - lacks Test::More

Oh.  I guess that needs to be made into a prerequisite, then.

>     - DBI:  Failed 35/39 test scripts, 10.26% okay.
>             0/60 subtests failed, 100.00% okay.
>     - DBD::Informix:  Failed 7/51 test scripts, 86.27% okay.
>                       259/751 subtests failed, 65.51% okay.

I'd recommend 'perl -MCPAN -e 'install Test::More' and repeat. 
Chances are you're OK, given your observations, but having that many
failures is uncomfortable.

> - errors in 5.8.1 system
>     - DBI:  All tests successful,
>             10 tests and 110 subtests skipped.
>     - DBD::Informix:  Failed 1/51 test scripts, 98.04% okay.
>                       10/746 subtests failed, 98.66% okay.

At a guess, the failed tests are in t9[0-9]*.t and failed because of
missing smart blob spaces.  If so, you can be pretty comfortable with
the installation -- there are environment variables documented in
Notes/environment.variables (which should be referenced from the
README file) to tune or suppress the use of smart blobs.
 
> It's possible the installation is fine and that the missing Test::More
> accounts for the large percentage of failures in 'make test'.

Very likely.

> One more issue:  I am building for a custom-named directory.  I found with
> both DBI and DBD::Informix that I couldn't find a place to specify up front
> which target directories I want.  (I'm used to being able to do this with
> other packages such as gcc.)  I had to hand tweak Makefile after running
> 'perl Makefile.PL' to change a couple of variables that control the target
> directories.  This worked and has no relationship as far as I can tell to
> the 'make test' errors.

No relationship at all - with a very high degree of probability.

> So, does anybody have experience with builds on these platforms?  Can anyone
> offer insights as to how reliable the installed libraries are?
> 
> Any comments on the more minor issue of changing the target directory?

Look at the Notes/nonroot.install file in DBD::Informix for
information about this.  Also consider 'perldoc ExtUtils::MakeMaker'


-- 
Jonathan Leffler <[EMAIL PROTECTED]>  #include <disclaimer.h>
Guardian of DBD::Informix - v2003.04 - http://dbi.perl.org
"I don't suffer from insanity - I enjoy every minute of it."

Reply via email to