Re: mod_python error --> Solution
Solution:
1) apt-get build-dep libapache-mod-python
2) obtain a recent sources from www.modpython.org
3) symblink /usr/bin/python2 --> /usr/bin/python
4) from source of mod_pyton: (readme file)
./configure
make dso
make install
This solve my problem. thank you
I think there is an error in the libapache-mod-python bynary package fron
debian/testing
El jue, 28 jun 2001 12:45:46 Julio Mendoza escribió:
> this is my apache error.log
>
> [Thu Jun 28 12:32:21 2001] [notice] Apache/1.3.20 (Unix) Debian/GNU
> mod_python/2.7.3 Python/2.0 configured -- resuming normal operations
> [Thu Jun 28 12:32:21 2001] [notice] suEXEC mechanism enabled (wrapper:
> /usr/lib/apache/suexec)
> [Thu Jun 28 12:32:21 2001] [info] Server built: Jun 12 2001 13:50:30
> make_obcallback(): could not import mod_python.apache.
> make_obcallback(): could not call init.
> [Thu Jun 28 12:33:47 2001] [error] [client ] python_handler:
> make_obcallback returned no obCallBack!
>
>
> using the pytho2 idle (idle2) when i put in a script:
>
> from mod_python import apache ---- this produced an error: can find name
> apache ***
>
> when i change this to:
>
> import mod_python.apache ---- the script run fine from the python idle2.
>
>
> i cant find what the problem is!
>
>
>
> --
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
>
Reply to: