how to fix it

Saveliev Alexey <[email protected]>
Newsgroups gmane.comp.db.mysql.perl
Organization TSN
Message-ID <[email protected]>
Restore mysql.xs.orig as mysql.xs and it will compile
have ho effect
same situation:

Checking if your kit is complete...
Looks good
Using DBI 1.42 (for perl 5.008005 on i386-freebsd-64int) installed in /usr/local
/lib/perl5/site_perl/5.8.5/mach/auto/DBI
Writing Makefile for DBD::mysql
===>  Building for p5-DBD-mysql-2.9004
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/Mysql.pm blib/lib/Mysql.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
cc -c  -I/usr/local/lib/perl5/site_perl/5.8.5/mach/auto/DBI -I/usr/local/include
/mysql -O -pipe -mcpu=pentiumpro -D_THREAD_SAFE  -O2 -pipe -funroll-loops -march
=pentium4 -O -pipe -mcpu=pentiumpro    -DVERSION=\"2.9004\"  -DXS_VERSION=\"2.90
04\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.5/mach/CORE"   dbdimp.c
dbdimp.c: In function `mysql_db_FETCH_attrib':
dbdimp.c:1458: warning: cast from pointer to integer of different size
dbdimp.c: In function `mysql_st_FETCH_attrib':
dbdimp.c:2148: warning: cast from pointer to integer of different size
/usr/local/bin/perl5.8.5 -p -e "s/~DRIVER~/mysql/g" /usr/local/lib/perl5/site_pe
rl/5.8.5/mach/auto/DBI/Driver.xst > mysql.xsi
/usr/local/bin/perl5.8.5 /usr/local/lib/perl5/5.8.5/ExtUtils/xsubpp  -typemap /u
sr/local/lib/perl5/5.8.5/ExtUtils/typemap  mysql.xs > mysql.xsc && mv mysql.xsc
mysql.c
Warning: duplicate function definition 'do' detected in mysql.xs, line 196
Warning: duplicate function definition 'rows' detected in mysql.xs, line 294
cc -c  -I/usr/local/lib/perl5/site_perl/5.8.5/mach/auto/DBI -I/usr/local/include
/mysql -O -pipe -mcpu=pentiumpro -D_THREAD_SAFE  -O2 -pipe -funroll-loops -march
=pentium4 -O -pipe -mcpu=pentiumpro    -DVERSION=\"2.9004\"  -DXS_VERSION=\"2.90
04\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.5/mach/CORE"   mysql.c
mysql.xs: In function `XS_DBD__mysql__dr__admin_internal':
mysql.xs:103: error: `SHUTDOWN_DEFAULT' undeclared (first use in this function)
mysql.xs:103: error: (Each undeclared identifier is reported only once
mysql.xs:103: error: for each function it appears in.)
mysql.xs:103: error: too many arguments to function `mysql_shutdown'
*** Error code 1

Stop in /usr/ports/databases/p5-DBD-mysql/work/DBD-mysql-2.9004.
*** Error code 1

Stop in /usr/ports/databases/p5-DBD-mysql.



-- 
Saveliev Alexey.
System Administrator of TSN Group
Phone: (812) 430-4313
mailto:[email protected]


-- 
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe:    http://lists.mysql.com/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.