It could be that there is a POSIX issue with fastcwd() on your machine.
Does your machine support getcwd(3)? and is it the POSIX version?
It could be that the "dangerous" portion of the description below is in play
here and that fastcwd() is trying to muck around with chdir(). You could
easily dismiss that, but you don't know how many levels of eval{} or eval()
exist between you and the message you see. So can you be sure if you are
seeing the error as it happened?
HTH,
Carl Furst
-Original Message-
From: Peter J. Holzer [mailto:h...@wsr.ac.at]
Sent: Friday, March 18, 2011 7:28 AM
To: dbi-users@perl.org
Subject: Re: DB2-DBD error messages
On 2011-03-17 23:47:13 -0700, Jonathan Leffler wrote:
> On Thu, Mar 17, 2011 at 04:03,
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?
% corelist Cwd
Cwd was first released with perl 5
Cwd::fastcwd has also existed for a long time and I see no indication in
the docs that it may not be available on some platforms.
But the error message is "Usage: Cwd::fastcwd()" so I guess that the
function is available but called incorrectly (probably with a parameter
although it doesn't expect one).
hp
--
_ | Peter J. Holzer| Auf jedem Computer sollte der Satz Ludwigs II
|_|_) | Sysadmin WSR | eingeprägt stehen: "Ein ewig Rätsel will ich
| | | h...@wsr.ac.at | bleiben, mir und andern."
__/ | http://www.hjp.at/ |-- Wolfram Heinrich in desd
smime.p7s
Description: S/MIME cryptographic signature
**
MLB.com: Where Baseball is Always On