I have tried to install tileDB on EC2 instance by following these instructions.(https://docs.tiledb.com/genomics/installation/python)
I’m facing below error during python setup.py install step.
Makefile:83: recipe for target 'all' failedmake: *** [all] Error 2Traceback (most recent call last):File "setup.py", line 297, in <module>'Programming Language :: Python :: 3.7',File "/home/ubuntu/env/lib/python3.7/site-packages/setuptools/__init__.py", line 163, in setupreturn distutils.core.setup(**attrs)
File "/home/ubuntu/env/lib/python3.7/distutils/core.py", line 148, in setupdist.run_commands()File "/home/ubuntu/env/lib/python3.7/distutils/dist.py", line 966, in run_commandsself.run_command(cmd)
File "/home/ubuntu/env/lib/python3.7/distutils/dist.py", line 985, in run_commandcmd_obj.run()File "/home/ubuntu/env/lib/python3.7/site-packages/setuptools/command/install.py", line 67, in runself.do_egg_install()File "/home/ubuntu/env/lib/python3.7/site-packages/setuptools/command/install.py", line 109, in do_egg_installself.run_command('bdist_egg')
File "/home/ubuntu/env/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/ubuntu/env/lib/python3.7/distutils/dist.py", line 985, in run_commandcmd_obj.run()File "setup.py", line 240, in runfind_or_build_libtiledbvcf(self)
File "setup.py", line 168, in find_or_build_libtiledbvcfbuild_libtiledbvcf()
File "setup.py", line 153, in build_libtiledbvcfsubprocess.check_call(build_cmd, cwd=build_dir)
File "/home/ubuntu/env/lib/python3.7/subprocess.py", line 363, in check_callraise CalledProcessError(retcode, cmd)subprocess.CalledProcessError: Command '['make', '-j4']' returned non-zero exit status 2
Then I tried Standalone installation(https://docs.tiledb.com/genomics/installation/standalone-tiledb-vcf) too and faced same issue executing this command: cmake … && make -j8.
CMake Error at /home/ubuntu/tiledb/TileDB-VCF/libtiledbvcf/build/externals/src/ep_tiledb-stamp/ep_tiledb-build-RELEASE.cmake:16 (message):Command failed: 2'make'
See also
/home/ubuntu/tiledb/TileDB-VCF/libtiledbvcf/build/externals/src/ep_tiledb-stamp/ep_tiledb-build-*.logCMakeFiles/ep_tiledb.dir/build.make:111: recipe for target 'externals/src/ep_tiledb-stamp/ep_tiledb-build' failedmake[2]: *** [externals/src/ep_tiledb-stamp/ep_tiledb-build] Error 1
CMakeFiles/Makefile2:99: recipe for target 'CMakeFiles/ep_tiledb.dir/all' failedmake[1]: *** [CMakeFiles/ep_tiledb.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Environment:
ubuntu 18.04 on EC2 machine.
Created Conda environment based on the instructions provided on tileDB website.
Thanks.