PHP5 install error on FreeBSD 7.0

Joseph Simmons josephdsimmons at gmail.com
Sun Apr 13 18:23:17 UTC 2008


Updating the port tree worked with no problems. Thanks

On Sat, Apr 12, 2008 at 3:07 PM, Mel
<fbsd.questions at rachie.is-a-geek.net> wrote:
> On Saturday 12 April 2008 21:29:18 Joseph Simmons wrote:
>  > cougar# pwd
>  > /usr/ports/www/apache22/work/httpd-2.2.6
>  > cougar# make -n install-htdocs
>  > echo Installing HTML documents ;
>  > /usr/ports/www/apache22/work/httpd-2.2.6/build/mkdir.sh
>  > /usr/local/www/apache22/data ;  test -d
>  > /usr/ports/www/apache22/work/httpd-2.2.6/docs/docroot && (cd
>  > /usr/ports/www/apache22/work/httpd-2.2.6/docs/docroot && cp -rp
>  > index.html ) &&  ( [ ! -f /usr/local/www/apache22/data/index.html ] &&
>  > cp -p /index.html /usr/local/www/apache22/data/index.html)
>
>  Apparently they fixed that in 2.2.8, because my version ends in ||true which
>  makes any failure not fatal.
>  Part of the problem is that htdocsdir is not set, so cp -p /index.html fails,
>  even though config.log shows the value, it's not translated to the Makefile.
>
>  Hmm, the quick fix would be to run:
>  cd /usr/ports/www/apache22/work/httpd-2.2.6 && make -k install
>
>  The longer but probably better fix is to update your ports tree, using csup or
>  portsnap. In that case the handbook is your friend:
>  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html
>
>  One reason it is the better fix, is that 2.2.8 fixes a few security issues:
>  http://www.apache.org/dist/httpd/CHANGES_2.2.8
>
>  --
>
>
> Mel
>
>  Problem with today's modular software: they start with the modules
>     and never get to the software part.
>


More information about the freebsd-questions mailing list