mod_python kompilieren - Linux

Alles, was den Apache betrifft, kann hier besprochen werden.

mod_python kompilieren - Linux

Postby bicpi » 27. May 2005 11:33

Hi, ich möchte gerne das mod_python bei mir installieren. Der Apache ist schon selbst kompiliert, so sollte es also auch mit dem Modul sein.
Ich habe das Modul auf der Apache-Site runtergeladen und das configure mit apxs-Pfad lief auch scheinbar ohne Fehler.
Nur beim make kommt dann eine endlose Fehlerserie, die so lang ist dass sie hier gar keinen Platz findet, also mal ein kleiner Auszug...:

Code: Select all
/root/mod_python-3.1.4/src/include/requestobject.h:55: warning: data definition has no type or storage class
/root/mod_python-3.1.4/src/include/requestobject.h:59: error: parse error before '*' token
In file included from /root/mod_python-3.1.4/src/include/mod_python.h:84,
                 from mod_python.c:28:
/root/mod_python-3.1.4/src/include/filterobject.h:32: error: parse error before "PyObject_HEAD"
/root/mod_python-3.1.4/src/include/filterobject.h:32: warning: no semicolon at end of struct or union
/root/mod_python-3.1.4/src/include/filterobject.h:53: error: parse error before '*' token
/root/mod_python-3.1.4/src/include/filterobject.h:53: warning: data definition has no type or storage class
/root/mod_python-3.1.4/src/include/filterobject.h:55: error: parse error before '}' token
/root/mod_python-3.1.4/src/include/filterobject.h:55: warning: data definition has no type or storage class
/root/mod_python-3.1.4/src/include/filterobject.h:57: error: parse error before "MpFilter_Type"
/root/mod_python-3.1.4/src/include/filterobject.h:57: warning: data definition has no type or storage class
/root/mod_python-3.1.4/src/include/filterobject.h:61: error: parse error before '*' token
In file included from mod_python.c:28:
/root/mod_python-3.1.4/src/include/mod_python.h:115: error: parse error before "PyInterpreterState"


Lauter ParseErrors, wieso?
Hat jemand einen Tipp und/oder weiss ein Tutorial zur Installation von Python unter Linux? Habe eigentlich Anweisungen aus einem Buch befolgt, aber irgenwas scheint ja nicht zu stimmen...

Freu mich über jede Hilfe :-)

Viele Grüße

PS: Forumsuche liefert eigentlich nur was für Windows, leider
bicpi
 
Posts: 7
Joined: 27. May 2005 11:25

Return to Apache

Who is online

Users browsing this forum: No registered users and 24 guests