Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#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)

apr-util.diff (271 bytes) - added by simon@… 16 years ago.
patch
apr-util.2.diff (525 bytes) - added by danielluke (Daniel J. Luke) 16 years ago.
apr-util.3.diff (286 bytes) - added by simon@… 16 years ago.
Even better…
apr-util.4.diff (567 bytes) - added by danielluke (Daniel J. Luke) 16 years ago.
apr-util.5.diff (568 bytes) - added by simon@… 16 years ago.

Download all attachments as: .zip

Change History (12)

Changed 16 years ago by simon@…

Attachment: apr-util.diff added

patch

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: newassigned

Simon, can you try the new diff I just uploaded and let me know if it works for you?

Thanks.

Changed 16 years ago by simon@…

Attachment: apr-util.3.diff added

Even better...

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: assignedclosed

Thanks!

Committed in r38360

comment:7 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.