in reply to DBI::DB2 module installation failed

Note that there are two requirements. One anonymous monk pointed out - you must have DBI installed first. The second is that you actually must have the application development client installed. The administration and runtime clients will not suffice because they're missing all the header files that are needed for compilation. (Technically, you can install the application development client, compile, and then uninstall the client and reinstall your admin or runtime client, and it should work - I've not tried that.)

If you have anything other than the above three clients, the application development tools should be selectable for installation - you don't need to go get the application development client if you already have something else, you just have to install the tools.

Hope that helps,

(PS - it's DBD::DB2, not DBI::DB2. But I doubt that's your problem here.)

  • Comment on Re: DBI::DB2 module installation failed

Replies are listed 'Best First'.
Re^2: DBI::DB2 module installation failed
by vennirajan (Friar) on Feb 17, 2006 at 05:21 UTC
    Dear Tanktalus,

    Let me say thanks first. You are correct ! The module i am trying to install is "DBD-DB2-0.78".
    I have already installed the DBI module and also the driver for the DB2 "078_ADCL_LNX_32_NLV". I can able to access the DB2 thru the command line (using the command "db2"). That works fine. But, i am facing problem in installing this perl module.

       I have also set the environment variables required for the installation (this i did by executing the /home/db2inst1/sqllib/db2profile and exporting the ENV variable DB2_HOME with the value "/home/db2inst1/sqllib"). Still i am facing the problem in installation.


    I have explained all the steps i have taken here. Can u able to point out where could be problem ?
    I am struggling with this issue for the past 12 hrs :(

    Can any one help....



    Regards,
    S.Venni Rajan.
    "A Flair For Excellence."
                    -- BK Systems.

      install the missing files

      The file DBIXS.h was included in my distribution. I manually updated the Makefile to include its directory and it compiled and installed without further difficulty. -- Steve Cawley