PLAST-software / plast-library

PLAST is a fast, accurate and NGS scalable bank-to-bank sequence similarity search tool providing significant accelerations.
http://plast.inria.fr
Other
9 stars 2 forks source link

compiling in Mac / dot and variables missing. #4

Open gaboentropy opened 5 years ago

gaboentropy commented 5 years ago

Hello! I just downloaded a precompiled version after failing to compile from source. I get an error due to the lack of some library/software:

First it was saying that I was missing doxygen

I installed it and now it says that doxygen: -- Found Doxygen: /usr/local/bin/doxygen (found version "1.8.14") found components: doxygen dot

So, looking around I found that dot can be found in graphviz, I installed it, but the make doesn't see fit (doesn't check anything but whether doxygen has dot).

It also ends complaining that two variables are not set:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: CPPUNIT_INCLUDE_DIR used as include directory in directory /usr/local/biotools/plast-library/test/unit used as include directory in directory /usr/local/biotools/plast-library/test/unit used as include directory in directory /usr/local/biotools/plast-library/test/unit used as include directory in directory /usr/local/biotools/plast-library/test/unit used as include directory in directory /usr/local/biotools/plast-library/test/unit used as include directory in directory /usr/local/biotools/plast-library/test/unit used as include directory in directory /usr/local/biotools/plast-library/test/unit CPPUNIT_LIBRARY linked by target "PlastLibraryTest" in directory /usr/local/biotools/plast-library/test/unit

-- Configuring incomplete, errors occurred! See also "/usr/local/biotools/plast-library/build/CMakeFiles/CMakeOutput.log".

I can send the complete cmake output thing if necessary.

nylander commented 4 years ago

Hi,

dot was found (found components: doxygen dot), but you are probably missing "development files" for cppunit. I don't have a mac, but maybe one could start by trying brew install cppunit?

Another option (no extra installations), may be to disable the unit testing by commenting lines 98--99 in the file plast-library/CMakeLists.txt, and then build.

/Johan