more woes with php 5.2.6
Mark Hattam
mark at dxradio.demon.co.uk
Fri Aug 1 03:28:00 PDT 2008
At 00:23 -0500 1/8/08, Ryan Schmidt wrote:
>Hi Mark,
>
>
>On Jul 31, 2008, at 18:30, Mark Hattam wrote:
>
>>Hi Ryan
>>
>>Tried today to build it all from scratch ...
>>
>>I moved /opt to /opt_old
>>
>>Downloaded and installed MacPorts 1.6.pkg (previously I'd had 1.6
>>but via upgrading it from 1.4)
>>
>>Did a self-update
>>
>>Installed MySQL5 +server ... no problem
>>sudo port install MySQL5 +server
>>
>>Installed Apache2 ... no problem
>>sudo port install Apache2
>>
>>But when I got to
>>sudo port install php5 +apache2+macosx+mysql5
>> ... it started off fine. I noticed that it put in autoconf 2.62
>>and Perl 5.8 automatically, whereas I'd had to manually put in
>>autoconf following your advice.
>
>Probably because I had recently added autoconf as a dependency of gd2; see:
>
>http://trac.macports.org/ticket/16119
>
>>However it's just failed at this point (which is about 12 hours
>>after I started all this today)
>>
>>
>>---> Attempting to fetch gd-2.0.35.tar.bz2 from
>>http://www.libgd.org/releases/
>>---> Verifying checksum(s) for gd2
>>---> Extracting gd2
>>---> Applying patches to gd2
>>---> Configuring gd2
>>Error: Target org.macports.configure returned: shell command "cd
>>/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gd2/work/gd-2.0.35
>>&& autoreconf" returned error 1
>>Command output: aclocal: configure.ac: 64: macro `AM_ICONV' not
>>found in library
>>autoreconf: aclocal failed with exit status: 1
>
>I believe I have got this fixed now. See:
>
>http://trac.macports.org/ticket/16148
>
>So wait 30 minutes, then "sudo port sync" and "sudo port clean
>--work gd2" and try again.
Yes, it's now put in automake and libtool before trying gd2 ...
and it's installed php5 ... YEAH !!!
Copied my old db's and htdocs and .conf's etc etc etc
sudo cp -Rfp /opt_old/local/var/db/mysql5/* /opt/local/var/db/mysql5/
sudo cp -Rfp /opt_old/local/apache2/htdocs/* /opt/local/apache2/htdocs/
etc
and it looks like it's all up and running ... even after shutdown &
restarts of the laptop.
The only thing I don't now see in "port installed" is db44 ... that
was there as well as db46 ... but may have been some legacy item
that's been superceded, but remained installed and active after the
(many) port sync and port upgrade outdated sessions.
Mark
More information about the macports-users
mailing list