>> I'm attempting to install DBD and DBI for Informix for perl 5.05 and I keep
>> getting run time errors when I try to do a simple connect in a test script.
>> My question today is which should I install first, DBI::Informix or DBD? Or
>> does that matter.
>> I can give more details surrounding the Carp messages but basically the
>> script doesn't seem to be able to load the Informix driver.
>You need to compile and install DBI before you even try to
>You need to be able to compile and run ESQL/C programs before
>you try to install DBD::Informix.
>This is covered in the README file which comes with DBD::Informix.
>If you're remotely adventurous and have a half-way decent Internet
>connection, you should aim to use:
> perl -MCPAN -e 'install Bundle::DBD::Informix'
>which will compile and install all the prerequisite Perl modules
>(such as DBI) before compiling and installing DBD::Informix. It
>does require some configuration, and you will probably want to
>install a few other bundles first:
> perl -MCPAN -e 'install Bundle::libnet'
> perl -MCPAN -e 'install LWP' # Maybe Bundle::LWP works?
> perl -MCPAN -e 'install Digest::MD5'
>The first time through, it will ask you various configuration questions.
>Thereafter, it does it automatically and fast, and updates whatever needs
>updating (eg the Perl CPAN module may well need an upgrade itself).
>Try it -- it is really impressive when you get it working!
Further to the above, there is a Bundle::LWP, and you can do pretty much
everything in one fell swoop with:
perl -MCPAN -e 'install CPAN; reload CPAN;
install qw(Bundle::libnet Bundle::LWP Digest::MD5 Bundle::DBD::Informix)'
This updates and reloads CPAN (1.52 is available today), and then checks
that the libnet, LWP and MD5 modules are installed, and finally deals
Guardian of DBD::Informix v0.95 -- http://www.perl.com/CPAN
"I don't suffer from insanity; I enjoy every minute of it!"