installing DBD::mysql under cygwin

Thu Apr 26 21:26:00 GMT 2007

Hello to people
Thnak you Brian for your great help, yet I stilll have
a little problem. 
I am not sure this is a cygwin question anymore, but I
would be greatful if you can take a look.

I am trying to install DBD::mysql under cygwin in
windows xp. I followed the instruction here:
Everything worked OK except of the 'make' step for
so this is what I did:
installing mysql and cygwin: -->OK
1) installed mysql under windows xp successfully
2) installed all cygwin modules successfully
3) I installed and run perl scripts and modules on
cygwin with no problems
DBI under cygwin: -->OK
1) I installed DBI successfully (makefile, make, make
test, make install)
installed mysql linux source under cygwin --> OK
1) cygwin is installed under C:\cygwin folder. 
2) I unpacked mysql linux source to C:\cygwin\home. 
3) I CD to the new folder
4) run the command:
./configure --prefix=/usr/local/mysql --without-server
5)  make
6) make install
7) cd /usr/local/mysql/bin
8) connected successfully to mysql server under cygwin
./mysql -h -u root
9) tested mysql under cygwin (select,insert,use,
etc..) and everything worked fine.
installing DBD --> PROBLEM IN STEP 5
1) tar -xvf DBD-mysql-4.004.tar
2) cd DBD-mysql-4.004
3) cp /usr/local/mysql/bin/mysql_config .
4) perl Makefile.PL --testhost= 
5) make ------------> got errors
this is the output I got from 'make':

$ make
cp lib/DBD/ blib/lib/DBD/
cp lib/DBD/mysql/
cp lib/DBD/mysql/INSTALL.pod
cp lib/Bundle/DBD/
gcc -c  -I/usr/lib/perl5/site_perl/5.8/cygwin/auto/DBI
-DPERL_USE_SAFE_PUTENV -fno-strict-ali
asing -pipe -I/usr/local/include -DUSEIMPORTLIB -O3  
-DVERSION=\"4.004\" -DXS_V
ERSION=\"4.004\"  "-I/usr/lib/perl5/5.8/cygwin/CORE"  
In file included from dbdimp.c:20:
dbdimp.h:23:45: mysqld_error.h: No such file or
dbdimp.c: In function `mysql_db_FETCH_attrib':
dbdimp.c:2296: warning: cast from pointer to integer
of different size
dbdimp.c: In function `mysql_st_prepare':
dbdimp.c:2508: error: `ER_UNSUPPORTED_PS' undeclared
(first use in this function
dbdimp.c:2508: error: (Each undeclared identifier is
reported only once
dbdimp.c:2508: error: for each function it appears
dbdimp.c: In function `mysql_st_FETCH_attrib':
dbdimp.c:4136: warning: cast from pointer to integer
of different size
make: *** [dbdimp.o] Error 1

I would be greatful for your help 

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list