Web Hosting Talk







View Full Version : [thttpd-2.21b] Installation with PHP help


DOS|Proton
12-24-2004, 07:07 PM
I might've posted in the wrong forums before, sorry :eek: .

I'm currently trying to follow the directions to install thttpd-2.21b with PHP from http://lxr.php.net/source/php-src/sapi/thttpd/README. I've gotten to the point where it tells me to follow instructions to install thttpd but I seem to run into the same error each time. Would someone be able to tell me what's wrong? I did ./configure (without any options), then when I get to the step where I make, then make install, I run into errors:

[root thttpd-2.21b]# make
for i in cgi-src extras ; do ( \
cd $i ; \
pwd ; \
make \
WEBDIR=/usr/local/www \
CGIBINDIR=/usr/local/www/cgi-bin \
MANDIR=/usr/local/man \
WEBGROUP=www \
) ; done
/root/thttpd-2.21b/cgi-src
make[1]: Entering directory `/root/thttpd-2.21b/cgi-src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/thttpd-2.21b/cgi-src'
/root/thttpd-2.21b/extras
make[1]: Entering directory `/root/thttpd-2.21b/extras'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/thttpd-2.21b/extras'


I tried ignoring it then typing make install but seems that the errors from make do effect it:

[root thttpd-2.21b]# make install
/usr/bin/install -c -m 555 -o bin -g bin thttpd /usr/local/sbin
/usr/bin/install -c -m 444 -o bin -g bin thttpd.8 /usr/local/man/man8
for i in cgi-src extras ; do ( \
cd $i ; \
pwd ; \
make \
WEBDIR=/usr/local/www \
CGIBINDIR=/usr/local/www/cgi-bin \
MANDIR=/usr/local/man \
WEBGROUP=www \
install \
) ; done
/root/thttpd-2.21b/cgi-src
make[1]: Entering directory `/root/thttpd-2.21b/cgi-src'
mkdir /usr/local/www/cgi-bin
mkdir: cannot create directory `/usr/local/www/cgi-bin': File exists
make[1]: [install] Error 1 (ignored)
rm -f /usr/local/www/cgi-bin/redirect
cp redirect /usr/local/www/cgi-bin/redirect
rm -f /usr/local/man/man8/redirect.8
cp redirect.8 /usr/local/man/man8/redirect.8
rm -f /usr/local/www/cgi-bin/ssi
cp ssi /usr/local/www/cgi-bin/ssi
rm -f /usr/local/man/man8/ssi.8
cp ssi.8 /usr/local/man/man8/ssi.8
rm -f /usr/local/www/cgi-bin/phf
cp phf /usr/local/www/cgi-bin/phf
make[1]: Leaving directory `/root/thttpd-2.21b/cgi-src'
/root/thttpd-2.21b/extras
make[1]: Entering directory `/root/thttpd-2.21b/extras'
rm -f /usr/local/sbin/makeweb /usr/local/sbin/htpasswd /usr/local/sbin/syslogtocern
cp makeweb /usr/local/sbin/makeweb
chgrp www /usr/local/sbin/makeweb
chmod 2755 /usr/local/sbin/makeweb
cp htpasswd /usr/local/sbin/htpasswd
cp syslogtocern /usr/local/sbin/syslogtocern
rm -f /usr/local/man/man1/makeweb.1
cp makeweb.1 /usr/local/man/man1/makeweb.1
rm -f /usr/local/man/man1/htpasswd.1
cp htpasswd.1 /usr/local/man/man1/htpasswd.1
rm -f /usr/local/man/man8/syslogtocern.8
cp syslogtocern.8 /usr/local/man/man8/syslogtocern.8
make[1]: Leaving directory `/root/thttpd-2.21b/extras'

Any suggestions? :confused:

gogocode
12-26-2004, 10:43 PM
I don't see any errors of consequence in the output of either make or make install, looks like it installed just fine.