[cpif] Arrancar CPIF
Dani
pipistrellum at gmail.com
Wed May 27 19:07:32 CEST 2015
Hola Jcea,
Escribo un mensaje breve porque no estoy seguro si esta cuenta fuciona.
He intentado arrancar el cpif y no he podido.
Gracias de antemano.
He descargado con
Hg clone
No tengo muy claro donde se arranca o si hay que inicializarlo antes
de arrancarlo, en el README no indica nada.
dani at Lubu:~/mercurial/cpif/frontend-web$ python init.py
/home/dani/mercurial/cpif/backend/upgrade.py 0
Traceback (most recent call last):
File "init.py", line 97, in <module>
main()
File "init.py", line 31, in main
dummy,dummy,monitor=storage.storage_and_monitor(os.path.join(os.path.pardir,"backend","db"))
AttributeError: 'module' object has no attribute 'storage_and_monitor'
dani at Lubu:~/mercurial/cpif/frontend-web$
-----
dani at Lubu:~/mercurial/cpif/frontend-web$ python
../varios/prueba_de_concepto.py Traceback (most recent call last):
File "../varios/prueba_de_concepto.py", line 14, in <module>
from durus.btree import BTree
ImportError: No module named durus.btree
dani at Lubu:~/mercurial/cpif/frontend-web$
dani at Lubu:~/mercurial/cpif/frontend-web$ pip install Durus
Downloading/unpacking Durus
Downloading Durus-3.9.tar.gz (69kB): 69kB downloaded
Running setup.py (path:/tmp/pip_build_dani/Durus/setup.py) egg_info
for package Durus
Installing collected packages: Durus
Running setup.py install for Durus
building 'durus._persistent' extension
i686-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g
-fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7
-c _persistent.c -o build/temp.linux-i686-2.7/_persistent.o
_persistent.c:6:20: fatal error: Python.h: No existe el archivo o
el directorio
#include "Python.h"
^
compilation terminated.
error: command 'i686-linux-gnu-gcc' failed with exit status 1
Complete output from command /usr/bin/python -c "import
setuptools, tokenize;__file__='/tmp/pip_build_dani/Durus/setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r\n', '\n'), __file__,
'exec'))" install --record /tmp/pip-3pLUpM-record/install-record.txt
--single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.linux-i686-2.7
creating build/lib.linux-i686-2.7/durus
copying ./persistent.py -> build/lib.linux-i686-2.7/durus
copying ./persistent_list.py -> build/lib.linux-i686-2.7/durus
copying ./file_storage.py -> build/lib.linux-i686-2.7/durus
copying ./btree.py -> build/lib.linux-i686-2.7/durus
copying ./client_storage.py -> build/lib.linux-i686-2.7/durus
copying ./connection.py -> build/lib.linux-i686-2.7/durus
copying ./storage.py -> build/lib.linux-i686-2.7/durus
copying ./file.py -> build/lib.linux-i686-2.7/durus
copying ./error.py -> build/lib.linux-i686-2.7/durus
copying ./__main__.py -> build/lib.linux-i686-2.7/durus
copying ./shelf.py -> build/lib.linux-i686-2.7/durus
copying ./logger.py -> build/lib.linux-i686-2.7/durus
copying ./db_renumber.py -> build/lib.linux-i686-2.7/durus
copying ./persistent_set.py -> build/lib.linux-i686-2.7/durus
copying ./storage_server.py -> build/lib.linux-i686-2.7/durus
copying ./__init__.py -> build/lib.linux-i686-2.7/durus
copying ./db_to_py3k.py -> build/lib.linux-i686-2.7/durus
copying ./setup.py -> build/lib.linux-i686-2.7/durus
copying ./persistent_dict.py -> build/lib.linux-i686-2.7/durus
copying ./utils.py -> build/lib.linux-i686-2.7/durus
copying ./serialize.py -> build/lib.linux-i686-2.7/durus
running build_ext
building 'durus._persistent' extension
creating build/temp.linux-i686-2.7
i686-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv
-O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c
_persistent.c -o build/temp.linux-i686-2.7/_persistent.o
_persistent.c:6:20: fatal error: Python.h: No existe el archivo o el directorio
#include "Python.h"
^
compilation terminated.
error: command 'i686-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Cleaning up...
Command /usr/bin/python -c "import setuptools,
tokenize;__file__='/tmp/pip_build_dani/Durus/setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r\n', '\n'), __file__,
'exec'))" install --record /tmp/pip-3pLUpM-record/install-record.txt
--single-version-externally-managed --compile failed with error code 1
in /tmp/pip_build_dani/Durus
Storing debug log for failure in /home/dani/.pip/pip.log
dani at Lubu:~/mercurial/cpif/frontend-web$ sudo pip install Durus
Downloading/unpacking Durus
Downloading Durus-3.9.tar.gz (69kB): 69kB downloaded
Running setup.py (path:/tmp/pip_build_root/Durus/setup.py) egg_info
for package Durus
Installing collected packages: Durus
Running setup.py install for Durus
building 'durus._persistent' extension
i686-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g
-fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7
-c _persistent.c -o build/temp.linux-i686-2.7/_persistent.o
_persistent.c:6:20: fatal error: Python.h: No existe el archivo o
el directorio
#include "Python.h"
^
compilation terminated.
error: command 'i686-linux-gnu-gcc' failed with exit status 1
Complete output from command /usr/bin/python -c "import
setuptools, tokenize;__file__='/tmp/pip_build_root/Durus/setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r\n', '\n'), __file__,
'exec'))" install --record /tmp/pip-MXBy3U-record/install-record.txt
--single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.linux-i686-2.7
creating build/lib.linux-i686-2.7/durus
copying ./persistent.py -> build/lib.linux-i686-2.7/durus
copying ./persistent_list.py -> build/lib.linux-i686-2.7/durus
copying ./file_storage.py -> build/lib.linux-i686-2.7/durus
copying ./btree.py -> build/lib.linux-i686-2.7/durus
copying ./client_storage.py -> build/lib.linux-i686-2.7/durus
copying ./connection.py -> build/lib.linux-i686-2.7/durus
copying ./storage.py -> build/lib.linux-i686-2.7/durus
copying ./file.py -> build/lib.linux-i686-2.7/durus
copying ./error.py -> build/lib.linux-i686-2.7/durus
copying ./__main__.py -> build/lib.linux-i686-2.7/durus
copying ./shelf.py -> build/lib.linux-i686-2.7/durus
copying ./logger.py -> build/lib.linux-i686-2.7/durus
copying ./db_renumber.py -> build/lib.linux-i686-2.7/durus
copying ./persistent_set.py -> build/lib.linux-i686-2.7/durus
copying ./storage_server.py -> build/lib.linux-i686-2.7/durus
copying ./__init__.py -> build/lib.linux-i686-2.7/durus
copying ./db_to_py3k.py -> build/lib.linux-i686-2.7/durus
copying ./setup.py -> build/lib.linux-i686-2.7/durus
copying ./persistent_dict.py -> build/lib.linux-i686-2.7/durus
copying ./utils.py -> build/lib.linux-i686-2.7/durus
copying ./serialize.py -> build/lib.linux-i686-2.7/durus
running build_ext
building 'durus._persistent' extension
creating build/temp.linux-i686-2.7
i686-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv
-O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c
_persistent.c -o build/temp.linux-i686-2.7/_persistent.o
_persistent.c:6:20: fatal error: Python.h: No existe el archivo o el directorio
#include "Python.h"
^
compilation terminated.
error: command 'i686-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Cleaning up...
Command /usr/bin/python -c "import setuptools,
tokenize;__file__='/tmp/pip_build_root/Durus/setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r\n', '\n'), __file__,
'exec'))" install --record /tmp/pip-MXBy3U-record/install-record.txt
--single-version-externally-managed --compile failed with error code 1
in /tmp/pip_build_root/Durus
Storing debug log for failure in /home/dani/.pip/pip.log
dani at Lubu:~/mercurial/cpif/frontend-web$
More information about the cpif
mailing list