ID: 25319 Updated by: [EMAIL PROTECTED] Reported By: jbrown at thrupoint dot net -Status: Open +Status: Feedback Bug Type: Other web server Operating System: FreeBSD 4.8 PHP Version: 4.3.3 New Comment:
Try this (remove the old dirs first!) # tar xvzf thttpd-2.21b.tar.gz # tar xvzf php-4.3.3.tar.gz # cd thttpd-2.21b # patch -p 1 < ../php-4.3.3/sapi/thttpd/thttpd_patch If this fails, check your patch version: # patch --version Previous Comments: ------------------------------------------------------------------------ [2003-08-30 09:25:42] jbrown at thrupoint dot net Description: ------------ Hello, I followed the installation instructions for thttpd: ----------------------------------- ctar xvzf thttpd-2.21b.tar.gz tar xvzf php-4.3.3.tar.gz cd php-4.3.3 ./configure --with-thttpd=../thttpd-2.21b make install ---------------------------------- Installation fails. See 'results' section below. Best Regards, jpb === Actual result: -------------- ... toward end of 'make install' for php-4.3.3... Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_execute.lo sapi/cli/php_cli.lo sapi/cli/getopt.lo main/internal_functions_cli.lo -lcrypt -lcrypt -lm -lcrypt -lcrypt -o sapi/cli/php ext/mysql/libmysql/my_tempnam.o: In function `my_tempnam': /opt/pkg/php-4.3.3/ext/mysql/libmysql/my_tempnam.c:117: warning: tempnam() possibly used unsafely; consider using mkstemp() Installing PHP CLI binary: /usr/local/bin/ Installing PHP CLI man page: /usr/local/man/man1/ Installing PHP SAPI module: thttpd Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -ur thttpd-2.21b/Makefile.in thttpd-2.21b-cool/Makefile.in |--- thttpd-2.21b/Makefile.in Thu Mar 29 20:36:21 2001 |+++ thttpd-2.21b-cool/Makefile.in Mon Jun 16 21:08:05 2003 -------------------------- patch: **** can't find 1 *** Error code 1 Stop in /opt/pkg/php-4.3.3. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25319&edit=1