You can't use configure/make/make install (CMMI) method to install on macOS if 
is system Apache httpd as Apple supplied Apache httpd is broken. Installing 
from upstream Apache httpd source code also will not work. You need to install 
Apache httpd using Homebrew and use that instead if want to use CMMI method.

As to Python, Apple supplied Apache is not under /opt/local so somewhat doubt 
that is Xcode version.

Either way, you can try using "pip install mod_wsgi" method instead. See:

https://pypi.org/project/mod-wsgi/
mod-wsgi
pypi.org
 
This should work, although do note that latest macOS versions block you running 
third party Apache module, so your only choice is to use mod_wsgi-express 
instead and you can't manually configure Apache using the module it builds.

Using HomeBrew Apache avoids the macOS restrictions on third party Apache 
modules as well.

Graham

> On 7 Feb 2023, at 6:00 pm, Gnarlodious <[email protected]> wrote:
> 
> I ran:
> ./configure --with-python=/opt/local/bin/python 
> --with-apxs=/opt/local/bin/apxs
> 
> ...which points to Python3.9 in Xcode.
> 
> I said make and got errors at the end with no build file:
> ld: warning: directory not found for option 
> '-L/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/config'
> ld: warning: -undefined dynamic_lookup may not work with chained fixups
> 
> There is a folder at
> /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9
> ...but no config folder inside it.
> 
> This is MacOS 13.1
> 
> What's the next step?
> 
> -- Gnarlie
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "modwsgi" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/modwsgi/b3d3caea-1101-4b3e-9989-484f6ba511e2n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/modwsgi/b3d3caea-1101-4b3e-9989-484f6ba511e2n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/modwsgi/424F7E5A-FE2D-4236-B2C4-86120BE06077%40gmail.com.

Reply via email to