#14579: Please add mysql5-devel support to p5-dbd-mysql --------------------------------+------------------------------------------- Reporter: ebgssth@gmail.com | Owner: macports-tickets@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@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=47c6f5a2BwqDa9RrRzHtmo... -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14579#comment:1> MacPorts </projects/macports> Ports system for Mac OS