[csw-maintainers] Python 2.6 and mod_python
Mike Watters
mwatters at opencsw.org
Sat Mar 7 16:32:52 CET 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Rupert,
I downloaded the source for mod_wsgi and took a look at it.
I have a good Idea where you are stuck; if I am right,
all your problems "should" be taken care of with the "new" python 2.6 package.
I noticed mod_wsgi ignores the compile time variables and only uses the python-config values for the build flags.
Unfortunately in the version on the build farm is incorrect (missing -L/opt/csw/lib et.al.)
The version in testing has been corrected, and I plan on releasing it next week as I have only received good feedback
"so far".
if you want to compile it now you can add the following to your Makefile ( if using gar v2 )
[==> code begin <==]
## Fix Makefile LDFLAGS to correct broken python-config return values
post-configure-modulated:
@( perl -i -plne 's|^LDFLAGS = .*|LDFLAGS = -L/opt/csw/lib|' \
$(WORKSRC)/Makefile )
[==> code end <==]
rupert THURNER wrote:
> how do you compile mod_python with the fixed python? then i could try
> the same with mod_wsgi.
>
> one strange thing when compiling mod_wsgi on build10s is that it says i386:
> [===== NOW BUILDING: mod_wsgi-2.3 MODULATION isa-i386: ISA=i386 =====]
> [extract-modulated] complete for mod_wsgi.
> ==> Running configure in work/build-isa-i386/mod_wsgi-2.3
>
> rupert.
>
>
> On Fri, Mar 6, 2009 at 00:37, Mike Watters <mwatters at opencsw.org> wrote:
> unless I receive negative feed back:
> I plan to release the "fixed" python 2.6 packages as well as mod_python next week.
>
> the changes from the current version are: forced architecture to be v8
> fixed python-config --ldflags to include -L and -R flags correctly.
>
> mod_python is just a recompile against the new python
>
_______________________________________________
maintainers mailing list
maintainers at lists.opencsw.org
https://lists.opencsw.org/mailman/listinfo/maintainers
>>
> _______________________________________________
> maintainers mailing list
> maintainers at lists.opencsw.org
> https://lists.opencsw.org/mailman/listinfo/maintainers
- --
Thanks,
Mike
"Any intelligent fool can make things bigger, more complex,
and more violent. It takes a touch of genius -- and a lot of courage --
to move in the opposite direction."
* Albert Einstein 1879 - 1955
US German-born Theoretical Physicist
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkmyk6QACgkQLrhmsXMSLxenvQCfaYnfJN/9tfmjmzWvGusMBz9W
40UAoObrWdD4px0Go1eID4+OENgoMcev
=sJ3e
-----END PGP SIGNATURE-----
More information about the maintainers
mailing list