did i forgot something stupid again on my other server like dev files
or something :-)

wget http://python.org/ftp/python/3.0/Python-3.0.tar.bz2
./configure --prefix=/usr/python
make
make install

r...@ns1:/srv/mod_wsgi# apt-get install apache2-mpm-prefork apache2-
prefork-dev gcc gdb make
Reading package lists... Done
Building dependency tree
Reading state information... Done
apache2-mpm-prefork is already the newest version.
apache2-mpm-prefork set to manually installed.
apache2-prefork-dev is already the newest version.
gcc is already the newest version.
gdb is already the newest version.
make is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

r...@ns1:/srv/mod_wsgi# ./configure --with-python=/usr/python/bin/
python3.0
checking for apxs2... /usr/bin/apxs2
checking Apache version... 2.2.9
configure: creating ./config.status
config.status: creating Makefile

r...@ns1:/srv/mod_wsgi# make
/usr/bin/apxs2 -c -I/usr/python/include/python3.0 -DNDEBUG
mod_wsgi.c -Wl,-L/usr/python/lib/python3.0/config -Wl,-lpython3.0 -Wl,-
lpthread -Wl,-ldl -Wl,-lutil -Wl,-lm
/usr/share/apr-1.0/build/libtool --silent --mode=compile --tag=disable-
static x86_64-linux-gnu-gcc -prefer-pic -DLINUX=2 -D_GNU_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/
python3.0 -DNDEBUG  -c -o mod_wsgi.lo mod_wsgi.c && touch mod_wsgi.slo
/usr/share/apr-1.0/build/libtool --silent --mode=link --tag=disable-
static x86_64-linux-gnu-gcc -o mod_wsgi.la  -rpath /usr/lib/apache2/
modules -module -avoid-version    mod_wsgi.lo -Wl,-L/usr/python/lib/
python3.0/config -Wl,-lpython3.0 -Wl,-lpthread -Wl,-ldl -Wl,-lutil -
Wl,-lm
/usr/bin/ld: /usr/python/lib/python3.0/config/libpython3.0.a(node.o):
relocation R_X86_64_32 against `a local symbol' can not be used when
making a shared object; recompile with -fPIC
/usr/python/lib/python3.0/config/libpython3.0.a: could not read
symbols: Bad value
collect2: ld returned 1 exit status
apxs:Error: Command failed with rc=65536
.
make: *** [mod_wsgi.la] Error 1
r...@ns1:/srv/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
-~----------~----~----~----~------~----~------~--~---

Reply via email to