From: Christopher F. <chr...@ca...> - 2011-05-11 09:26:06
|
Hi Steve, I think there is a bug in the script "scripts/regular-install": $> ./configure --prefix=/home/christopher/Test/yaws/ $> make && make install [...] make[1]: Entering directory `/home/christopher/git/yaws/scripts' PREFIX='/home/christopher/Test/yaws' ETCDIR='/home/christopher/Test/yaws/etc' VARDIR='/home/christopher/Test/yaws/var' \ ERLBINDIR='/usr/lib/erlang/bin' DESTDIR='' \ ERL='/usr/bin/erl' WERL='' ./regular-install install: cannot create directory `/usr/lib/erlang/bin//log': Permission denied install: cannot create directory `/usr/lib/erlang/bin//run': Permission denied chmod: cannot access `/usr/lib/erlang/bin//run/yaws': No such file or directory make[1]: *** [.install] Error 1 Here is a little patch to fix it: diff --git a/scripts/regular-install b/scripts/regular-install index e9cc63f..4d28c62 100755 --- a/scripts/regular-install +++ b/scripts/regular-install @@ -7,7 +7,7 @@ rm -rf /tmp/yaws 2>/dev/null set -e -./Install ${PREFIX} ${ERL} ${WERL} ${ETCDIR}/ ${VARDIR}/ ${ERLBINDIR}/ ${DESTDIR} +./Install "${PREFIX}" "${ERL}" "${WERL}" "${ETCDIR}/" "${VARDIR}/" "${ERLBINDIR}/" "${DESTDIR}" conffile="${DESTDIR}${ETCDIR}/yaws/yaws.conf" if [ -f "$conffile" ]; then -- Christopher Faulet |