Dear list,
I have a problem with installing DBD::mysql module. I could install DBI
successfully, but not the driver for mysql. Initially i was not able to
find the "mysql_config" file. But when i set bin dir into path it
worked. But when i make it exits with error 1.

can anyone help me to get out of this. Many Thanks in advance ...
withlove
gowtham

Error starts like this .....

gcc -c 
-I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI/
-I'/usr/local/mysql/include/mysql' -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -march=i386 -mcpu=i686   -DVERSION=\"2.9004\"
-DXS_VERSION=\"2.9004\" -fpic
"-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"   dbdimp.c
In file included from dbdimp.c:19:
dbdimp.h:21:49: mysql.h: No such file or directory
dbdimp.h:22:49: errmsg.h: No such file or directory
In file included from dbdimp.c:19:
dbdimp.h:106: parse error before "MYSQL"
dbdimp.h:106: warning: no semicolon at end of struct or union
dbdimp.h:117: parse error before '}' token
dbdimp.h:146: parse error before "MYSQL_RES"
dbdimp.h:146: warning: no semicolon at end of struct or union
dbdimp.h:159: parse error before '}' token
In file included from dbdimp.c:19:
dbdimp.h:195: parse error before '*' token
dbdimp.h:198: parse error before "MYSQL_RES"
dbdimp.h:202: parse error before '*' token
dbdimp.h:202: parse error before '*' token
dbdimp.h:203: warning: data definition has no type or storage class
dbdimp.c:122: parse error before '*' token
dbdimp.c: In function `ParseParam':





-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to