Ticket #34399 (closed defect: fixed)
mysql55 - fix build & destroot problems
| Reported by: | macintosh@… | Owned by: | pixilla@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.0.4 |
| Keywords: | haspatch | Cc: | ryandesign@… |
| Port: | mysql55 |
Description
build problem :
a wrong value is given for INSTALL_INCLUDEDIR_MACPORTS in patch-cmake-install_layout.cmake.diff leading some other ports to look for mysql.h in the wrong folder
http://lists.macosforge.org/pipermail/macports-dev/2012-May/019111.html
destroot problem :
a wrong value is given for -DCMAKE_INSTALL_NAME_DIR in the mysql55 Portfile leading to all mysql55 libmysqlclient.* files to contain the wrong absolute file path as well as to ports compiled against mysql55 to try to link against the wrong absolute path in their binaries
http://lists.macosforge.org/pipermail/macports-dev/2012-May/019169.html
Attachments
Change History
Changed 12 months ago by macintosh@…
- Attachment patch-Portfile.diff added
Changed 12 months ago by macintosh@…
- Attachment patch-cmake-install_layout.cmake.diff added
fix for the build problem
comment:1 Changed 12 months ago by ryandesign@…
- Owner changed from macports-tickets@… to pixilla@…
- Cc pixilla@… removed
comment:2 Changed 12 months ago by macintosh@…
I've just checked : the same changes will have to be applied to mariadb ; and possibly also percona ; I'm currently working on getting percona up to the same standard as the current work in mysql55 & mariadb are at.
comment:4 in reply to: ↑ description ; follow-up: ↓ 5 Changed 12 months ago by ryandesign@…
Replying to macintosh@…:
destroot problem :
a wrong value is given for -DCMAKE_INSTALL_NAME_DIR in the mysql55 Portfile leading to all mysql55 libmysqlclient.* files to contain the wrong absolute file path as well as to ports compiled against mysql55 to try to link against the wrong absolute path in their binaries http://lists.macosforge.org/pipermail/macports-dev/2012-May/019169.html
I am waiting for at least this fix to be committed so that I can add a mysql55 variant to the ${php}-mysql subports of the php port; as is, I get:
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/local/lib/php54/extensions/no-debug-non-zts-20100525/mysql.so' - dlopen(/opt/local/lib/php54/extensions/no-debug-non-zts-20100525/mysql.so, 9): Library not loaded: /opt/local/lib/mysql55/libmysqlclient.18.dylib Referenced from: /opt/local/lib/php54/extensions/no-debug-non-zts-20100525/mysql.so Reason: image not found in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/opt/local/lib/php54/extensions/no-debug-non-zts-20100525/mysqli.so' - dlopen(/opt/local/lib/php54/extensions/no-debug-non-zts-20100525/mysqli.so, 9): Library not loaded: /opt/local/lib/mysql55/libmysqlclient.18.dylib Referenced from: /opt/local/lib/php54/extensions/no-debug-non-zts-20100525/mysqli.so Reason: image not found in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/opt/local/lib/php54/extensions/no-debug-non-zts-20100525/pdo_mysql.so' - dlopen(/opt/local/lib/php54/extensions/no-debug-non-zts-20100525/pdo_mysql.so, 9): Library not loaded: /opt/local/lib/mysql55/libmysqlclient.18.dylib Referenced from: /opt/local/lib/php54/extensions/no-debug-non-zts-20100525/pdo_mysql.so Reason: image not found in Unknown on line 0
comment:5 in reply to: ↑ 4 Changed 12 months ago by macintosh@…
Replying to ryandesign@…:
Replying to macintosh@…:
destroot problem :
I am waiting for at least this fix to be committed so that I can add a mysql55 variant to the ${php}-mysql subports of the php port; as is, I get:
That one ought to be enough for PHP to get MySQL to work
But it would be really nice to get both of them committed as I deem them production ready and they have been working on my production server since I filed this ticket: http://lists.macosforge.org/pipermail/macports-users/2012-May/028869.html
These issues are holding everyone off transitioning to the mysql55 port.


fix for the destroot problem