Re: Perl DBD:Informix on NT
Posted in 2003
Topics: Installation, Setup & Upgrades, Connectivity: ODBC / JDBC / .NET, Server Administration
To avoid getting a C compiler and building the Informix module on Windows, I used the ODBC module and was able to connect to my Informix databases from Windows easily. Here were the steps: 1- Install the CSDK on Windows 2- Set all the connection info in setnet32 and test it with ilogin or dbping. 3- Create a ODBC DSN and test it. 4- Install the DBD:ODBC perl module 5- Create my perl script with using DBD:ODBC and the DSN created in setp 3. The only issues you may have are if you are using Informix specific features that are not supported in the ODBC module. If you stick to generic SQL you probably will not have problems. Matt >From: Jonathan Leffler <jleffler@earthlink.net> >Reply-To: Jonathan Leffler <jleffler@earthlink.net> >To: informix-list@iiug.org >Subject: Re: Perl DBD:Informix on NT >Date: Fri, 05 Sep 2003 03:38:37 GMT > >Cindy Lichtenauer wrote: > > > Can anyone tell me if this is available and supported? > > > > I cannot find any references to NT on the CPAN site. > > > > Thanks! > >The source did build on NT a year or two ago -- I've not done anything >consciously to break it (MS might have done, but not me). However, if >you're using ActiveState Perl (probably wise) you have to work out >what all their bells, whistles and other compilation options mean to a >poor hard-working DBD module. You need a C compiler - the one used to >build your Perl. You need IBM Informix CSDK, but make sure the >warnings are not cranked up as CSDK was (is?) not good about things >like const-correctness. Let me know how it goes. > >Since I don't have a C compiler on a Windows machine, I don't ever do >the building myself - not any more. > >-- >Jonathan Leffler #include <disclaimer.h> >Email: jleffler@earthlink.net, jleffler@us.ibm.com >Guardian of DBD::Informix v2003.04 -- http://dbi.perl.org/ > _________________________________________________________________ Compare Cable, DSL or Satellite plans: As low as $29.95. https://broadband.msn.com sending to informix-list