On October 24, 2002 07:20 pm, Limei Zhang wrote: > Hi, there, > > I am using DB2 Runtime client (V7.2) on linux redhat 7.3. > I am try to install DBD:DB2 (0.76)that I can run perl program to remote > access database in the DB2 server.
You need to use the Application Development Client to compile the DBD::DB2 driver. DBD::DB2 requires some of the header files and libraries that only come with the App Dev Client in order to compile. > I have successfully install DBI. When I do > > Perl Makefile.PL > > It failed, and the error message is > DB2_HOME environment variable must be set to installed location of DB2 > > Then I type > set DB2_HOME = "/usr/IBMdb2/V7.1/" > export DB2_HOME What shell are you using? If you're using bash, you should do: export DB2_HOME="/usr/IBMdb2/V7.1" If you're using csh, you should do: setenv DB2_HOME "/usr/IBMdb2/V7.1" I don't know of any shell that uses the syntax you gave above. > This does not help, same error came up. Could anyone give me some hint? > Thanks in advance. > > zlm