httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sander Temme <>
Subject Re: tarballs are up
Date Mon, 30 Jul 2001 21:00:15 GMT
on 7/29/01 4:25 PM, Cliff Woolley at wrote:

> I just posted the 2.0.22 tarballs at  Check 'em out.

PowerPC, Apple, Mac OS X:

* I still have trouble with the various config.guesses:

[monalisa:/tmp/httpd-2_0_22] sctemme% find . -name config.guess -print -exec
{} \;
./srclib/apr-util/build/config.guess                    <-- no output
./srclib/apr-util/xml/expat/conftools/config.guess      <-- no output
./srclib/pcre/config.guess                              <-- no output
[monalisa:/tmp/httpd-2_0_22] sctemme%

Any part where the local config.guess doesn't recognize my system fails to
configure. The CVS tree does not give me this problem, just the tarballs. If
I replace the three offending config.guesses with a fresh download from
<> , the configure proceeds fine.

* The build fails in the support directory:

Making all in support
/bin/sh /tmp/httpd-2_0_22/srclib/apr/libtool --silent --mode=compile cc  -g
-I/tmp/httpd-2_0_22/os/unix -I/tmp/httpd-2_0_22/server/mpm/threaded
-I/tmp/httpd-2_0_22/modules/http -I/tmp/httpd-2_0_22/include
-I/tmp/httpd-2_0_22/srclib/apr-util/include -c htpasswd.c && touch
/bin/sh /tmp/httpd-2_0_22/srclib/apr/libtool --silent --mode=link cc  -g -O2
-DDARWIN -DAP_HAVE_DESIGNATED_INITIALIZER   -I. -I/tmp/httpd-2_0_22/os/unix
-I/tmp/httpd-2_0_22/server/mpm/threaded -I/tmp/httpd-2_0_22/modules/http
-I/tmp/httpd-2_0_22/include -I/tmp/httpd-2_0_22/srclib/apr/include
-I/tmp/httpd-2_0_22/srclib/apr-util/include -export-dynamic    -o htpasswd
htpasswd.lo  /tmp/httpd-2_0_22/srclib/apr-util/
/tmp/httpd-2_0_22/srclib/apr/ -lm
/usr/bin/ld: Undefined symbols:
make[2]: *** [htpasswd] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
[monalisa:/tmp/httpd-2_0_22] sctemme%

Darwin does not have these functions for per-thread signal masking. This
used to be a far larger problem but progress has been made in that area. If
I edit the offending source file:

[monalisa:/tmp/httpd-2_0_22] sctemme% diff -u
.c~ srclib/apr/threadproc/unix/signals.c
--- srclib/apr/threadproc/unix/signals.c~       Mon Jul 30 13:13:47 2001
+++ srclib/apr/threadproc/unix/signals.c        Mon Jul 30 13:11:15 2001
@@ -330,6 +330,7 @@
     /* All threads should mask signals out, according to sigwait(2) man
page */
     rv = sigprocmask(SIG_SETMASK, &sig_mask, NULL);
[monalisa:/tmp/httpd-2_0_22] sctemme%

...the tree compiles but this is of course not a solution: I don't know what
Darwin does with signals to multithreaded processes.

Anyway, after this slight change the tree builds and I can run the resulting
httpd, fire a request upon it and get HTML back. This is with a bare
./configure which chooses to use the threaded MPM.

Side note: I get a slew of warnings like:

Making all in threaded
/bin/sh /tmp/httpd-2_0_22/srclib/apr/libtool --silent --mode=compile cc  -g
-I/tmp/httpd-2_0_22/os/unix -I/tmp/httpd-2_0_22/server/mpm/threaded
-I/tmp/httpd-2_0_22/modules/http -I/tmp/httpd-2_0_22/include
-I/tmp/httpd-2_0_22/srclib/apr-util/include -c threaded.c && touch
threaded.c:1575: illegal expression, found `.'
threaded.c:1597: illegal expression, found `.'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic

I remember we used to force basic mode by putting -traditional-cpp in the
CFLAGS, we may want to bring that back. A lot of files do fly using the
(default) cpp-precomp though.

Overall, it builds with a little massaging, installs, I can run ab against
it without generating smoke and fire.

I'm happy. 


Covalent Technologies                   
Engineering group                                Voice: (415) 536 5214
645 Howard St.                                     Fax: (415) 536 5210
San Francisco CA 94105

   PGP Fingerprint: 1E74 4E58 DFAC 2CF5 6A03  5531 AFB1 96AF B584 0AB1

This email message is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and destroy all copies
of the original message

View raw message