#15998 closed defect (fixed)
apr-util 1.3.2 fails to build with the mysql5 driver.
Reported by: | simon@… | Owned by: | danielluke (Daniel J. Luke) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | apr-util mysql | Cc: | |
Port: |
Description
apr-util fails to build with mysql5 support.
The problem was that the configure script for apr-util 1.3.2 doesn't have the --with-mysql-lib and --with-mysql-include arguments.
The solution is to pass the path to mysql_conf5 explicitly to the configure script like this MYSQL_CONFIG=...
cheers Simon Menke
Attachments (5)
Change History (12)
Changed 16 years ago by simon@…
Attachment: | apr-util.diff added |
---|
comment:1 Changed 16 years ago by danielluke (Daniel J. Luke)
Owner: | changed from macports-tickets@… to dluke@… |
---|
Changed 16 years ago by danielluke (Daniel J. Luke)
Attachment: | apr-util.2.diff added |
---|
comment:2 Changed 16 years ago by danielluke (Daniel J. Luke)
Status: | new → assigned |
---|
Simon, can you try the new diff I just uploaded and let me know if it works for you?
Thanks.
comment:3 Changed 16 years ago by simon@…
Your patch (#2) doesn't work for me but I uploaded a third patch which works and has fewer differences with the original Portfile.
cheers.
Changed 16 years ago by danielluke (Daniel J. Luke)
Attachment: | apr-util.4.diff added |
---|
comment:4 Changed 16 years ago by danielluke (Daniel J. Luke)
Can you try the latest attached patch? I want to use the configure.env if we can to set the MYSQL_CONFIG environment variable.
Thanks.
Changed 16 years ago by simon@…
Attachment: | apr-util.5.diff added |
---|
comment:5 Changed 16 years ago by simon@…
There was a small typo in your last patch. (not msql_config5 but mysql_config5) Now every thing works for me using the ENV variable.
So i think we've got a good patch now.
cheers.
comment:6 Changed 16 years ago by danielluke (Daniel J. Luke)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Thanks!
Committed in r38360
patch