"autoconf: required version 2.68 not found" error when trying to make php5 from FreeBSD's ports
Description
When trying to make php5 (or php5-extensions or one of the other php5-* ports), you get the following error:
autoconf: required version 2.68 not found
*** Error code 1
Solution
Use the following commands to resolve the issue:
cd /usr/ports/devel/autoconf-wrapper && make clean && make deinstall && make reinstall
Taken from /usr/ports/UPDATING:
20101204:
AFFECTS: autotools
AUTHOR: autotools@FreeBSD.org
The next stage in the ongoing cleanup of autotools-using ports is
a refactoring of bsd.autotools.mk so that version numbers are no longer
needed within the USE_AUTOTOOLS stanza. There is either
autoconf213/autoconf or automake14/automake (for the legacy versions,
and the currently available versions). This will considerably reduce
the amount of tree-wide patching in future on an update.
IMPORTANT: if you have either devel/autoconf-wrapper or
devel/automake-wrapper installed on your system (and you most likely do)
PLEASE update these ports to their new versions before updating anything
else -- Bad Things[tm] are likely to happen otherwise.
Affected software:
FreeBSD 7.x
FreeBSD 8.x
Comments:
Comment #1 from Marcio Cruz [Username: Guest] at 12/03/2011 08:04 |
Great !!!
works like a charm
Thanks !!! |
Comment #2 from josemi [Username: Guest] at 22/03/2011 14:57 |
Working!!! Thank you very much! |
Comment #3 from JR [Username: Guest] at 31/03/2011 18:06 |
Thanks for the fix. Worked great. |
Comment #4 from Gosho [Username: Guest] at 26/06/2011 19:11 |
Thank you. |
Comment #5 from kyle [Username: Guest] at 11/08/2011 14:59 |
It's gracefully =)
Thanks |
Comment #6 from None [Username: Guest] at 09/10/2012 14:44 |
Thanks, worked for me too :) |
Comment #7 from pete [Username: Guest] at 09/12/2012 13:02 |
Dude you are the best, 10x a lot! |