httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sander Temme <scte...@covalent.net>
Subject building 2.0.32 on Darwin
Date Sun, 17 Feb 2002 02:17:59 GMT
Ran into the quoting problem that Pier also encountered. This affects
building SO modules on Darwin. Quick fix:

--- httpd-2.0.32/srclib/apr/configure.bak       Thu Feb 14 00:14:57 2002
+++ httpd-2.0.32/srclib/apr/configure   Sat Feb 16 14:20:08 2002
@@ -7116,7 +7116,7 @@
     # FIXME: Relying on posixy $() will cause problems for
     #        cross-compilation, but unfortunately the echo tests do not
     #        yet detect zsh echo's removal of \ escapes.
-    archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo
-dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags
-install_name $rpath/$soname $verstring'
+    archive_cmds='$nonopt $(test "x$module" = "xyes" && echo -bundle ||
echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs
$deplibs$linker_flags -install_name $rpath/$soname $verstring'
     # We need to add '_' to the symbols in $export_symbols first
     #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
     hardcode_direct=yes

(also attached because my mailer wraps lines)

Real fix: the problem is in libtool, to wit in
/usr/local/share/aclocal/libtool.m4. Get a better libtool that does this
right; re-run buildconf which sucks in libtool.m4. Unhappily outside the
scope of Apache. 

With the above, the tarball builds with the following configure line:

"./configure" \
"--prefix=/tmp/apache2" \
"--enable-module=most" \
"--with-port=8080" \
"--enable-maintainer-mode" \
"--enable-so" \
"--with-layout=Apache"

Strangely, the libtool that gets put into the installation still contains
the problem. 
And gives the following test results with the perl-framework:

setting ulimit to allow core files
ulimit -c unlimited; t/TEST -run
apache/404..........ok
apache/byterange....skipped: no reason given
apache/etags........ok
apache/getfile......skipped: no reason given
apache/limits.......dubious
        Test returned status 0 (wstat 13, 0xd)
DIED. FAILED test 10
        Failed 1/10 tests, 90.00% okay
apache/options......ok
apache/passbrigade..ok
apache/post.........ok
apache/rwrite.......ok
apr/uri.............ok
filter/case.........skipped: cannot find module 'mod_php4', cannot find
module 'case_filter'
filter/case_in......skipped: cannot find module 'mod_php4', cannot find
module 'case_filter_in'
filter/input_body...ok
modules/access......ok
modules/alias.......ok
modules/autoindex...ok
modules/autoindex2..ok
modules/cgi.........ok
modules/dav.........skipped: cannot find module 'dav', cannot find module
'HTTP::DAV'
modules/dir.........ok
modules/env.........ok
modules/expires.....skipped: cannot find module 'expires'
modules/headers.....skipped: cannot find module 'headers'
modules/include.....ok
modules/info........skipped: cannot find module 'info'
modules/negotiation.ok
modules/rewrite.....skipped: cannot find module 'rewrite'
modules/setenvif....ok
modules/status......ok
modules/vhost_alias.skipped: cannot find module 'vhost_alias'
protocol/echo.......skipped: cannot find module 'mod_ssl', cannot find
module 'mod_echo'
protocol/nntp-like..ok
ssl/all.............skipped: cannot find module 'mod_ssl'
Failed Test  Status Wstat Total Fail  Failed  List of failed
----------------------------------------------------------------------------
---
apache/limits.t   0    13    10    1  10.00%  10
12 tests skipped.

The limits.t failure has been there for ever, otherwise we look pretty good.

Mod_ssl breaks on a symbol conflict. I'll try to pay it some attention. I'm
having trouble on the Perl side installing HTTP::DAV; haven't tried building
PHP for a long time.

Strangely enough, I'm getting a 404 with Mac Internet Explorer on
http://localhost:8080/index.html. The same request on / goes OK, requesting
index.html on Omniweb (the cool browser that gives you a dump of all http
activity) shows no surprises. Microsoft fooness in supplying language
information? Dunno.

S.

-- 
Covalent Technologies                             sctemme@covalent.net
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
=======================================================


Mime
View raw message