[mod_python] OS X install mod_python w/o MacPorts

Wilden Mark mark at mwilden.com
Mon Mar 3 19:43:13 EST 2008


On Mar 3, 2008, at 4:22 PM, Graham Dumpleton wrote:

> On 04/03/2008, Wilden Mark <mark at mwilden.com> wrote:
>> I am trying to install mod_python on Mac OS X 10.5 using MacPorts.
>> However, that is seemingly not possible right now (see http://trac.macports.org/projects/macports/ticket/14470)
>> .
>> As a Windows user until quite recently, MacPorts, Apache, python are
>> all very new to me. My question is whether there's an alternate way  
>> to
>> install mod_python on OS X beside MacPorts?
>
> Do you really need mod_python?

I'm following the instructions for building a dev machine at my  
company, so it's probably required to use mod_python. I had no problem  
on a Windows box, of course, but I realize that on Mac/Linux it's more  
of a DIY situation. Let's just say that it's been seven years since I  
had to recompile the Linux kernel.

> In general I would recommend against using MacPorts or fink, but
> obviously if you aren't comfortable with compiling/install stuff
> yourself that may be a problem.

Interesting. I'm working on a Rails app (the python stuff is for a  
publishing server), and MacPorts seems fairly standard there ( http://www.robbyonrails.com/articles/2008/01/22/installing-ruby-on-rails-and-postgresql-on-os-x-third-edition 
  )

> Now, as to whether you can get mod_python working without MacPorts or
> fink will depend on what version of MacOS X you are running. If using
> 10.4, can't be easily done unless you install Apache 2.2 yourself from
> source code. If using 10.5, can be done, but requires some manual
> changes to be made to makefiles if you are running with a 64bit Intel
> (maybe 64bit PPC as well) chip.
>
> Tell us what chip and OS version you are using and can be more
> specific about mod_python.

Thanks, Graham - your help is much appreciated! I'm running Mac OS X  
10.5.2 on an Intel 32-bit processor (MacBook Pro). Of course, I have a  
message posted on the macports-users list, as well as a cry for help  
to the guy who convinced me to switch from Windows to OS X in the  
first place. :)

///ark


More information about the Mod_python mailing list