[csw-maintainers] Python 2.6 and mod_python

Mike Watters mwatters at opencsw.org
Sat Mar 7 17:54:34 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I assume you mean you checked it into .../mod_wsgi/trunk.  ;)

don't forget to check in your "working" copy into subversion.

- From this point unless you see any CSW* packages listed where the SUNWcslx is
you are done and can copy the package files to /home/testing.

then send an email to maintainers and users  @lists.opencsw.org letting us know you put it in testing

rupert THURNER wrote:
> many thanks, you hacker :) checked it into
> http://apps.sourceforge.net/trac/gar/browser/csw/mgar/pkg/mod_python/trunk.
> 
> built it on 8x, 8s, 10x, 10s and:
> 
> Cross-referencing indexes...
>   found SUNWcslx for libc.so.1
>   found SUNWcslx for libdl.so.1
>   found SUNWcslx for libnsl.so.1
>   found SUNWcslx for libpthread.so.1
>   found CSWpython for libpython2.6.so.1.0
>   found SUNWcslx for libresolv.so.2
>   found SUNWcslx for librt.so.1
>   found SUNWcslx for libsocket.so.1
> SUGGESTION: you may want to add some or all of the following as depends:
>    (Feel free to ignore SUNW or SPRO packages)
>> SUNWcslx
> WARNING: found binaries in normal bin dir that are V8+
>         [package] complete for mod_wsgi.
> 
> do you do anything about this as well, or you just leave it? i suppose
> i have to copy the packages into home testing, isn't it?
> 
> rupert.
> 
> 
> On Sat, Mar 7, 2009 at 16:32, Mike Watters <mwatters at opencsw.org> wrote:
> 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
_______________________________________________
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

iEYEARECAAYFAkmypsoACgkQLrhmsXMSLxdTbwCdHfl0UwKTHinG6vV24Ryh9MAV
IgAAn2oU+akKKYB8oYd7a41VbaKP5zjs
=ZQSw
-----END PGP SIGNATURE-----



More information about the maintainers mailing list