ramses-tech / ramses

RAML + Elasticsearch / Postgres / Mongodb / Your Data Store™ + Pyramid = RESTful API
http://ramses.tech
Apache License 2.0
303 stars 29 forks source link

Problems installing on mac osx #113

Closed emptyr1 closed 8 years ago

emptyr1 commented 8 years ago

pip install ramses gives: (a part of the output)


   Complete output from command //anaconda/envs/hackathon/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/g1/4_6qvpkd7871k5hrggy4dbcr0000gn/T/pip-build-0vkGwK/cryptacular/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/g1/4_6qvpkd7871k5hrggy4dbcr0000gn/T/pip-vT6JgR-record/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    creating build
    creating build/lib.macosx-10.5-x86_64-2.7
    creating build/lib.macosx-10.5-x86_64-2.7/cryptacular
    copying cryptacular/__init__.py -> build/lib.macosx-10.5-x86_64-2.7/cryptacular
    creating build/lib.macosx-10.5-x86_64-2.7/cryptacular/bcrypt
    copying cryptacular/bcrypt/__init__.py -> build/lib.macosx-10.5-x86_64-2.7/cryptacular/bcrypt
    copying cryptacular/bcrypt/test_bcrypt.py -> build/lib.macosx-10.5-x86_64-2.7/cryptacular/bcrypt
    creating build/lib.macosx-10.5-x86_64-2.7/cryptacular/core
    copying cryptacular/core/__init__.py -> build/lib.macosx-10.5-x86_64-2.7/cryptacular/core
    copying cryptacular/core/test_core.py -> build/lib.macosx-10.5-x86_64-2.7/cryptacular/core
    creating build/lib.macosx-10.5-x86_64-2.7/cryptacular/crypt
    copying cryptacular/crypt/__init__.py -> build/lib.macosx-10.5-x86_64-2.7/cryptacular/crypt
    copying cryptacular/crypt/test_crypt.py -> build/lib.macosx-10.5-x86_64-2.7/cryptacular/crypt
    creating build/lib.macosx-10.5-x86_64-2.7/cryptacular/pbkdf2
    copying cryptacular/pbkdf2/__init__.py -> build/lib.macosx-10.5-x86_64-2.7/cryptacular/pbkdf2
    copying cryptacular/pbkdf2/test_pbkdf2.py -> build/lib.macosx-10.5-x86_64-2.7/cryptacular/pbkdf2
    running egg_info
    writing requirements to cryptacular.egg-info/requires.txt
    writing cryptacular.egg-info/PKG-INFO
    writing namespace_packages to cryptacular.egg-info/namespace_packages.txt
    writing top-level names to cryptacular.egg-info/top_level.txt
    writing dependency_links to cryptacular.egg-info/dependency_links.txt
    warning: manifest_maker: standard file '-c' not found

    reading manifest file 'cryptacular.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'cryptacular.egg-info/SOURCES.txt'
    copying cryptacular/bcrypt/_bcrypt.c -> build/lib.macosx-10.5-x86_64-2.7/cryptacular/bcrypt
    running build_ext
    building 'cryptacular.bcrypt._bcrypt' extension
    creating build/temp.macosx-10.5-x86_64-2.7
    creating build/temp.macosx-10.5-x86_64-2.7/crypt_blowfish-1.2
    creating build/temp.macosx-10.5-x86_64-2.7/cryptacular
    creating build/temp.macosx-10.5-x86_64-2.7/cryptacular/bcrypt
    gcc -fno-strict-aliasing -I//anaconda/envs/hackathon/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DNO_BF_ASM -Icrypt_blowfish-1.2/ -I//anaconda/envs/hackathon/include/python2.7 -c crypt_blowfish-1.2/crypt_blowfish.c -o build/temp.macosx-10.5-x86_64-2.7/crypt_blowfish-1.2/crypt_blowfish.o
    gcc -fno-strict-aliasing -I//anaconda/envs/hackathon/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DNO_BF_ASM -Icrypt_blowfish-1.2/ -I//anaconda/envs/hackathon/include/python2.7 -c crypt_blowfish-1.2/crypt_gensalt.c -o build/temp.macosx-10.5-x86_64-2.7/crypt_blowfish-1.2/crypt_gensalt.o
    gcc -fno-strict-aliasing -I//anaconda/envs/hackathon/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DNO_BF_ASM -Icrypt_blowfish-1.2/ -I//anaconda/envs/hackathon/include/python2.7 -c crypt_blowfish-1.2/wrapper.c -o build/temp.macosx-10.5-x86_64-2.7/crypt_blowfish-1.2/wrapper.o
    gcc -fno-strict-aliasing -I//anaconda/envs/hackathon/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DNO_BF_ASM -Icrypt_blowfish-1.2/ -I//anaconda/envs/hackathon/include/python2.7 -c cryptacular/bcrypt/_bcrypt.c -o build/temp.macosx-10.5-x86_64-2.7/cryptacular/bcrypt/_bcrypt.o
    cryptacular/bcrypt/_bcrypt.c:129:19: warning: unused variable 'module' [-Wunused-variable]
            PyObject *module = Py_InitModule("_bcrypt", _bcrypt_methods);
                      ^
    1 warning generated.
    gcc -bundle -undefined dynamic_lookup -L//anaconda/envs/hackathon/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.5-x86_64-2.7/crypt_blowfish-1.2/crypt_blowfish.o build/temp.macosx-10.5-x86_64-2.7/crypt_blowfish-1.2/crypt_gensalt.o build/temp.macosx-10.5-x86_64-2.7/crypt_blowfish-1.2/wrapper.o build/temp.macosx-10.5-x86_64-2.7/cryptacular/bcrypt/_bcrypt.o -L//anaconda/envs/hackathon/lib -o build/lib.macosx-10.5-x86_64-2.7/cryptacular/bcrypt/_bcrypt.so
    ld: library not found for -lgcc_s.10.5
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    error: command 'gcc' failed with exit status 1

    ----------------------------------------
Command "//anaconda/envs/hackathon/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/g1/4_6qvpkd7871k5hrggy4dbcr0000gn/T/pip-build-0vkGwK/cryptacular/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/g1/4_6qvpkd7871k5hrggy4dbcr0000gn/T/pip-vT6JgR-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/g1/4_6qvpkd7871k5hrggy4dbcr0000gn/T/pip-build-0vkGwK/cryptacular/
jstoiko commented 8 years ago
ld: library not found

Looks like an issue with missing libs. Xcode?