Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install error #5

Open
pgormley opened this issue Aug 12, 2019 · 7 comments
Open

Install error #5

pgormley opened this issue Aug 12, 2019 · 7 comments

Comments

@pgormley
Copy link

I've installed cget and cmake but when trying to install with bash install.sh I get the errors below. (My system is CentOS Linux release 7.6.1810).

Installing Dependencies - Libstatgen ...
Generating MakeFiles ...
CMake Error at /SFS/product/cmake/3.5.2/rh63_x86_64/share/cmake-3.5/Modules/CMakeDetermineSystem.cmake:104 (message):
  Could not find toolchain file: ../cget/cget/cget.cmake
Call Stack (most recent call first):
  CMakeLists.txt:2 (project)


CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
make: *** No targets specified and no makefile found.  Stop.
Binary created at /release-build/DosageConvertor

Any ideas or could you provide a binary?

@pgormley
Copy link
Author

Similar issue on MacOS:

Installing Dependencies - Libstatgen ...
Generating MakeFiles ...
CMake Error at /usr/local/Cellar/cmake/3.15.2/share/cmake/Modules/CMakeDetermineSystem.cmake:99 (message):
  Could not find toolchain file: ../cget/cget/cget.cmake
Call Stack (most recent call first):
  CMakeLists.txt:2 (project)


CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
make: *** No targets specified and no makefile found.  Stop.
Binary created at /release-build/DosageConvertor

@pgormley pgormley reopened this Aug 12, 2019
@Yatros
Copy link

Yatros commented Aug 22, 2019

Hello,

I'm having same issue in macOS High Sierra 10.13.6

Installing Dependencies - Libstatgen ...
Generating MakeFiles ...
CMake Error at /usr/local/Cellar/cmake/3.15.2/share/cmake/Modules/CMakeDetermineSystem.cmake:99 (message):
  Could not find toolchain file: ../cget/cget/cget.cmake
Call Stack (most recent call first):
  CMakeLists.txt:2 (project)


CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
make: *** No targets specified and no makefile found.  Stop.
Binary created at /release-build/DosageConvertor

@jonathonl
Copy link
Contributor

jonathonl commented Aug 25, 2019

The installation of libStatGen is failing. The error messages would be hidden away in install.log.

@zulfanz
Copy link

zulfanz commented Sep 11, 2019

I experienced same problem with @jonathonl . Failed to install libStatGen.

@jonathonl
Copy link
Contributor

Can you provide more detail on the error messages you are receiving @zulfanz?

@zulfanz
Copy link

zulfanz commented Sep 11, 2019

$ bash install.sh
Installing Dependencies - Libstatgen ...
Downloading https://github.com/statgen/libStatGen/archive/HEAD.tar.gz
[######################################################################] 100%
Extracting archive /home/zulfan/Documents/shared/DosageConvertor/cget/cget/build/tmp-a5ceefea115f44988d96a6cc2ef689a4/HEAD.tar.gz ...
Unexpected error: <type 'exceptions.OSError'>
[Errno 1] Operation not permitted
Failed to build package statgen/libStatGen
Failed Installing Dependencies - Libstatgen

I am new to Linux. Could you help me to solve this?

@jonathonl
Copy link
Contributor

Are you trying to install into a directory for which you do not have write permissions? Does running touch test_file.txt fail?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants