On Thu, Mar 17, 2011 at 04:03, <computacenter.geisselbre...@daimler.com>wrote:
> do anyone has experience with such messages when i try to install DB2-DBD > driver ? It happens after perl Makefile.PL command was executed. > > zwtxbt05@videv263>perl Makefile.PL > > Usage: Cwd::fastcwd() at > /usr/opt/perl5/lib/5.8.8/aix-thread-multi/DynaLoader.pm line 253. > BEGIN failed--compilation aborted at > /usr/opt/perl5/lib/site_perl/5.8.8/aix-thread-multi/DBI.pm line 268. > Compilation failed in require at Makefile.PL line 13. > BEGIN failed--compilation aborted at Makefile.PL line 13. > > DB2_Home was exported to /home/zwtxbt05/sqllib > I've not seen that message, but it appears that something tried to use the function 'fastcwd()' from a package 'Cwd' that is not available with your Perl. You appear to be using Perl 5.8.8. The module is part of the Perl core (and fastcwd() is part of the module) according to http://perldoc.perl.org/Cwd.html. However, was it in 5.8.8? Which version of DBI do you have installed? Did you install it with the same version of Perl? Does the DBI.pm file mentioned reference Cwd::fastcwd (or perhaps just fastcwd) at line 268 or very close by? It is always worth quoting the versions of the software that you are using/installing - Perl, DBI, DBD::DB2 (in this case), and the platform (32-bit AIX, it seems). -- Jonathan Leffler <jonathan.leff...@gmail.com> #include <disclaimer.h> Guardian of DBD::Informix - v2008.0513 - http://dbi.perl.org "Blessed are we who can laugh at ourselves, for we shall never cease to be amused."