[MacPorts] #14579: Please add mysql5-devel support to p5-dbd-mysql
#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 Keywords: mysql perl | -------------------------------+-------------------------------------------- p5-dbd-mysql currently doesn't work with mysql5-devel. Please change this to use mysql5-devel when it's installed on the machine. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14579> MacPorts </projects/macports> Ports system for Mac OS
#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
#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): Backported MySQL5.1 Changeset 1.2551 to mysql5-devel/Portfile. And changed p5-dbd-mysql to use mysql5-devel when it is installed -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14579#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#14579: Please add mysql5-devel support to p5-dbd-mysql --------------------------------+------------------------------------------- Reporter: ebgssth@gmail.com | Owner: narf_tm@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: mysql perl --------------------------------+------------------------------------------- Changes (by jmr@macports.org): * cc: narf_tm@macports.org (removed) * owner: macports-tickets@lists.macosforge.org => narf_tm@macports.org -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14579#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#14579: p5-dbd-mysql: add mysql5-devel support --------------------------------+------------------------------------------- Reporter: ebgssth@gmail.com | Owner: narf_tm@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: mysql perl --------------------------------+------------------------------------------- Changes (by ryandesign@macports.org): * summary: Please add mysql5-devel support to p5-dbd-mysql => p5-dbd- mysql: add mysql5-devel support Comment: I will apply a patch to mysql5-devel 5.1.23-rc to fix this. See #14387 for progress on this issue. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14579#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#14579: p5-dbd-mysql: add mysql5-devel support --------------------------------+------------------------------------------- Reporter: ebgssth@gmail.com | Owner: narf_tm@macports.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): No answer from the maintainer more than a week. Could someone with commit right checkin this for me? I really need this patch to be commited for using another requested port, innotop -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14579#comment:5> MacPorts </projects/macports> Ports system for Mac OS
#14579: p5-dbd-mysql: add mysql5-devel support --------------------------------+------------------------------------------- Reporter: ebgssth@gmail.com | Owner: narf_tm@macports.org Type: enhancement | Status: closed Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: mysql perl --------------------------------+------------------------------------------- Changes (by narf_tm@macports.org): * status: new => closed * resolution: => fixed Comment: Applied patch file in changeset [35113]. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14579#comment:6> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts