List:General Discussion« Previous MessageNext Message »
From:Bruce Ferrell Date:March 11 2010 10:10pm
Subject:Cygwin and DBD::mysql
View as plain text  
it seem the Cygwin Perl can't see a client libraries needed to build
DBD::Mysql. Innovative lad that I am I figured I'd just compile my own
from 5.1.44 (current download). Nice thought.

What happens is the build fails as follows:

./configure --prefix=/usr/local/mysql --without-server

[ much configurage ]

make
[ much makage ]

vi.c: In function ‘get_alias_text’:
vi.c:918: error: expected declaration specifiers before ‘__weak_reference’
vi.c:923: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before
‘{’ token
vi.c:953: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before
‘{’ token
vi.c:998: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before
‘{’ token
vi.c:1054: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’
before ‘{’ token
vi.c:1103: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’
before ‘{’ token
vi.c:918: error: parameter name omitted
vi.c:1124: error: expected ‘{’ at end of input
make[2]: *** [vi.o] Error 1
make[2]: Leaving directory
`/usr/local/src/mysql-5.1.44/cmd-line-utils/libedit'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/mysql-5.1.44/cmd-line-utils'
make: *** [all-recursive] Error 1

Any ideas on how I can get the libraries and headers to build DBD::mysql?

Thanks in advance

Bruce Ferrell
Thread
Cygwin and DBD::mysqlBruce Ferrell11 Mar