Patch for Mac OS X
This patch allows mod_ssl to compile on Mac OS X without first installing OpenSSL. This is because OpenSSL is already installed on Mac OS X, but mod_ssl doesn't know how to find its libraries. --- libssl.module~ Fri Oct 4 06:09:50 2002 +++ libssl.module Sat Nov 30 15:17:23 2002 @@ -411,7 +411,7 @@ if [ .$SSL_BASE = .SYSTEM ]; then SSL_LIBDIR= for p in . /lib /usr/lib /usr/local/lib; do -if [ -f $p/libssl.a -o -f $p/libssl.so ]; then +if [ -f $p/libssl.a -o -f $p/libssl.so -o -f $p/libssl.dylib ]; then SSL_LIBDIR=$p my_real_ssl_libdir=$p break Please let me know ASAP if this is the correct solution, as I'm writing an article for MacDevCenter.com (an ORA site) with instructions on how to build Apache/mod_ssl. I would think that it might make sense to include a section in which you determine the proper dso extension on the basis of OS, but this seems to work, too... Thanks, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.wheeler.net/ Yahoo!: dew7e Jabber: [EMAIL PROTECTED]
Re: Understanding $Config{startperl} in MacPerl
On Friday, November 29, 2002, at 09:19 PM, Ken Williams wrote: I see that in MacPerl (not perl for OS X), $Config{startperl} is set to Perl -Sx \{0}\ {\Parameters\}; Exit {Status}\n#!perl in Config.pm . I'm not sure what that extra stuff is before the shebang, but when I run a script that contains that (using MacPerl 5.6.1), I just get a perl syntax error. When I remove it, all is well. Can anyone enlighten about what that first line is for? That line is a MacPerl compatibility with MPW (Macintosh Programmer's Workshop), the old Mac development environment. According the MacPerl book, this line allow scripts to be called directly from MPW without the need to call the Perl tool directly. MacPerl knows to ignore this line, but Mac OS X perl does not. I think it is safe to leave it out (and only include the appropriate shebang line), as if anyone is still using MPW, they are probably used to adding that line to Perl scripts. -- Edward Moy Apple Computer, Inc. [EMAIL PROTECTED] (This message is from me as a reader of this list, and not a statement from Apple.)