[MacPorts] #14579: Please add mysql5-devel support to p5-dbd-mysql
MacPorts
trac at macosforge.org
Fri Mar 7 23:20:06 PST 2008
#14579: Please add mysql5-devel support to p5-dbd-mysql
--------------------------------+-------------------------------------------
Reporter: ebgssth at gmail.com | Owner: macports-tickets at lists.macosforge.org
Type: enhancement | Status: new
Priority: Normal | Milestone: Port Enhancements
Component: ports | Version: 1.6.0
Resolution: | Keywords: mysql perl
--------------------------------+-------------------------------------------
Comment (by ebgssth at gmail.com):
This was not as easy as I thought.
I tried building DBD::mysql with MySQL 5.1.23, current mysql-devel version
but it failed with these error
{{{
dbdimp.c: In function 'mysql_st_next_results':
dbdimp.c:2763: error: 'NET' has no member named 'last_errno'
dbdimp.c: In function 'mysql_st_fetch':
dbdimp.c:3365: error: 'NET' has no member named 'last_errno'
make: *** [dbdimp.o] Error 1
dbdimp.c: In function 'mysql_st_next_results':
dbdimp.c:2763: error: 'NET' has no member named 'last_errno'
dbdimp.c: In function 'mysql_st_fetch':
dbdimp.c:3365: error: 'NET' has no member named 'last_errno'
make: *** [dbdimp.o] Error 1
}}}
This is because MySQL5.1.23 has renamed et->last_err* to
net->client_last_err*.
See http://bugs.mysql.com/bug.php?id=34655
This problem is already fixed and will be in 5.1.24-rc.
Until it released, we need a patch to revert the variable names.
http://mysql.bkbits.net:8080/mysql-5.1/?PAGE=cset&REV=47c6f5a2BwqDa9RrRzHtmo9cSUYwgw
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14579#comment:1>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list