On donderdag 31 augustus 2017 14:28:33 CEST Robert Fewell wrote: > Just tried to build from master after all the recent changes and it failed > on guile, currently I am running 1.8 and in the log file I see "Using > guile-1.8.x" but it then logs "The guile executable was not found, but is > required. Please set GUILE_EXECUTABLE." Looking at CMakeLists.txt, I can > build if I comment out the four lines starting at 283. Not sure if they are > required or should be moved so will leave for some one who knows what they > are doing. > I meant to add still, if we want to keep guile 1.8 support, the FIND_PACKAGE(GUILE_EXECUTABLE...) rules should move up inside the branches of the GUILE2 vs GUILE1 test. For GUILE2 it can remain FIND_PROGRAM (GUILE_EXECUTABLE guile2.0 guile) IF (NOT GUILE_EXECUTABLE) MESSAGE (SEND_ERROR "The guile executable was not found, but is required. Please set GUILE_EXECUTABLE.") ENDIF (NOT GUILE_EXECUTABLE)
For guile 1.8 it should become FIND_PROGRAM (GUILE_EXECUTABLE guile1.8 guile) IF (NOT GUILE_EXECUTABLE) MESSAGE (SEND_ERROR "The guile executable was not found, but is required. Please set GUILE_EXECUTABLE.") ENDIF (NOT GUILE_EXECUTABLE) Regards, Geert _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel