Question

My attempts to install modperl under the default vanilla Leopard Apache 2 have failed and all I can find online are variations on this:

I would like if possible not to rely on MacPorts or Fink, though if they can be made to work with the default Apache 2 install that would probably be ok.

Was it helpful?

Solution 3

Get the latest mod_perl and set the following var:

export ARCHFLAGS="-arch x86_64"

Compile/install as usual.

Taken from this post, "Building mod_perl2 on Leopard" which also links to further details on how to get Apache2::Request (libapreq) working as well.

-

(Not that I've been able to test it since I'm personally back on Tiger running Apache 1.3!)

(And let's see if stackoverflow manages to lift this answer to the top since it is the only "correct" answer)

OTHER TIPS

Macports has it (think apt-get and the likes on linux, but on OS X)

(you can see it listed here)

Haven't installed myself though....

Why not just give up and build/install your own or port versions of perl, apache2, and mod_perl2? Probably easier than fighting with it. (Worked for me.)


(as per comment)
Mmmkay! Sorry, I didn't intend that to be snarky or imply that it's not a valid question. I guess I'll delete this (if I can.) Would it be useful to edit the question to add your rational rationale for not having a separate installation?

I asked a very similar question a few days ago and got some good answers: "How do I use a vendor Apache with a self-compiled Perl and mod_perl?"

The mc ports install of mod_perl tries to install apache 1.3 even if you specify just the mod perl, so thats not a good option.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top