So...anyone get mod_perl working in OS X? :)
My requirements are simple: start form zero on the latest OS X (10.0.4 right
now), download the latest stable versions of perl (5.6.1), apache (1.3.20),
and mod_perl (1.25), and compile and statically link a mod_perl httpd
binary.
I've been hacking away at mod_perl on OS X since 10.0, with varying degrees
of success. The DSO that shipped with OS X worked okay, but I want to be
able to make a variety of statically linked binaries from the latest
sources. Perl 5.6.1 builds okay after mild tweaking, and I've got that
installed. Apache has some weird issues regarding include files, but those
are fixable as well. But when I try to put it all together, I end up with
lots of errors, and only an occasional mod_perl httpd binary...one that
"sort of" works, but eventually dies with undefined symbol errors or symbol
clash errors or whatever when I, say, load Apache::Request and
Apache::Cookie in the same child process. I spent another few hours today
hacking at it. Ug, depressing.
Anyway, enough about my struggles. My question, again, is: has anyone
gotten this all working? I'm looking for a set of no-brainer step-by-step
instructions in thespirit of the mod_perl "install in 10 lines" bit at
http://perl.apache.org/guide/ It amazes me that OS X has been out this
long, and super-popular software like apache and mod_perl still has basic
build and link problems. Is everyone out there just using the mod_perl DSO
and older apache that shipped with OS X?
Hrm. Anyway, that's all for now. If I ever get it all working, I'll be
sure to post to this list. If not, I'll be back in a few months to ask
again :)
-John