isovic / racon

Ultrafast consensus module for raw de novo genome assembly of long uncorrected reads. http://genome.cshlp.org/content/early/2017/01/18/gr.214270.116 Note: This was the original repository which will no longer be officially maintained. Please use the new official repository here:
https://github.com/lbcb-sci/racon
MIT License
271 stars 49 forks source link

installation issue #129

Open jjs-16 opened 5 years ago

jjs-16 commented 5 years ago

Hi, I'm trying to install Racon, but could not get past this error. Thanks in advance and sorry if its too basic.

-- The C compiler identification is GNU 6.5.0 -- The CXX compiler identification is GNU 6.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at vendor/bioparser/CMakeLists.txt:15 (add_library): INTERFACE_LIBRARY targets may only have whitelisted properties. The property "EXCLUDE_FROM_ALL" is not allowed.

-- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of off64_t -- Check size of off64_t - done -- Looking for fseeko -- Looking for fseeko - found -- Looking for unistd.h -- Looking for unistd.h - found -- Renaming -- /media/jjs/Data/ngs/racon-v1.4.0/vendor/bioparser/vendor/zlib/zconf.h -- to 'zconf.h.included' because this file is included with zlib -- but CMake generates it automatically in the build directory. -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_kill -- Looking for pthread_kill - not found -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE
Setting warning flags CMake Error at vendor/logger/CMakeLists.txt:14 (add_library): INTERFACE_LIBRARY targets may only have whitelisted properties. The property "EXCLUDE_FROM_ALL" is not allowed.

-- Configuring incomplete, errors occurred! See also "/media/jjs/Data/ngs/racon-v1.4.0/build/CMakeFiles/CMakeOutput.log". See also "/media/jjs/Data/ngs/racon-v1.4.0/build/CMakeFiles/CMakeError.log".

rvaser commented 5 years ago

Hello, which cmake version do you have? I guess removing EXCLUDE_FROM_ALL from https://github.com/isovic/racon/blob/master/CMakeLists.txt#L46 and https://github.com/isovic/racon/blob/master/CMakeLists.txt#L58 should resolve this issue.

Best regards, Robert

jjs-16 commented 5 years ago

Hello Robert,

Thank you for the help. I could install and run the 'racon_test'. My cmake version is 3.14.0-rc1.

regards JJS