Date: Sat, 12 Apr 2008 22:07:17 +0200 From: Mel <fbsd.questions@rachie.is-a-geek.net> To: freebsd-questions@freebsd.org Cc: Joseph Simmons <josephdsimmons@gmail.com> Subject: Re: PHP5 install error on FreeBSD 7.0 Message-ID: <200804122207.17953.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: <1ba9cd9a0804121229n4078d19fhdc11054b3da2ad98@mail.gmail.com> References: <1ba9cd9a0804111713h53374c26j9ef138e616deb65f@mail.gmail.com> <200804122122.07061.fbsd.questions@rachie.is-a-geek.net> <1ba9cd9a0804121229n4078d19fhdc11054b3da2ad98@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804122207.17953.fbsd.questions>