So first it compiled http://python.org/ftp/python/3.0/Python-3.0.tar.bz2
After testing I moved all the stuff to /usr/python
And now I am trying to do this
r...@r12276:~/mod_wsgi#/usr/bin/apxs2 -c -I/usr/python/Include -
DNDEBUG mod_wsgi.c -Wl,-L/usr/python/Lib -Wl,-lpython3.0 -Wl,-
lpthread -Wl,-ldl -W
/usr/share/apr-1.0/build/libtool --silent --mode=compile --tag=disable-
static i486-linux-gnu-gcc -prefer-pic -DLINUX=2 -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/
include/mysql -I/usr/include/openssl -I/usr/include/postgresql -I/usr/
include/xmltok -pthread -I/usr/include/apache2 -I/usr/include/
apr-1.0 -I/usr/include/apr-1.0 -I/usr/include/postgresql -I/usr/
include/mysql -I/usr/python/Include -DNDEBUG -c -o mod_wsgi.lo
mod_wsgi.c && touch mod_wsgi.slo
In file included from mod_wsgi.c:120:
/usr/python/Include/Python.h:8:22: error: pyconfig.h: No such file or
directory
In file included from /usr/python/Include/Python.h:50,
from mod_wsgi.c:120:
/usr/python/Include/pyport.h:593:2: error: #error "LONG_BIT definition
appears wrong for platform (bad gcc/glibc config?)."
In file included from /usr/python/Include/Python.h:71,
from mod_wsgi.c:120:
/usr/python/Include/unicodeobject.h:71:2: error: #error Must define
Py_UNICODE_SIZE
In file included from /usr/python/Include/Python.h:71,
from mod_wsgi.c:120:
/usr/python/Include/unicodeobject.h:129: error: expected '=', ',',
';', 'asm' or '__attribute__' before 'Py_UNICODE'
/usr/python/Include/unicodeobject.h:435: error: expected specifier-
qualifier-list before 'Py_UNICODE'
/usr/python/Include/unicodeobject.h:490: error: expected ';', ',' or
')' before '*' token
/usr/python/Include/unicodeobject.h:509: error: expected '=', ',',
';', 'asm' or '__attribute__' before '*' token
/usr/python/Include/unicodeobject.h:520: error: expected '=', ',',
';', 'asm' or '__attribute__' before 'PyUnicodeUCS2_GetMax'
/usr/python/Include/unicodeobject.h:587: error: expected declaration
specifiers or '...' before 'Py_UNICODE'
/usr/python/Include/unicodeobject.h:790: error: expected ';', ',' or
')' before '*' token
/usr/python/Include/unicodeobject.h:845: error: expected ';', ',' or
')' before '*' token
/usr/python/Include/unicodeobject.h:874: error: expected ';', ',' or
')' before '*' token
/usr/python/Include/unicodeobject.h:947: error: expected ';', ',' or
')' before '*' token
/usr/python/Include/unicodeobject.h:1025: error: expected ';', ',' or
')' before '*' token
/usr/python/Include/unicodeobject.h:1044: error: expected ';', ',' or
')' before '*' token
/usr/python/Include/unicodeobject.h:1061: error: expected ';', ',' or
')' before '*' token
/usr/python/Include/unicodeobject.h:1092: error: expected ';', ',' or
')' before '*' token
/usr/python/Include/unicodeobject.h:1114: error: expected ';', ',' or
')' before '*' token
/usr/python/Include/unicodeobject.h:1156: error: expected ';', ',' or
')' before '*' token
/usr/python/Include/unicodeobject.h:1177: error: expected ';', ',' or
')' before '*' token
/usr/python/Include/unicodeobject.h:1237: error: expected ')' before
'*' token
/usr/python/Include/unicodeobject.h:1471: error: expected ')' before
'*' token
/usr/python/Include/unicodeobject.h:1488: error: expected ')' before
'ch'
/usr/python/Include/unicodeobject.h:1492: error: expected ')' before
'ch'
/usr/python/Include/unicodeobject.h:1496: error: expected ')' before
'ch'
/usr/python/Include/unicodeobject.h:1500: error: expected ')' before
'ch'
/usr/python/Include/unicodeobject.h:1504: error: expected ')' before
'ch'
/usr/python/Include/unicodeobject.h:1508: error: expected ';', ',' or
')' before 'ch'
/usr/python/Include/unicodeobject.h:1512: error: expected ';', ',' or
')' before 'ch'
/usr/python/Include/unicodeobject.h:1515: error: expected '=', ',',
';', 'asm' or '__attribute__' before '_PyUnicodeUCS2_ToLowercase'
/usr/python/Include/unicodeobject.h:1519: error: expected '=', ',',
';', 'asm' or '__attribute__' before '_PyUnicodeUCS2_ToUppercase'
/usr/python/Include/unicodeobject.h:1523: error: expected '=', ',',
';', 'asm' or '__attribute__' before '_PyUnicodeUCS2_ToTitlecase'
/usr/python/Include/unicodeobject.h:1528: error: expected ')' before
'ch'
/usr/python/Include/unicodeobject.h:1532: error: expected ')' before
'ch'
/usr/python/Include/unicodeobject.h:1536: error: expected ')' before
'ch'
/usr/python/Include/unicodeobject.h:1540: error: expected ')' before
'ch'
/usr/python/Include/unicodeobject.h:1544: error: expected ')' before
'ch'
/usr/python/Include/unicodeobject.h:1548: error: expected ')' before
'ch'
/usr/python/Include/unicodeobject.h:1552: error: expected ')' before
'ch'
/usr/python/Include/unicodeobject.h:1556: error: expected ')' before
'ch'
/usr/python/Include/unicodeobject.h:1559: error: expected ';', ',' or
')' before '*' token
/usr/python/Include/unicodeobject.h:1561: error: expected '=', ',',
';', 'asm' or '__attribute__' before '*' token
/usr/python/Include/unicodeobject.h:1564: error: expected '=', ',',
';', 'asm' or '__attribute__' before '*' token
/usr/python/Include/unicodeobject.h:1568: error: expected ';', ',' or
')' before '*' token
/usr/python/Include/unicodeobject.h:1570: error: expected '=', ',',
';', 'asm' or '__attribute__' before '*' token
In file included from /usr/python/Include/Python.h:72,
from mod_wsgi.c:120:
/usr/python/Include/longobject.h:67: error: expected ')' before '*'
token
/usr/python/Include/longobject.h:133: error: expected declaration
specifiers or '...' before 'Py_UNICODE'
In file included from /usr/python/Include/Python.h:75,
from mod_wsgi.c:120:
/usr/python/Include/floatobject.h:111: error: expected declaration
specifiers or '...' before 'Py_UNICODE'
In file included from /usr/python/Include/Python.h:102,
from mod_wsgi.c:120:
/usr/python/Include/pyerrors.h:241: error: expected ';', ',' or ')'
before '*' token
/usr/python/Include/pyerrors.h:245: error: expected ';', ',' or ')'
before '*' token
mod_wsgi.c:130:2: error: #error Sorry, mod_wsgi requires that Python
supporting thread.
mod_wsgi.c: In function 'wsgi_load_source':
mod_wsgi.c:5227: warning: assignment makes pointer from integer
without a cast
mod_wsgi.c:5230: warning: assignment makes pointer from integer
without a cast
mod_wsgi.c:5238: warning: assignment makes pointer from integer
without a cast
apxs:Error: Command failed with rc=65536
.
r...@r12276:~/mod_wsgi#
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---