[MacPorts] #34587: mysql55 port needs a few fixes.
#34587: mysql55 port needs a few fixes. --------------------------------+------------------------------------------- Reporter: lhunath@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: mysql55 --------------------------------+------------------------------------------- For starters, sorry about not making multiple tickets; I just haven't the time right now and if I don't force myself to write this ticket, it won't happen. I tried to install mysql55-server today, that didn't go so well. Here's what I needed to do to get it working: mysql55 needed this patch to get it to work with the latest cmake: diff --git a/cmake/configure.cmake b/cmake/configure.cmake index c3cc787..6193481 100644 --- a/configure.cmake +++ b/configure.cmake @@ -149,7 +149,9 @@ IF(UNIX) SET(CMAKE_REQUIRED_LIBRARIES ${LIBM} ${LIBNSL} ${LIBBIND} ${LIBCRYPT} ${LIBSOCKET} ${LIBDL} ${CMAKE_THREAD_LIBS_INIT} ${LIBRT}) - LIST(REMOVE_DUPLICATES CMAKE_REQUIRED_LIBRARIES) + IF(CMAKE_REQUIRED_LIBRARIES) + LIST(REMOVE_DUPLICATES CMAKE_REQUIRED_LIBRARIES) + ENDIF() LINK_LIBRARIES(${CMAKE_THREAD_LIBS_INIT}) OPTION(WITH_LIBWRAP "Compile with tcp wrappers support" OFF) Additionally, after installation, `port select --set mysql mysql55` didn't work. Reason? `lib/mysql55/bin/mysql_install_db` doesn't exist. The select file installed by `mysql55` is outdated. That should be: `lib/mysql55/scripts/mysql_install_db` -- Ticket URL: <https://trac.macports.org/ticket/34587> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34587: mysql55 port needs a few fixes. --------------------------------+------------------------------------------- Reporter: lhunath@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: mysql55 --------------------------------+------------------------------------------- Comment(by lhunath@…): OK, no edit button in sight and the patch got totally fucked in output. Let me attach it. -- Ticket URL: <https://trac.macports.org/ticket/34587#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34587: mysql55 port needs a few fixes. --------------------------------+------------------------------------------- Reporter: lhunath@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: mysql55 --------------------------------+------------------------------------------- Changes (by pixilla@…): * owner: macports-tickets@… => pixilla@… Comment: Looks like your ports tree is outdated: r92370 r93196 Try: {{{ sudo port sync sudo port install mysql55 }}} -- Ticket URL: <https://trac.macports.org/ticket/34587#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34587: mysql55 port needs a few fixes. --------------------------------+------------------------------------------- Reporter: lhunath@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: mysql55 --------------------------------+------------------------------------------- Changes (by ryandesign@…): * cc: pixilla, openmaintainer (removed) Old description:
For starters, sorry about not making multiple tickets; I just haven't the time right now and if I don't force myself to write this ticket, it won't happen.
I tried to install mysql55-server today, that didn't go so well. Here's what I needed to do to get it working:
mysql55 needed this patch to get it to work with the latest cmake:
diff --git a/cmake/configure.cmake b/cmake/configure.cmake index c3cc787..6193481 100644 --- a/configure.cmake +++ b/configure.cmake @@ -149,7 +149,9 @@ IF(UNIX) SET(CMAKE_REQUIRED_LIBRARIES ${LIBM} ${LIBNSL} ${LIBBIND} ${LIBCRYPT} ${LIBSOCKET} ${LIBDL} ${CMAKE_THREAD_LIBS_INIT} ${LIBRT})
- LIST(REMOVE_DUPLICATES CMAKE_REQUIRED_LIBRARIES) + IF(CMAKE_REQUIRED_LIBRARIES) + LIST(REMOVE_DUPLICATES CMAKE_REQUIRED_LIBRARIES) + ENDIF() LINK_LIBRARIES(${CMAKE_THREAD_LIBS_INIT})
OPTION(WITH_LIBWRAP "Compile with tcp wrappers support" OFF)
Additionally, after installation, `port select --set mysql mysql55` didn't work. Reason? `lib/mysql55/bin/mysql_install_db` doesn't exist. The select file installed by `mysql55` is outdated. That should be: `lib/mysql55/scripts/mysql_install_db`
New description: For starters, sorry about not making multiple tickets; I just haven't the time right now and if I don't force myself to write this ticket, it won't happen. I tried to install mysql55-server today, that didn't go so well. Here's what I needed to do to get it working: mysql55 needed this patch to get it to work with the latest cmake: {{{ diff --git a/cmake/configure.cmake b/cmake/configure.cmake index c3cc787..6193481 100644 --- a/configure.cmake +++ b/configure.cmake @@ -149,7 +149,9 @@ IF(UNIX) SET(CMAKE_REQUIRED_LIBRARIES ${LIBM} ${LIBNSL} ${LIBBIND} ${LIBCRYPT} ${LIBSOCKET} ${LIBDL} ${CMAKE_THREAD_LIBS_INIT} ${LIBRT}) - LIST(REMOVE_DUPLICATES CMAKE_REQUIRED_LIBRARIES) + IF(CMAKE_REQUIRED_LIBRARIES) + LIST(REMOVE_DUPLICATES CMAKE_REQUIRED_LIBRARIES) + ENDIF() LINK_LIBRARIES(${CMAKE_THREAD_LIBS_INIT}) OPTION(WITH_LIBWRAP "Compile with tcp wrappers support" OFF) }}} Additionally, after installation, `port select --set mysql mysql55` didn't work. Reason? `lib/mysql55/bin/mysql_install_db` doesn't exist. The select file installed by `mysql55` is outdated. That should be: `lib/mysql55/scripts/mysql_install_db` -- Comment: Please remember to use WikiFormatting when writing in Trac. Note that the Cc field must contain complete email address, and that it is not useful to Cc "openmaintainer" because that's not a person. -- Ticket URL: <https://trac.macports.org/ticket/34587#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34587: mysql55 port needs a few fixes. ---------------------------------+------------------------------------------ Reporter: lhunath@… | Owner: pixilla@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: duplicate | Keywords: Port: mysql55 | ---------------------------------+------------------------------------------ Changes (by pixilla@…): * status: new => closed * resolution: => duplicate Comment: Duplicate of #34475 -- Ticket URL: <https://trac.macports.org/ticket/34587#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts