Closed GoogleCodeExporter closed 8 years ago
It is meant to be:
-Wl,-F/opt/local/Library/Frameworks
you had '1' instead 'l'. Ie., use ell, not one.
Better still again, download:
http://modwsgi.googlecode.com/svn/branches/mod_wsgi-2.X/configure
and replace one in source with that. Then rerun configure.
The changes in that configure script are detailed in:
http://code.google.com/p/modwsgi/wiki/ChangesInVersion0206
MacPorts is a bit of a pain and how to link with it so don't have problems
seems to vary between builds and OS
versions. Those changes in configure script were latest attempt at solution,
but even that is possibly not working on
Snow Leopard.
Original comment by Graham.Dumpleton@gmail.com
on 9 Sep 2009 at 6:41
Thanks. I thought i copy/pasted the LDFLAGS line. At any rate, i copy/pasted
this
time and it still produced the same error. And i did already try that configure.
So now i've tried 2.5, 2.X and 3.0 and i think every combination of those with
and
without Makefile edits. All produce the same results.
Any more thoughts?
Original comment by nicero...@gmail.com
on 10 Sep 2009 at 12:45
Are you loading mod_python into same Apache instance?
Original comment by Graham.Dumpleton@gmail.com
on 10 Sep 2009 at 12:48
Nope. No mod_python.
Original comment by nicero...@gmail.com
on 10 Sep 2009 at 3:01
When you go:
which gcc
what does it use? Does it use /usr/bin/gcc, or MacPorts gcc?
Is there a specific read why you can't use Python 2.5 that ships with Apple?
Would you be prepared to build Python 2 6. from PSF source code rather than use
MacPorts? The MacPorts
packages seem to give no end of trouble when trying to embed their Python into
other applications.
Original comment by Graham.Dumpleton@gmail.com
on 10 Sep 2009 at 5:30
$ which gcc
/usr/bin/gcc
I don't remember why i can't use 2.5 but i ran into some issues with it which
was why
i installed MacPorts' version in the first place. I've had nothing but trouble
with
MacPorts when it comes to doing anything no strictly within their domain, which
seems
to be their philosophy so i won't complain too much :)
I'll try using my own build of Python instead of MacPorts. I probably would
have been
up and running already if i wasn't so focused on solving this problem :-|
Thanks for the help.
Original comment by nicero...@gmail.com
on 11 Sep 2009 at 4:05
After removing all traces of Python from MacPorts, i.e. reverting to OSX's
python2.5,
mod_wsgi worked perfectly.
Thanks
Original comment by nicero...@gmail.com
on 11 Sep 2009 at 1:08
Yet another issue caused by MacPorts Python. Closing issue as can't see that
anything needs to be done beyond
more flexibility in configure options for controlling framework linking that
has already been added.
Original comment by Graham.Dumpleton@gmail.com
on 18 Nov 2009 at 6:40
Original issue reported on code.google.com by
nicero...@gmail.com
on 9 Sep 2009 at 3:45