Okay, it looks like I installed Macports Apache, since Homebrew has given me such trouble in the past. They also have mod_wsgi: https://ports.macports.org/port/mod_wsgi/details/ but it says unverified for ARM64 processor. Will give it a try and report back if it works
-- Gnarlie On Tuesday, February 7, 2023 at 12:09:10 AM UTC-7 Graham Dumpleton wrote: > 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: > > [image: twitter.abaf4b19.webp] > > mod-wsgi <https://pypi.org/project/mod-wsgi/> > pypi.org <https://pypi.org/project/mod-wsgi/> > <https://pypi.org/project/mod-wsgi/> > > 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 <gnarl...@gmail.com> 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 modwsgi+u...@googlegroups.com. > 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 modwsgi+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/modwsgi/29295c74-02ae-471c-aaeb-9cce81fe50c3n%40googlegroups.com.