-
Notifications
You must be signed in to change notification settings - Fork 20
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
Error installing last version EPACTS #32
Comments
This should be fixed in v3.4.2 (https://github.com/statgen/EPACTS/releases/tag/v3.4.2). |
I don't find the configure file in tar.gz |
Newer versions use Cmake instead of Autotools. See build instructions in readme. |
Remove You may need to install cget beforehand with |
After install cget with |
The bin path in which cget is installed probably isn't in your PATH environment variable. There's a good chance that it is located at |
Now I obtain this error: CMake Error at CMakeLists.txt:21 (find_package):
By not providing "Findsavvy.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "savvy", but
CMake did not find one.
Could not find a package configuration file provided by "savvy" with any of
the following names:
savvyConfig.cmake
savvy-config.cmake
Add the installation prefix of "savvy" to CMAKE_PREFIX_PATH or set
"savvy_DIR" to a directory containing one of the above files. If "savvy"
provides a separate development package or SDK, be sure it has been
installed.
-- Configuring incomplete, errors occurred!
|
You didn't correctly configure the toolchain file. If you haven't already created a |
$ tar xvf v3.4.2
$ cd EPACTS-3.4.2/
$ mkdir build
$ /root/.local/bin/cget install -DCMAKE_C_FLAGS="-fPIC" -DCMAKE_CXX_FLAGS="-fPIC" -f requirements.txt.
$ cd build/
$ cmake -DCMAKE_INSTALL_PREFIX=/opt/envhpc/utils/rhel6/epacts/3.4.2/gcc-10.2.0 -DCMAKE_TOOLCHAIN_FILE=../cget/cget/cget.cmake -DCMAKE_BUILD_TYPE=Release .. and I got that error .. any step more I forgot? Readme steps: git clone https://github.com/statgen/EPACTS.git
cd EPACTS
cget install -DCMAKE_C_FLAGS="-fPIC" -DCMAKE_CXX_FLAGS="-fPIC" -f requirements.txt
mkdir build; cd build
cmake -DCMAKE_INSTALL_PREFIX=</path/to/install> -DCMAKE_TOOLCHAIN_FILE=../cget/cget/cget.cmake -DCMAKE_BUILD_TYPE=Release ..
make
make install |
You could verify that |
The downloads from Github are failing. This could be for many reasons. It could be at system level or at python level. There are many potential solutions for this error on the internet (e.g., https://stackoverflow.com/a/43855394/1034772). I don't know what is the correct solution for your system. Ultimately, you need to install the dependencies for EPACTS. Cget is meant to automate the process, but if you can't download through python (i.e., fix the SSL cert verification error), you'll need an alternate route. Another automated way is through conda, but you'll need to install savvy v1.3.0 instead of v2.x for EPACTS v3.4.2. |
It looks like your cmake binary was built either on a different system or in a different environment on the same system. At this point it would probably be easier to just fix the build errors in EPACTS v3.3.2 (the version you first tried). For the error messages in your original post, you just need to add the word For example, replace |
Replace |
Any solution?
The text was updated successfully, but these errors were encountered: