Doesn't build on OSX

Issue #18 resolved
A Plimpton created an issue

Running OS X 10.10.3 Cloned swift repo and ran tox command -- it reports error: "No module named pyeclib.ec_iface...

Manual install of pycelib reports back liberasurecode-1.0.7 install failed. Checked with one of the developers and he indicated liberasurecode failing to install was a bug. Please let me know if you need any further information.

From log: ... CC backends/shss/liberasurecode_la-shss.lo CCLD liberasurecode.la ld: warning: directory not found for option '-L/private/tmp/pip_build_root/pyeclib/src/c/liberasurecode-1.0.7/.libs' Making all in test CC builtin/xor_codes/test_xor_hd_code-test_xor_hd_code.o CCLD test_xor_hd_code ld: warning: directory not found for option '-L/private/tmp/pip_build_root/pyeclib/src/c/liberasurecode-1.0.7/.libs' CC utils/chksum/alg_sig_test-test_alg_sig.o CCLD alg_sig_test ld: warning: directory not found for option '-L/private/tmp/pip_build_root/pyeclib/src/c/liberasurecode-1.0.7/.libs' CC liberasurecode_test-liberasurecode_test.o CCLD liberasurecode_test ld: warning: directory not found for option '-L/private/tmp/pip_build_root/pyeclib/src/c/liberasurecode-1.0.7/.libs' CC libec_slap-libec_slap.o libec_slap.c:83:13: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare] if (pos < 0) { ~~~ ^ ~ 1 error generated. make[1]: [libec_slap-libec_slap.o] Error 1 make: [all-recursive] Error 1 CFLAGS=" -I/private/tmp/pip_build_root/pyeclib/src/c/liberasurecode-1.0.7/include -I/private/tmp/pip_build_root/pyeclib/src/c/liberasurecode-1.0.7/include -I/private/tmp/pip_build_root/pyeclib/src/c/liberasurecode-1.0.7/include/erasurecode -I/private/tmp/pip_build_root/pyeclib/src/c/liberasurecode-1.0.7/include/xor_codes" LDFLAGS=" -L/private/tmp/pip_build_root/pyeclib/src/c/liberasurecode-1.0.7/.libs -L/private/tmp/pip_build_root/pyeclib/src/c/liberasurecode-1.0.7/src/.libs " ./configure --prefix=/System/Library/Frameworks/Python.framework/Versions/2.7/usr/local ******* Error: liberasurecode-1.0.7 install failed! Please install liberasurecode-1.0.7 manually and retry https://bitbucket.org/tsg-/liberasurecode.git ******** ...

Comments (6)

  1. Kevin Greenan

    @tsg- I am a little confused by the warning from GCC... pos is a signed long, so this should not be complaining. Any ideas?

    @aplimpton - Can you please send us the version of clang or gcc you are using?

  2. A Plimpton reporter

    Sure thing! Survey says: $ gcc --version Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn) Target: x86_64-apple-darwin14.3.0 Thread model: posix

  3. Tushar Gohad repo owner

    @aplimpton, would you be able to give the latest "master" a try on your Mac and see if it builds for you so we can tag "1.0.8"? Many thanks!

  4. Log in to comment