Ticket #6379 (closed defect: fixed)
php5 build problems (PEAR)
| Reported by: | mcg30761@… | Owned by: | opendarwin-2006@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.0 |
| Keywords: | Cc: | bugzilla.opendarwin.org@…, tom@… | |
| Port: |
Description
I installed php5 from the binary package and that worked fine, however, I needed to turn on some variants, so I built php5 from source with: "sudo port -v install php5 +apache +mysql5 +postgresql".
It failed to build trying to rename "etc/pear.conf". The failure and surrounding logfile is attached. This file was installed by the binary package, so it was there when the package was built.
To get going again, I had to comment out the rename rule in php5's Portfile (cvs v1.17). Of course this is a hack only. The original "pear.conf.sample" file wasn't there to copy.
I looked at the configure flags and noticed a few anomalies.
configure.args always has "--without-mysql" always set, even when a +mysql* variant is enabled.
The +mysql5 variant seems to be just a work-in-progress? The mysql option becomes "--with- mysql=/opt/local/var/db/dports/ build_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_php5/ work/mysql5". Can this right?

