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 problem #2

Open
wwood opened this issue Nov 24, 2016 · 4 comments
Open

Install problem #2

wwood opened this issue Nov 24, 2016 · 4 comments

Comments

@wwood
Copy link

wwood commented Nov 24, 2016

Hi, I'm trying to package hh-suite for GNU Guix but running into the following problem trying to install this ffindex fork. Any ideas?

ben@ben /tmp/ffindex_soedinglab/build [env]# cmake -DCMAKE_INSTALL_PREFIX=/tmp -DCMAKE_BUILD_TYPE=RelWithDebInfo -G "Unix Makefiles" ..
-- The C compiler identification is GNU 4.9.4
-- Check for working C compiler: /gnu/store/5bakywgsavpc21zbli8hqq9qgrladcjn-profile/bin/gcc
-- Check for working C compiler: /gnu/store/5bakywgsavpc21zbli8hqq9qgrladcjn-profile/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for fmemopen
-- Looking for fmemopen - found
-- Found MPI_C: /gnu/store/5bakywgsavpc21zbli8hqq9qgrladcjn-profile/lib/libmpi.so  
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/ffindex_soedinglab/build
ben@ben /tmp/ffindex_soedinglab/build [env]# make
Scanning dependencies of target ffindex
[  3%] Building C object src/CMakeFiles/ffindex.dir/ffindex.c.o
[  7%] Building C object src/CMakeFiles/ffindex.dir/ffutil.c.o
[ 11%] Linking C static library libffindex.a
[ 11%] Built target ffindex
Scanning dependencies of target ffindex_from_fasta_with_split
[ 15%] Building C object src/CMakeFiles/ffindex_from_fasta_with_split.dir/ffindex_from_fasta_with_split.c.o
[ 19%] Linking C executable ffindex_from_fasta_with_split
[ 19%] Built target ffindex_from_fasta_with_split
Scanning dependencies of target ffindex_modify
[ 23%] Building C object src/CMakeFiles/ffindex_modify.dir/ffindex_modify.c.o
[ 26%] Linking C executable ffindex_modify
[ 26%] Built target ffindex_modify
Scanning dependencies of target mpq
[ 30%] Building C object src/mpq/CMakeFiles/mpq.dir/mpq.c.o
[ 34%] Linking C static library libmpq.a
[ 34%] Built target mpq
Scanning dependencies of target ffindex_apply_mpi
[ 38%] Building C object src/CMakeFiles/ffindex_apply_mpi.dir/ffindex_apply_mpi.c.o
[ 42%] Linking C executable ffindex_apply_mpi
[ 42%] Built target ffindex_apply_mpi
Scanning dependencies of target ffindex_apply
[ 46%] Building C object src/CMakeFiles/ffindex_apply.dir/ffindex_apply.c.o
[ 50%] Linking C executable ffindex_apply
[ 50%] Built target ffindex_apply
Scanning dependencies of target ffindex_build
[ 53%] Building C object src/CMakeFiles/ffindex_build.dir/ffindex_build.c.o
[ 57%] Linking C executable ffindex_build
[ 57%] Built target ffindex_build
Scanning dependencies of target ffindex_from_fasta
[ 61%] Building C object src/CMakeFiles/ffindex_from_fasta.dir/ffindex_from_fasta.c.o
[ 65%] Linking C executable ffindex_from_fasta
[ 65%] Built target ffindex_from_fasta
Scanning dependencies of target ffindex_shared
[ 69%] Building C object src/CMakeFiles/ffindex_shared.dir/ffindex.c.o
[ 73%] Building C object src/CMakeFiles/ffindex_shared.dir/ffutil.c.o
[ 76%] Linking C shared library libffindex_shared.so
[ 76%] Built target ffindex_shared
Scanning dependencies of target ffindex_unpack
[ 80%] Building C object src/CMakeFiles/ffindex_unpack.dir/ffindex_unpack.c.o
[ 84%] Linking C executable ffindex_unpack
[ 84%] Built target ffindex_unpack
Scanning dependencies of target ffindex_get
[ 88%] Building C object src/CMakeFiles/ffindex_get.dir/ffindex_get.c.o
[ 92%] Linking C executable ffindex_get
[ 92%] Built target ffindex_get
Scanning dependencies of target ffindex_order
[ 96%] Building C object src/CMakeFiles/ffindex_order.dir/ffindex_order.c.o
[100%] Linking C executable ffindex_order
[100%] Built target ffindex_order
ben@ben /tmp/ffindex_soedinglab/build [env]# make install
[ 11%] Built target ffindex
[ 19%] Built target ffindex_from_fasta_with_split
[ 26%] Built target ffindex_modify
[ 34%] Built target mpq
[ 42%] Built target ffindex_apply_mpi
[ 50%] Built target ffindex_apply
[ 57%] Built target ffindex_build
[ 65%] Built target ffindex_from_fasta
[ 76%] Built target ffindex_shared
[ 84%] Built target ffindex_unpack
[ 92%] Built target ffindex_get
[100%] Built target ffindex_order
Install the project...
-- Install configuration: "RelWithDebInfo"
CMake Error at src/cmake_install.cmake:36 (file):
  file INSTALL cannot find "//ffindex_apply_mpi".
Call Stack (most recent call first):
  cmake_install.cmake:37 (include)

Thanks.

@milot-mirdita
Copy link
Member

What cmake version are you using?

Looks like CMAKE_RUNTIME_OUTPUT_DIRECTORY is undefined, no idea why though.

@wwood
Copy link
Author

wwood commented Nov 28, 2016

bash-4.4$ cmake --version
cmake version 3.6.1

CMake suite maintained and supported by Kitware (kitware.com/cmake).

Setting CMAKE_RUNTIME_OUTPUT_DIRECTORY seems to make the issue go away, so not sure if this issue should be closed or not. Thanks.

@milot-mirdita
Copy link
Member

It definitely should not happen and the variable should be set. I'll investigate once I have stable internet again. Thank you for reporting the issue :)

@smoe
Copy link

smoe commented Aug 6, 2018

Please check if (if not) you have OpenMPI installed. That should help to get ffindex_apply_mpi built.

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

3 participants