Try supplying: --disable-framework
option to 'configure' for mod_wsgi when running it. Post results for that like you did below. FWIW, I haven't validated compiling under MacOS X Tiger and Apache 1.3 for quite a while. Graham 2010/1/4 Bill Leddy <[email protected]>: > I get the following error when trying to run make: > > cc -bundle -undefined suppress -flat_namespace -Wl,-bind_at_load -o > mod_wsgi.so mod_wsgi.o -Wl,-F/Library/Frameworks -framework Python -u > _PyMac_Error -arch ppc -ldl > /usr/bin/ld: /Library/Frameworks/Python.framework/Python load command > 4 unknown cmd field > collect2: ld returned 1 exit status > apxs:Break: Command failed with rc=1 > make: *** [mod_wsgi.so] Error 1 > > The paths in the Makefile look correct. > > Mac 10.4 PPC > Python 2.6.4 (python.org Mac build) > > I was able to build mod_ for Python 2.3. > > Thanks for any advice you can offer. > > Bill > > Here is the whole output from make: > > 057:~/Documents/mod_wsgi-3.1 ops$ make > /usr/sbin/apxs -c -I/Library/Frameworks/Python.framework/Versions/2.6/ > include/python2.6 -DNDEBUG -Wc,'-arch ppc' mod_wsgi.c -Wl,-F/Library/ > Frameworks -framework Python -u _PyMac_Error -arch ppc -ldl > gcc -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -g -Os - > pipe -DHARD_SERVER_LIMIT=2048 -DEAPI -DSHARED_MODULE -I/usr/include/ > httpd -arch ppc -I/Library/Frameworks/Python.framework/Versions/2.6/ > include/python2.6 -DNDEBUG -c mod_wsgi.c > In file included from /usr/include/httpd/ap_config.h:1129, > from /usr/include/httpd/httpd.h:29, > from mod_wsgi.c:34: > /usr/include/httpd/hsregex.h:22:1: warning: "ap_private_extern" > redefined > In file included from /usr/include/httpd/httpd.h:29, > from mod_wsgi.c:34: > /usr/include/httpd/ap_config.h:1025:1: warning: this is the location > of the previous definition > In file included from /Library/Frameworks/Python.framework/Versions/ > 2.6/include/python2.6/Python.h:8, > from mod_wsgi.c:135: > /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ > pyconfig.h:563:1: warning: "HAVE_SNPRINTF" redefined > In file included from /usr/include/httpd/httpd.h:29, > from mod_wsgi.c:34: > /usr/include/httpd/ap_config.h:411:1: warning: this is the location of > the previous definition > cc -bundle -undefined suppress -flat_namespace -Wl,-bind_at_load -o > mod_wsgi.so mod_wsgi.o -Wl,-F/Library/Frameworks -framework Python -u > _PyMac_Error -arch ppc -ldl > /usr/bin/ld: /Library/Frameworks/Python.framework/Python load command > 4 unknown cmd field > collect2: ld returned 1 exit status > apxs:Break: Command failed with rc=1 > make: *** [mod_wsgi.so] Error 1 > 057:~/Documents/mod_wsgi-3.1 ops$ > > -- > > 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.
