[mod_python] make problems

Jesse Lawrence lawrence_jesse at yahoo.ca
Wed Jul 3 09:58:15 EST 2002


Thanks a lot for the pointer.  It did the trick.  Now
I'm having problems with my apache configuration. 
I've got the AddModule and 
LoadModule ok, but I'm a little confused as to the
proper way to set up the AddHandler and PythonHandler,
the documentation seems a little hazy on this point. 
Any help will be greatly appreciated,
Thanks,
Jesse

--- Michal Vitecek <fuf at mobil.cz> wrote:
>  you're missing the python header files. most
> probably because you are on
>  some system with package system and haven't
> installed the appropriate
>  package. for RH this could be
> python-devel-something.
> 
> Jesse Lawrence wrote:
> >Hello everyone,
> >
> >I've tried finding an answer to this in the mailing
> >list archive, but haven't been successful. I run
> the
> >following:
> >
> >./configure --with-apxs=/usr/sbin/apxs 
> >
> >and it seems to be fine, but when I run make dso or
> >just make, I get the following message:
> >
> >[jalaw at soniceast mod_python-2.7.8]# make dso
> >make[1]: Entering directory
> >`/home/jalaw/mod_python-2.7.8/src'
> >gcc  -I/home/jalaw/mod_python-2.7.8/src/include
> >-I/usr/include/apache -I/usr/include/python2.1   
> -c
> >-o mod_python.o mod_python.c
> >In file included from mod_python.c:54:
>
>/home/jalaw/mod_python-2.7.8/src/include/mod_python.h:77:20:
> >Python.h: No such file or directory
>
>/home/jalaw/mod_python-2.7.8/src/include/mod_python.h:78:26:
> >structmember.h: No
> >such file or directory
> >make[1]: *** [mod_python.o] Error 1
> >make[1]: Leaving directory
> >`/home/jalaw/mod_python-2.7.8/src'
> >make: *** [do_dso] Error 2
> >
> >Can anyone please tell me what is happening here? 
> Any
> >help will be greatly appreciated.
> >
> >Thank you,
> >
> >Jesse Lawrence
> >
>
>______________________________________________________________________
> 
> >Post your ad for free now!
> http://personals.yahoo.ca
> >_______________________________________________
> >Mod_python mailing list
> >Mod_python at modpython.org
>
>http://www.modpython.org/mailman/listinfo/mod_python
> 
> -- 
> 		fuf		(fuf at mobil.cz)
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://www.modpython.org/mailman/listinfo/mod_python


______________________________________________________________________ 
Post your ad for free now! http://personals.yahoo.ca



More information about the Mod_python mailing list