I am a nee hand at this, and when I failed to get anywhere googling  
(but rather, found indications that upgrading Apache by hand ran the  
risk of leaving users without useable mod_perl due to unpublished Apple  
customizations), I worried I might be chasing my tail until available  
source changes.

So:  Does mod_perl compile on MacOS X/Darwin?  (either 10.1.x or  
10.2.x?  I would like both!)

When I told cpan to 'install mod_perl' it began nicely:
install mod_perl
Running install for module mod_perl
Running make for D/DO/DOUGM/mod_perl-1.27.tar.gz
Checksum for  
/Volumes/Storage/cpan/sources/authors/id/D/DO/DOUGM/mod_perl- 
1.27.tar.gz ok
mod_perl-1.27[...]

but quickly produced an error message:
Please tell me where I can find your apache src
  [] /Users/chris/Documents/Downloads/Source/apache_1.3.26/src
Configure mod_perl with  
/Users/chris/Documents/Downloads/Source/apache_1.3.26/src ? [y] y
Shall I build httpd in  
/Users/chris/Documents/Downloads/Source/apache_1.3.26/src for you? [y]
Appending mod_perl to src/Configuration
Use of uninitialized value in pattern match (m//) at  
/Library/Perl/URI/Heuristic.pm line 97.
Unknown option: 1
Usage: head [-options] <url>...
     -m <method>   use method for the request (default is 'HEAD')
     -f            make request even if head believes method is illegal
     -b <base>     Use the specified URL as base
     -t <timeout>  Set timeout value
     -i <time>     Set the If-Modified-Since header on the request
     -c <conttype> use this content-type for POST, PUT, CHECKIN
     -a            Use text mode for content I/O
     -p <proxyurl> use this as a proxy
     -P            don't load proxy settings from environment
     -H <header>   send this HTTP header (you can specify several)

     -u            Display method and URL before any response
     -U            Display request headers (implies -u)
     -s            Display response status code
     -S            Display response status chain
     -e            Display response headers
     -d            Do not display content
     -o <format>   Process HTML content in various ways

     -v            Show program version
     -h            Print this message

     -x            Extra debugging output
[this was repeated 15 +/- 2 times]

I then got:
cc  -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite  
-DNO_DL_NEEDED -pipe -fno-common -no-cpp-precomp -fno-strict-aliasing  
-DMOD_PERL    \
       -o httpd buildmark.o modules.o modules/perl/libperl.a  
modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a  
ap/libap.a regex/libregex.a lib/expat-lite/libexpat.a `/usr/bin/perl  
/Volumes/Storage/cpan/build/mod_perl-1.27/src/modules/perl/ldopts  `
ld: warning multiple definitions of symbol _regcomp
regex/libregex.a(regcomp.o) private external definition of _regcomp in  
section (__TEXT,__text)
/usr/lib/libm.dylib(regcomp.So) definition of _regcomp
ld: warning multiple definitions of symbol _regexec
regex/libregex.a(regexec.o) private external definition of _regexec in  
section (__TEXT,__text)
/usr/lib/libm.dylib(regexec.So) definition of _regexec
ld: warning multiple definitions of symbol _regfree
regex/libregex.a(regfree.o) private external definition of _regfree in  
section (__TEXT,__text)
/usr/lib/libm.dylib(regfree.So) definition of _regfree
ld: Undefined symbols:
_actions_module
_include_module
_log_config_module
make[1]: *** [target_static] Error 1
make: *** [apache_httpd] Error 2
   /usr/bin/make  -- NOT OK
Running make test
   Can't test without successful make
Running make install
   make had returned bad status, install seems impossible

Can anyone point me in the right direction?  I'm interested in getting  
mod_perl compiling with the options I like without having to pray to  
Software Update for an update that doesn't hoze the things I've  
installed for my current project.  Help?

Thanks,
        Chris

Reply via email to