On 6 May 2011 12:56, Gnarlodious <[email protected]> wrote:
> OK I get it, some things need to be fixed. Sorry I barely understand
> this stuff.
>
> I am going to reinstall Apache for Intel and include the options for
> wsgi:
>  --with-mpm=worker

If you have no need for mod_php then worker MPM is preferred.

> and since I want daemon mode I need option:
>  --with-apr=DIR|FILE ??

Shouldn't. It should use the installed version automatically.

>From memory I just usually use:

  ./configure --prefix=/usr/local/apache-2.2 --with-mpm=worker --enable-rewrite

when am installing Apache separately for testing.

> Please advise on what to do.
>
> I am using whatever compiler came with Xcode 4, gcc version 4.2.1.

Okay, standard version supplied with latest OS and not newer version from XCode.

> My Python I installed from the build and had to hack it so Apache
> would find it.

Not sure why you would need to hack anything. As per:

  
http://code.google.com/p/modwsgi/wiki/InstallationOnMacOSX#Non_Universal_MacPython

use following configure line when building Python.

  ./configure --prefix=/usr/local/python-3.1
--enable-framework=/usr/local/python-3.1/frameworks
--enable-universalsdk=/ 'MACOSX_DEPLOYMENT_TARGET=10.5
--with-universal-archs=3-way

Then to build mod_wsgi would be:

  ./configure --with-apxs=/usr/local/apache-2.2/bin/apxs
--with-python=/usr/local/python-3.1/bin/python3.1

If you use daemon mode of mod_wsgi (which is preferred anyway), you
could still use the standard MacOS X Apache and with using 3-way to
--with-universal-archs option to Python configure when building it,
Python will be fat and still work. In which case could just use:

  ./configure --with-python=/usr/local/python-3.1/bin/python3.1

with it picking up apxs from /usr/sbin.

See:

  
http://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide#Delegation_To_Daemon_Process

for daemon mode setup.

With above the --disable-framework option to mod_wsgi configure should
not be required as that configure line for Python installs it as a
framework which should then link fine.

Graham

> When I get this up and running I need to install it on an Xserve.
>
> Thanks for all the help.
>
> -- Gnarlie
> http://Sectrum.com
>
> --
> You received this message because you are subscribed to the Google Groups 
> "modwsgi" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/modwsgi?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to