Problem with latest php5 from ports
So I decided to do a little maintenance on my system today and upgrade a few outdated ports... what a brilliant idea that wasn't.
I attempted to use portmaster to upgrade my php5 packages, and the whole thing went south on me with no hint of what's actually wrong. Basically the whole upgrade breaks when it gets to the part where it tries to install php-5.2.10 after building it. Here are the last lines before the dreaded "error code 1" messages:
Installing PHP SAPI module: apache2handler
/usr/local/share/apache22/build/instdso.sh SH_LIBTOOL='/usr/local/build-1/libtool' libphp5.la /usr/local/libexec/apache22
/usr/local/build-1/libtool --mode=install cp libphp5.la /usr/local/libexec/apache22/
/usr/local/share/apache22/build/instdso.sh: /usr/local/build-1/libtool: not found
apxs:Error: Command failed with rc=8323072
To give an extra level of difficulty, this appears to have occurred after the old php5 port was removed, so I can no longer use portversion to verify any of the other packages (due to missing dependencies for a bunch of packages). And it doesn't appear that there is a backup of the previous php version (5.2.8 I think). I've done a portupgrade on libtool already so I know it is in fact there. This box has been up and running for years now and has gone through all sorts of software upgrades without this sort of problem cropping up. And yes I did make sure that php5-pcre was not installed either as a package or a port.
Has anyone else been coming up against this issue? is it just a matter of apxs looking for libtool in the nonexistent /usr/local/build-1/ directory (?), and how do I steer it in the right direction (/usr/local/bin)?
|php5, portmaster, portupgrade|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Problem with x11/gnome+libcaca in ports||Kilo1||OpenBSD Packages and Ports||3||2nd August 2008 12:58 AM|
|PHP5 inst. from Ports||jaymax||FreeBSD Ports and Packages||1||23rd June 2008 01:52 AM|
|Problem with upgrading php5-pcre and php5-mysql||KernelPanic||FreeBSD Ports and Packages||6||16th June 2008 10:00 PM|
|openbsd4.3 - problem compile php5||blackyzero||OpenBSD General||3||27th May 2008 06:24 PM|
|Problem installing PHP5||DrKrall||OpenBSD Packages and Ports||8||23rd May 2008 12:10 AM|