amkozlov / raxml-ng

RAxML Next Generation: faster, easier-to-use and more flexible
GNU Affero General Public License v3.0
398 stars 64 forks source link

install error #191

Closed liamxg closed 2 months ago

liamxg commented 3 months ago

Dear @amkozlov

-- clang-tidy not found. -- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY) -- GTest not found CMake Warning at test/src/CMakeLists.txt:5 (message): Skipping building tests.

-- Configuring done (22.9s) -- Generating done (4.1s) -- Build files have been written to: raxml-ng/build [ 0%] [BISON][parse_utree_t] Building parser with bison 2.3 raxml-ng/libs/pll-modules/libs/libpll/src/parse_utree.y:168.9-19: syntax error, unexpected identifier, expecting string make[2]: [libs/pll-modules/libs/libpll/src/parse_utree.c] Error 1 make[1]: [libs/pll-modules/libs/libpll/src/CMakeFiles/pll_obj.dir/all] Error 2 make: *** [all] Error 2

amkozlov commented 3 months ago

Seems like you use a very old bison version, please see:

https://stackoverflow.com/questions/53836932/gnu-bison-outputting-error-syntax-error-unexpected-string-expecting

liamxg commented 3 months ago

Dear @amkozlov,

Thanks. What kind of version should I use? 3.8?

amkozlov commented 2 months ago

yes, bison >=3.8.2 should work fine

liamxg commented 2 months ago

Dear @amkozlov,

Thanks.