sourmash-bio / sourmash

Quickly search, compare, and analyze genomic and metagenomic data sets.
http://sourmash.readthedocs.io/en/latest/
Other
476 stars 79 forks source link

Compiler woes #8

Closed ctSkennerton closed 5 years ago

ctSkennerton commented 8 years ago

I am sadly running RHEL6 which has g++ 4.4.7 that does not like the -std=c++11 flag. Anyway to install without upgrading my the compiler on the server?

  Running setup.py bdist_wheel for sourmash ... error
  Complete output from command /home/cts/local/python34-virtualenv/bin/python -u -c "import setuptools, tokenize;__file__='/export/data1/tmp/pip-build-uf91zm09/sourmash/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /export/data1/tmp/tmpk2syou66pip-wheel- --python-tag cp34:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.4
  creating build/lib.linux-x86_64-3.4/sourmash_lib
  copying sourmash_lib/__init__.py -> build/lib.linux-x86_64-3.4/sourmash_lib
  copying sourmash_lib/fig.py -> build/lib.linux-x86_64-3.4/sourmash_lib
  copying sourmash_lib/signature.py -> build/lib.linux-x86_64-3.4/sourmash_lib
  copying sourmash_lib/sourmash_tst_utils.py -> build/lib.linux-x86_64-3.4/sourmash_lib
  copying sourmash_lib/test__minhash.py -> build/lib.linux-x86_64-3.4/sourmash_lib
  copying sourmash_lib/test_sourmash.py -> build/lib.linux-x86_64-3.4/sourmash_lib
  running build_ext
  building 'sourmash_lib._minhash' extension
  creating build/temp.linux-x86_64-3.4
  creating build/temp.linux-x86_64-3.4/sourmash_lib
  creating build/temp.linux-x86_64-3.4/third-party
  creating build/temp.linux-x86_64-3.4/third-party/smhasher
  gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/opt/python34/include/python3.4m -c sourmash_lib/_minhash.cc -o build/temp.linux-x86_64-3.4/sourmash_lib/_minhash.o -std=c++11 -pedantic -O3
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for Ada/C/ObjC but not for C++ [enabled by default]
  cc1plus: error: unrecognized command line option ‘-std=c++11’
  error: command 'gcc' failed with exit status 1
ctb commented 5 years ago

Please let us know if the latest 2.0a version has these problems!