Mailinglisten-Archive |
Hallo zusammen! Habe Probleme mit der Installation von thttpd / PHP. Im configure ein thttpd=/usr/src/packages/SOURCE/thttpd-2.20b. Beim make install wird auch versucht den Patch anzuwenden, doch: patching file libhttpd.c Hunk #1 succeeded at 75 (offset -10 lines). Hunk #2 succeeded at 227 (offset -18 lines). Hunk #3 succeeded at 236 (offset -18 lines). Hunk #4 succeeded at 297 (offset -21 lines). Hunk #5 succeeded at 369 with fuzz 1 (offset -23 lines). Hunk #6 FAILED at 2321. Hunk #7 succeeded at 3347 (offset -207 lines). 1 out of 7 hunks FAILED -- saving rejects to file libhttpd.c.rej patching file libhttpd.h patching file thttpd.c Hunk #1 succeeded at 1333 (offset -59 lines). make[1]: *** [install-sapi] Error 1 make[1]: Leaving directory `/home/lox/php-4.0.6' make: *** [install-recursive] Error 1 libhttpd.c.rej: *************** *** 2313,2319 **** { make_log_entry( hc, nowP ); - if ( hc->file_address != (char*) 0 ) { mmc_unmap( hc->file_address, &(hc->sb), nowP ); hc->file_address = (char*) 0; --- 2321,2330 ---- { make_log_entry( hc, nowP ); + if ( hc->file_address == (char*) 1 ) + { + thttpd_closed_conn(hc->conn_fd); + } else if ( hc->file_address != (char*) 0 ) { mmc_unmap( hc->file_address, &(hc->sb), nowP ); hc->file_address = (char*) 0; Was hab ich übersehen? Mit der genannten Version sollte es doch tun, oder? für jeden Tip (Sascha?) dankbar, Christian
php::bar PHP Wiki - Listenarchive