[mod_python] Python 2.5

Honza Rameš shadow at mapik.net
Wed Sep 6 11:38:05 EDT 2006


 Today I managed to get SVN for 2.5 working but using with Trac is
impossible bacause apache raises an exception in Python25.dll so I suggest
you use either older Python/SVN or wait a while until someone fixes whatever
is causing this bug. If this happens I'll be happy to provide you with
compiled versions of Apache, Python, SVN etc etc etc....
But If you want to try to build it anyway I'll be happy to provide you with
any information you need.
My approach was:

   1. Read the SVN docs
   2. Build zlib
   3. Build openssl
   4. Build apache (to get Apr iconv etc)
   5. Build svn
   6. Build python
   7. Build mod_python
   8. Get swig (you will need older version the newest one isn't working
   with the SVN sources, it took me half a day to figure it out)
   9. Buld swig SVN bindings for python

But this is not the ultimate guide. During the build proccess I had to
change several include paths and find static libraries.

You probably know how I feel right now when I have everything built but the
Trac with SVN isn't working.

Honza Rames


On 9/1/06, Nicolas Lehuen <nicolas at lehuen.com> wrote:
>
> Your input about Trac is interesting. On a machine I'm stuck with Python
> 2.3 because I want to run Trac. I tried to build the SVN Python binding
> for Python 2.4, but even though I have a full compiler chain (so I can
> build Apache, Neon, apr-utils, SVN, Python etc. with the same compiler), the
> task is quite daunting, as building SVN for Win32 is not the simplest thing
> of earth (you might as well try to make meat stuffed spaghettis).
>
> So, I wonder, how did you manage to get the SVN Python bindings for Python
> 2.5 ? With the final release coming soon, this would be very great :)
>
> Regards,
> Nicolas
>
> 2006/9/1, Honza Rameš < shadow at mapik.net>:
>
> >  Thanks for your reply
> >
> > Python 2.4 works perfectly but when I change to 2.5 RC1 apache can't
> > find the handler. I have tried to start python console and import
> > mod_python.apache it worked (accordingly to
> > http://www.modpython.org/pipermail/mod_python/2004-November/016815.html)
> > and I double checked evry path and I also tried to copy python25.dll to
> > several locations in PATH byt I got the same result :-( I was very supprised
> > that it didn't work. If the 2.4 didn't work as well then it would seem
> > that I hove done some mistake in configuration but this way I am very
> > confused. I read the article you sent me before but I couldn't find any
> > usable information. Is there a possbility that I haven't installed Python
> > correctly? I mean I compiled it but could there be missing some files that
> > would couse this problem?
> > The reason I'm doing all this is because I'm trying to get Trac with SVN
> > to work. There are no windows SVN bindings for python 2.4 so I tried to
> > make them but Python 2.4 compiled with VS2005 does not run at all (so
> > I'm using official release), Python 2.5 does but mod_python doesn't :-(
> >
> > Regards
> >
> > Honza Rames
> >
> >  On 8/31/06, Jim Gallacher <jpg at jgassociates.ca > wrote:
> > >
> > > I haven't tried 2.5 yet, but I guess we should start testing the
> > > development branch against it. We're hoping to release mod_python 3.3
> > > sometime in October or November. Hopefully that would be too long
> > > after
> > > python 2.5 is officially out. I don't know what their timetable is but
> > > currently it's just the release candidate so the lag shouldn't be too
> > > great. I'd be very surprised if there was any changes that would break
> > > mod_python though.
> > >
> > > For your particular problem though I suspect it's the usual
> > > installation
> > > funkiness rather than a python 2.5 specific issue. In particular take
> > > a
> > > look at the thread that started on Tuesday. See
> > > http://www.modpython.org/pipermail/mod_python/2006-August/021944.html
> > >
> > > Jim
> > >
> > >
> > > Honza Rameš wrote:
> > > > Hi,
> > > > have any of you tried to run mod_python with Python 2.5 on Windows.
> > > I
> > > > cannot run Python 2.4 compiled with VS2005 it always result in an
> > > error.
> > > > And
> > > > mod_python with Python 2.5 returns Internal server error and
> > > > error.logcontains:
> > > >
> > > >
> > > >> [Thu Aug 31 02:40:35 2006] [error] make_obcallback: could not
> > > import
> > > >> mod_python.apache.\n
> > > >> [Thu Aug 31 02:40:35 2006] [error] make_obcallback: Python path
> > > being
> > > >> used
> > > >> "['C:\\\\WINDOWS\\\\system32\\\\python25.zip', '.\\\\DLLs',
> > > '.\\\\lib',
> > > >> '.\\\\lib\\\\plat-win', '.\\\\lib\\\\lib-tk',
> > > >> 'C:\\\\Inetpub\\\\Apache2\\\\bin']".
> > > >> [Thu Aug 31 02:40:35 2006] [error] python_handler: no interpreter
> > > >> callback
> > > >> found.
> > > >> [Thu Aug 31 02:40:35 2006] [error] [client 10.0.0.2]
> > > python_handler:
> > > >> Can't
> > > >> get/create interpreter.
> > > >
> > > >
> > > > I compiled both Apache 2.2.3 and mod_python 3.2.10
> > > > Thanks
> > > >
> > > > Honza Rames
> > > >
> > > >
> > > >
> > > ------------------------------------------------------------------------
> > > >
> > > > _______________________________________________
> > > > Mod_python mailing list
> > > > Mod_python at modpython.org
> > > > http://mailman.modpython.org/mailman/listinfo/mod_python
> > >
> > >
> >
> > _______________________________________________
> > Mod_python mailing list
> > Mod_python at modpython.org
> > http://mailman.modpython.org/mailman/listinfo/mod_python
> >
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20060906/ab475aa1/attachment.html


More information about the Mod_python mailing list