-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 2 May 2001, rmd wrote:
> HELP, please!
> I�ve tried to install DBD:DB2 using CPAN or compiling it directly via
> perl Makefile.PL, then make test and i get always this error:
Note that DBD::DB2's README file specifically requires that the DB2
Application Development Client version 6 or later (in your case, version
7.1) is installed, or that something else that goes with DB2 5.2 be
installed, so that the C code that Perl has to use to connect with
DB2 can compile (this is NOT a "pure-Perl" module, and cannot be)
I get the impression that the C code involved either did not compile,
was not compiled, or compiled badly.
Run it manually for now, and let's see what happens.
1) You mention "perl Makefile.PL" and you mention "make test", but are you
running "make" between "perl Makefile.PL" and "make test"?
This is the step that would create the DB2.so that it is looking for
(if everything else works)
2) Are there any errors OR WARNINGS when you run "make"?
3) Is the previously mentioned package installed?
I get the impression it may not be. The README file says that it's
included in the "DB2 Personal Developer's Edition" - is this what you have?
4) Are the libraries it uses installed in your LD_LIBRARY_PATH?
5) Are the header files it uses installed in your INCLUDE
environment variable?
For #2, I'm specifically looking for when it runs GCC to create the .so
file that this module needs. This may indicate that things weren't installed
properly. You may wish to redirect the "make" output (both stdin and
stderr) to a file in order to review it.
- --Curtis
- --
Curtis Jewell http://curtis.livejournal.com/
[EMAIL PROTECTED] http://web.missouri.edu/~csjc05/
[EMAIL PROTECTED] http://new-york.utica.mission.net/
Public Key: http://web.missouri.edu/~csjc05/curtis.key.txt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE68HZ8NGcErwayIw4RAgsHAJ9T4dNr6v70mfJrtXK/x+jMfrDwNQCfU0KH
tqw8o/QbAsBFv+Fl0/T+kKI=
=SU08
-----END PGP SIGNATURE-----