[Ninux-Wireless] Netsukuku su fonera

clauz a ninux.org clauz a ninux.org
Dom 16 Maggio 2010 01:01:11 CEST


Ciao.
Qui a Berlino sto cercando di far girare Netsukuku su una fonera.
Claudyus ha fornito un Makefile per un package di stackless python [1] e
sembra funzionare. Sono riuscito a compilare ed installare e facendo
delle prove da riga di comando il python parte e, dopo aver impostato
bene PYTHONPATH e PYTHONHOME, importa i moduli senza problemi.

Quindi ho preso la directory pyntk di Netsukuku e l'ho copiata sulla
fonera.

Facendo partire il tutto con il comando:

# python -v ntkd -i eth0 -vvvv

ottengo

# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# /usr/lib/python2.6/copy_reg.pyc matches /usr/lib/python2.6/copy_reg.py
import copy_reg # precompiled from /usr/lib/python2.6/copy_reg.pyc
# /usr/lib/python2.6/types.pyc matches /usr/lib/python2.6/types.py
import types # precompiled from /usr/lib/python2.6/types.pyc
# /usr/lib/python2.6/site.pyc matches /usr/lib/python2.6/site.py
import site # precompiled from /usr/lib/python2.6/site.pyc
# /usr/lib/python2.6/os.pyc matches /usr/lib/python2.6/os.py
import os # precompiled from /usr/lib/python2.6/os.pyc
import errno # builtin
import posix # builtin
# /usr/lib/python2.6/posixpath.pyc matches /usr/lib/python2.6/posixpath.py
import posixpath # precompiled from /usr/lib/python2.6/posixpath.pyc
# /usr/lib/python2.6/stat.pyc matches /usr/lib/python2.6/stat.py
import stat # precompiled from /usr/lib/python2.6/stat.pyc
# /usr/lib/python2.6/genericpath.pyc matches
/usr/lib/python2.6/genericpath.py
import genericpath # precompiled from /usr/lib/python2.6/genericpath.pyc
# /usr/lib/python2.6/warnings.pyc matches /usr/lib/python2.6/warnings.py
import warnings # precompiled from /usr/lib/python2.6/warnings.pyc
# /usr/lib/python2.6/linecache.pyc matches /usr/lib/python2.6/linecache.py
import linecache # precompiled from /usr/lib/python2.6/linecache.pyc
# /usr/lib/python2.6/UserDict.pyc matches /usr/lib/python2.6/UserDict.py
import UserDict # precompiled from /usr/lib/python2.6/UserDict.pyc
# /usr/lib/python2.6/_abcoll.pyc matches /usr/lib/python2.6/_abcoll.py
import _abcoll # precompiled from /usr/lib/python2.6/_abcoll.pyc
# /usr/lib/python2.6/abc.pyc matches /usr/lib/python2.6/abc.py
import abc # precompiled from /usr/lib/python2.6/abc.pyc
Python 2.6.5 Stackless 3.1b3 060516 (release26-maint, May 14 2010,
19:06:43)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
# /usr/lib/python2.6/optparse.pyc matches /usr/lib/python2.6/optparse.py
import optparse # precompiled from /usr/lib/python2.6/optparse.pyc
# /usr/lib/python2.6/textwrap.pyc matches /usr/lib/python2.6/textwrap.py
import textwrap # precompiled from /usr/lib/python2.6/textwrap.pyc
# /usr/lib/python2.6/string.pyc matches /usr/lib/python2.6/string.py
import string # precompiled from /usr/lib/python2.6/string.pyc
# /usr/lib/python2.6/re.pyc matches /usr/lib/python2.6/re.py
import re # precompiled from /usr/lib/python2.6/re.pyc
# /usr/lib/python2.6/sre_compile.pyc matches
/usr/lib/python2.6/sre_compile.py
import sre_compile # precompiled from /usr/lib/python2.6/sre_compile.pyc
Segmentation fault


Se faccio partire la shell di python ed importo sre_compile invece non
ottengo errori, da cui deduco che non basta la ram sulla fonera.

Se non ci sono altri suggerimenti, appena ho tempo cerco di liberare
piu' ram possibile e di fare altre prove...

Ciao,
Clauz


-------------- parte successiva --------------
Un allegato non testuale รจ stato rimosso....
Nome:        signature.asc
Tipo:        application/pgp-signature
Dimensione:  262 bytes
Descrizione: OpenPGP digital signature
URL:         <http://ml.ninux.org/pipermail/wireless/attachments/20100516/35b397b5/attachment-0001.sig>


Maggiori informazioni sulla lista Wireless