Hi Nikolaus
thank you for your wonderful works

I'm trying to install s3ql 2.8.1 on centos 6.5 64bit, where possible using 
standard rpm and repositories

My real goal is to create s3ql-2.8.1 rpm for centos 6.5, but now I need to 
make it working on centos6.5 

I followed and merged this instructions:
http://www.rath.org/s3ql-docs/installation.html
https://bitbucket.org/nikratio/s3ql/wiki/installation_centos

First I installed developement tools and requisites
yum install gcc-c++.x86_64 make.x86_64 libattr-devel.x86_64 \
            fuse-libs.x86_64 fuse-devel.x86_64 fuse.x86_64 \
            bzip2.x86_64 unzip.x86_64 xz-libs.x86_64 xz-devel.x86_64 \
            xz.x86_64 libffi

I installed python3 from rhscl:
# yum --enablerepo=extras install centos-release-SCL
# yum install python33-*

then I enabled python33
# scl enable python33 bash

Upgraded python3 setuptool
#wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - 
| python

now setuptools version is 3.4.4:
#python -c 'import setuptools; print(setuptools.__version__)'
# 3.4.4

downloaded pycrypto 2.6.1
# wget http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/pycrypto-2.6.1.tar.gz
untar and install:
# python setup.py install
#python -c 'import Crypto'
No errors

I downloaded and installed sqlite and sqlite-devel from atomic
# wget 
http://www6.atomicorp.com/channels/atomic/centos/6/x86_64/RPMS/sqlite-3.7.9-1.el6.art.x86_64.rpm
# wget 
http://www6.atomicorp.com/channels/atomic/centos/6/x86_64/RPMS/sqlite-devel-3.7.9-1.el6.art.x86_64.rpm
# yum localinstall sqlite*
No errors

Downloaded apsw-3.7.9-r1
# wget https://apsw.googlecode.com/files/apsw-3.7.9-r1.zip
uncompressed and installed
# python setup.py install
# python -c 'import apsw; print(apsw.apswversion())'
3.7.9-r1

Downloaded llfuse 0.40
# wget https://python-llfuse.googlecode.com/files/llfuse-0.40.tar.bz2
untarred and installed:
# python setup.py install
no errors, but some warning:

In file included from src/llfuse/capi.c:11:
src/llfuse/capi_linux.c: In function ‘__pyx_f_6llfuse_4capi_fuse_create’:
src/llfuse/capi_linux.c:14759: warning: ‘__pyx_v_ret’ may be used 
uninitialized in this function
src/llfuse/capi_linux.c: In function ‘__pyx_f_6llfuse_4capi_fuse_access’:
src/llfuse/capi_linux.c:14302: warning: ‘__pyx_v_ret’ may be used 
uninitialized in this function
src/llfuse/capi_linux.c: In function 
‘__pyx_f_6llfuse_4capi_fuse_removexattr’:
src/llfuse/capi_linux.c:13879: warning: ‘__pyx_v_ret’ may be used 
uninitialized in this function
src/llfuse/capi_linux.c: In function ‘__pyx_f_6llfuse_4capi_fuse_listxattr’:
src/llfuse/capi_linux.c:13376: warning: ‘__pyx_v_ret’ may be used 
uninitialized in this function
src/llfuse/capi_linux.c: In function ‘__pyx_f_6llfuse_4capi_fuse_getxattr’:
src/llfuse/capi_linux.c:12893: warning: ‘__pyx_v_ret’ may be used 
uninitialized in this function
src/llfuse/capi_linux.c: In function ‘__pyx_f_6llfuse_4capi_fuse_setxattr’:
src/llfuse/capi_linux.c:12129: warning: ‘__pyx_v_ret’ may be used 
uninitialized in this function
......

#python -c 'import llfuse'
No errors

then downloaded and installed dugong 2.2
# wget https://pypi.python.org/packages/source/d/dugong/dugong-2.2.tar.bz2
unpacked and installed
#python setup.py install
no errors
# python -c 'import dugong; print(dugong.__version__)'
2.2

finally s3ql:
# wget https://bitbucket.org/nikratio/s3ql/downloads/s3ql-2.8.1.tar.bz2
unpacked and installed
#  python3 setup.py build_ext --inplace
All OK!

and now the test:
# python3 runtests.py tests 

after some succesful tests:
tests/t2_block_cache.py:114: cache_tests.test_destroy_deadlock FAILED

================================================================================
 
FAILURES 
================================================================================
___________________________________________________________________ 
cache_tests.test_destroy_deadlock 
____________________________________________________________________
Traceback (most recent call last):
  File "/root/s3ql/s3ql-2.8.1/tests/t2_block_cache.py", line 163, in 
test_destroy_deadlock
    self.cache.destroy()
  File "_pytest.python", line 1009, in __exit__
    pytest.fail("DID NOT RAISE")
  File "_pytest.runner", line 456, in fail
    raise Failed(msg=msg, pytrace=pytrace)
Failed: DID NOT RAISE
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 
Interrupted: stopping after 1 failures 
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
============================================================ 1 failed, 104 
passed, 97 skipped in 5.15 seconds 
============================================================

What is missing or what is wrong?
Can you help me?

Thanks
Cristian

-- 
You received this message because you are subscribed to the Google Groups 
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to