problems building website

Giorgos Keramidas keramida at ceid.upatras.gr
Mon Aug 22 18:59:08 UTC 2005


On 2005-08-22 11:43, "Gary W. Swearingen" <garys at opusnet.com> wrote:
>
> I just now finished a build of last night's sources with:
>
> export DOC_LANG=en_US.ISO8859-1
> export FORMATS="txt html"
> export ENGLISH_ONLY=t
> export WEB_ONLY=t
> export WEBGRP=jojo
> export DESTDIR=/usr/share/www/freebsd.org
> cd /usr/www
> make install
>
> I had to set /usr/share/www/freebsd.org permission for me as user.
>
> I had to turn on the Internet because of
>
>     ===> en/releases/6.0R
>     /usr/bin/fetch http://people.freebsd.org/~pho/stress/log/news.rdf
>     fetch: http://people.freebsd.org/~pho/stress/log/news.rdf: No address record
>     *** Error code 1

This is something new to me (I haven't run a full web site build in a while).

> And I had to join "www" group because of a chgrp "permission denied" error.

This is easy to fix:

	export WEBOWN="${USER}"
	export WEBGRP=$(id -gn)

Then the 'install' target will use your own credentials and avoid the
errors about being unable to chown the files.




More information about the freebsd-doc mailing list