Opened 7 years ago
Closed 7 years ago
#40865 closed defect (fixed)
mysql56 will not build on Mavericks
Reported by: | schalk@… | Owned by: | pixilla (Bradley Giesbrecht) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.0 |
Keywords: | mavericks | Cc: | joelburton (Joel Burton), miken32 (Michael Newton), eero.otsus@…, kirmorozov (Kirill Morozov), simonblanchard@…, bananastalktome@…, jchauvel@…, an0nym@…, kasperligaard+macports@…, joey.cai@…, marcin+macports@…, Schamschula (Marius Schamschula), kickingvegas (Charles Choi), chris.kief@…, tomoyuki.kakuda@…, mirrorballu2@…, cornelius.howl@…, misleem@…, kyle@… |
Port: | mysql56 |
Description
Upgraded to Mavericks, uninstalled all my ports, built macports for mavericks, installed Apache2 and PHP55. Went to install mysql56 and it wont build (log below). Mysql55 builds no problem.
Any thoughts?
Stuart
Attachments (2)
Change History (34)
Changed 7 years ago by schalk@…
comment:2 Changed 7 years ago by pixilla (Bradley Giesbrecht)
I don't have Mavericks yet so patches welcome.
comment:4 Changed 7 years ago by ryandesign (Ryan Schmidt)
Keywords: | mavericks added |
---|---|
Owner: | changed from macports-tickets@… to pixilla@… |
Port: | mysql56 added; mysql56@5.6.13 removed |
Summary: | Mysql 5.6 will not build on Mavericks → mysql56 will not build on Mavericks |
comment:11 Changed 7 years ago by kasperligaard+macports@…
Cc: | kasperligaard+macports@… added |
---|
Cc Me!
comment:13 Changed 7 years ago by marcin+macports@…
comment:15 Changed 7 years ago by kir.morozov+macports@…
Here is similar thread from FreeBSD. http://lists.freebsd.org/pipermail/freebsd-current/2013-October/045498.html Sounds like they know solution.
Here is link to the Mysql Ticket with patch: http://bugs.mysql.com/bug.php?id=70542
Replying to schalk@…:
Upgraded to Mavericks, uninstalled all my ports, built macports for mavericks, installed Apache2 and PHP55. Went to install mysql56 and it wont build (log below). Mysql55 builds no problem.
Any thoughts?
Stuart
comment:18 Changed 7 years ago by larryv (Lawrence Velázquez)
Cc: | charles.choi@… added |
---|
You need to click the “CcMe!” button next to the Cc list to actually be Cc’d. I’ve added you to the list manually.
comment:21 Changed 7 years ago by pixilla (Bradley Giesbrecht)
Replying to marcin+macports@…:
Any progress on this ?
I still have no Mavericks machine to work with. Patches welcome.
comment:26 Changed 7 years ago by larryv (Lawrence Velázquez)
Cc: | cornelius.howl@… added |
---|
comment:27 follow-up: 30 Changed 7 years ago by alexey.naidyonov@…
Any thoughts?
This does the trick:
--- Portfile~ 2013-09-24 20:30:28.000000000 +0400 +++ Portfile 2013-11-22 15:46:36.000000000 +0400 @@ -80,6 +80,7 @@ configure.args-delete \ -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib configure.args-append \ + -DCMAKE_CXX_FLAGS="-stdlib=libstdc++" \ -DCMAKE_INSTALL_NAME_DIR:STRING=${prefix}/lib/${name_mysql}/mysql \ -DINSTALL_LAYOUT:STRING=MACPORTS \ -DSYSCONFDIR:PATH=${prefix}/etc/${name_mysql} \
Changed 7 years ago by Schamschula (Marius Schamschula)
Attachment: | Portfile-mysql56.diff added |
---|
comment:30 follow-up: 31 Changed 7 years ago by Schamschula (Marius Schamschula)
Works for me. However, only tested on Mavericks. I've attached a diff file bumping mysql56 to 5.6.14.
Replying to alexey.naidyonov@…:
Any thoughts?
This does the trick:
--- Portfile~ 2013-09-24 20:30:28.000000000 +0400 +++ Portfile 2013-11-22 15:46:36.000000000 +0400 @@ -80,6 +80,7 @@ configure.args-delete \ -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib configure.args-append \ + -DCMAKE_CXX_FLAGS="-stdlib=libstdc++" \ -DCMAKE_INSTALL_NAME_DIR:STRING=${prefix}/lib/${name_mysql}/mysql \ -DINSTALL_LAYOUT:STRING=MACPORTS \ -DSYSCONFDIR:PATH=${prefix}/etc/${name_mysql} \
comment:31 Changed 7 years ago by aaron@…
This worked for me as well. Could it get merged soon?
+ -DCMAKE_CXX_FLAGS="-stdlib=libstdc++" \
comment:32 Changed 7 years ago by pixilla (Bradley Giesbrecht)
Resolution: | → fixed |
---|---|
Status: | new → closed |
See r114637
Thanks for the help!
Install log for mysql56@5.6.13 on 10.9 Mavericks with XCode 5.0.1