Here is the result of reexecuting of this string(starting with LD_RUN_PATH ):
dllwrap --dllname mysql.dll --driver-name gcc --dlltool dlltool --export-all-symbols --as as --output-def libmysql.def --output-lib libmysql.a \ -s -L/usr/local/lib bdimp.o mysql.o /usr/lib/perl5/5.6.1/cygwin-multi/CORE/lib perl5_6_1.a -L/usr/local/lib/mysql -lmysqlclient So, the problem is with dllwrap? ----- Original Message ----- From: "Michael A Chase" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Nikolayev Dmitry" <[EMAIL PROTECTED]> Sent: Tuesday, January 07, 2003 2:11 AM Subject: Re: Make DBD::mysql failure in Cygwin (was: Hi, All!) > On Tue, 7 Jan 2003 01:13:05 +0200 Nikolayev Dmitry <[EMAIL PROTECTED]> wrote: > > > Sorry, I'm newbie.. so I attached a gif file with the window of cygwin, > > when > > error ocured.... > > As I understand all is ok with chmod.... > > Except that, according to your .gif image, the file it is trying to > change the permissions for doesn't exist. That means that the line > starting with LD_RUN_PATH failed somehow without any indication of > what went wrong. > > It would be easier for everyone if you copy and paste the text in > your Cygwin window instead of taking a picture of it. In most Win32s > you can start marking the text by pressing Alt-Space (I think) or by > right-clicking the 'C:\' image in the upper left corner of the window. > > > From: "Michael A Chase" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]>; "Nikolayev Dmitry" <[EMAIL PROTECTED]> > > Sent: Tuesday, January 07, 2003 12:58 AM > > Subject: Re: Make DBD::mysql failure in Cygwin (was: Hi, All!) > > > > > On Tue, 7 Jan 2003 00:32:36 +0200 Nikolayev Dmitry <[EMAIL PROTECTED]> > > wrote: > > > > > I'm using cygwin. > > > > I had built DBI without any problems, but when I tried to install > > > > DBD::Mysql I have a few.... > > > > perl makefile.pl - no problems > > > > make > > > > > > > > And we have: > > > > > > > > gcc -c -I/usr/lib/perl5/site_perl/5.6.1/cygwin-multi/auto/DBI > > > > -I'/usr/local/include/mysql' -DPERL_USE_SAFE_PUTENV > > -fno-strict-aliasing > > > > -I/usr/local/include -DUSEIMPORTLIB -O2 -DVERSION=\"2.1022\" > > > > -DXS_VERSION=\"2.1022\" -I/usr/lib/perl5/5.6.1/cygwin-multi/CORE > > > > dbdimp.c > > > > gcc -c -I/usr/lib/perl5/site_perl/5.6.1/cygwin-multi/auto/DBI > > > > -I'/usr/local/include/mysql' -DPERL_USE_SAFE_PUTENV > > -fno-strict-aliasing > > > > -I/usr/local/include -DUSEIMPORTLIB -O2 -DVERSION=\"2.1022\" > > > > -DXS_VERSION=\"2.1022\" -I/usr/lib/perl5/5.6.1/cygwin-multi/CORE > > > > mysql.c > > > > Running Mkbootstrap for DBD::mysql () > > > > chmod 644 mysql.bs > > > > rm -f blib/arch/auto/DBD/mysql/mysql.dll > > > > LD_RUN_PATH="/usr/local/lib/mysql" /usr/bin/perl myld ld2 -s > > > > -L/usr/local/lib dbdimp.o mysql.o -o > > blib/arch/auto/DBD/mysql/mysql.dll > > > > /usr/lib/perl5/5.6.1/cygwin-multi/CORE/libperl5_6_1.a > > > > -L/usr/local/lib/mysql -lmysqlclient > > > > dllwrap --dllname mysql.dll --driver-name gcc --dlltool dlltool > > > > --export-all-symbols --as as --output-def libmysql.def --output-lib > > > > libmysql.a \ > > > > -s -L/usr/local/lib dbdimp.o mysql.o > > > > /usr/lib/perl5/5.6.1/cygwin-multi/CORE/libperl5_6_1.a > > > > -L/usr/local/lib/mysql -lmysqlclient > > > > chmod 755 blib/arch/auto/DBD/mysql/mysql.dll > chmod: getting attributes of `blib/arch/auto/DBD/mysql/mysql.dll': No such > file or directory > > > > make: *** [blib/arch/auto/DBD/mysql/mysql.dll] Error 1 > > > -- > Mac :}) > ** I normally forward private questions to the appropriate mail list. ** > Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html > Give a hobbit a fish and he eats fish for a day. > Give a hobbit a ring and he eats fish for an age. > >
