I used flag --nocatchstderr on perl make file? and I have received this
results on make:

Dmitry Nikolayev@NICK /cygdrive/e/modul/6
$ make
gcc -c -I/usr/lib/perl5/site_perl/5.6.1/cygwin-multi/auto/DBI -I'/usr/local/
incl
ude/mysql' -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -I/usr/local/include 
-DUS
EIMPORTLIB -O2   -DVERSION=\"2.1022\" -DXS_VERSION=\"2.1022\"  -I/usr/lib/pe
rl5/
5.6.1/cygwin-multi/CORE  dbdimp.c
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
gcc -c -I/usr/lib/perl5/site_perl/5.6.1/cygwin-multi/auto/DBI -I'/usr/local/
incl
ude/mysql' -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -I/usr/local/include 
-DUS
EIMPORTLIB -O2   -DVERSION=\"2.1022\" -DXS_VERSION=\"2.1022\"  -I/usr/lib/pe
rl5/
5.6.1/cygwin-multi/CORE  mysql.c
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
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" ld2  -s -L/usr/local/lib dbdimp.o
ysql.o  -o
 blib/arch/auto/DBD/mysql/mysql.dll
/usr/lib/perl5/5.6.1/cygwin-multi/CORE/libp
erl5_6_1.a -L/usr/local/lib/mysql -lmysqlclient
dllwrap --dllname mysql.dll --driver-name gcc --dlltool
dlltool --export-all-sym
bols --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/lib
perl5_6_1.a -L/usr/local/lib/mysql -lmysqlclient
dllwrap: no export definition file provided.
Creating one, but that may not be what you want
/usr/local/lib/mysql/libmysqlclient.a(my_compress.o)(.text+0x8b):my_compress
.c:
undefined reference to `_compress'
/usr/local/lib/mysql/libmysqlclient.a(my_compress.o)(.text+0x16d):my_compres
s.c:
 undefined reference to `_compress'
/usr/local/lib/mysql/libmysqlclient.a(my_compress.o)(.text+0x210):my_compres
s.c:
 undefined reference to `_uncompress'
collect2: ld returned 1 exit status
dllwrap: gcc exited with status 1
perlld: *** system() failed to execute
dllwrap --dllname mysql.dll --driver-name gcc --dlltool
dlltool --export-all-sym
bols --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/lib
perl5_6_1.a -L/usr/local/lib/mysql -lmysqlclient

make: *** [blib/arch/auto/DBD/mysql/mysql.dll] Error 1


----- 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.
>
>

Reply via email to