I successfully built DBD::Informix for W2K (twice actually, for 5.6 and
5.8).
I built it using MSVC and had it work with my ActiveState build.
It took some time the first time through.  There were several issues and
problems I ran
into, but I managed to figure them out.

Some advice: Make sure your perl installation is not in the "Program Files"
or
any directory that has a "space" in the name.  I think ActiveState Perl
defaults
Perl to an installation location of "C:\Perl", but per IT policy at our
site, our
site-specific installation process places all apps in "C:\Program Files",
e.g. "C:\Program Files\Perl".

The DBD make process makes several references to this path but does not
support blanks (that
is, there are several points where the process breaks or fails when it
encounters such a path).
Furthermore, the make process calls Perl utility packages which use this
path and I found that
the packages don't support blanks either (same symptoms).   I managed to
find and fix several of
the "bugs" in the make code and Perl packages, and developed work-arounds in
other cases.
This path issue accounted for the majority of build problems I ran into.



-----Original Message-----
From: Jonathan Leffler [mailto:[EMAIL PROTECTED]
Sent: Friday, January 09, 2004 2:16 PM
To: BAFFIGI, Christian
Cc: DBI Users
Subject: Re: Perl and DBI (and either DBD::ODBC or DBD::Informix)


BAFFIGI, Christian wrote:

> I want to generate a connection to Informix Database with Perl through
DBI.
> Can anybody tell me, which steps I need to follow to install PERL and DBI?


The harder option is to build DBD::Informix.  For that, you need a C
compiler (MSVC), and you need CSDK.  Further, you may find it easier
to build your own Perl than to add onto a pre-built Perl.  It can be
done; it is not trivial.  You may be able to add the module to an
ActiveState build -- but I can't promise it is trivial.


Reply via email to