Compilation of Casablanca failed on CentOs

Apr 9, 2014 at 10:24 AM
I tried to compile casablanca on Centos but I got the error message:

[ 16%] Built target casablanca
[ 31%] Built target unittestpp
[ 33%] Built target common_utilities
[ 33%] Generating run_tests.sh
/bin/sh: -c: line 0: Erreur de syntaxe près du symbole inattendu « newline »
/bin/sh: -c: line 0: `cd /home/user/dev/casablanca/casablanca/Release/build.release/tests/Common/TestRunner && /usr/bin/cmake -E copy /home/user/dev/casablanca/casablanca/Release/tests/Common/TestRunner/run_tests.sh ../tests/Common/TestRunner/run_tests.shTARGET_FILE_DIR:test_runner>'
make[2]: *** [tests/Common/TestRunner/run_tests.sh] Erreur 1
make[1]: *** [tests/Common/TestRunner/CMakeFiles/run_tests.dir/all] Erreur 2
make: *** [all] Erreur 2

Is casablanca working on CentOS ?
Is the Linux version of Casablanca is update ?
Coordinator
Apr 9, 2014 at 10:01 PM
Hi kristo33,

Could you please try executing make VERBOSE=1 in the build directory and copying the output here?

Thanks,
roschuma
Apr 10, 2014 at 7:14 AM
Edited Apr 10, 2014 at 7:15 AM
Hi,

I used the verbose mode but no more log appeared.
I did succeed in compile the whole casablance though, by putting commentary on the casablanca/Release/tests/Common/TestRunner/CMakeLists.txt :

# add_custom_command(
# OUTPUT run_tests.sh
# COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/run_tests.sh $<TARGET_FILE_DIR:test_runner>
# DEPENDS run_tests.sh
# )

I think it fails because the test_runner is not generated yet at this point of the compilation.
Coordinator
Apr 10, 2014 at 8:05 AM
Hmm, interesting. Thanks for reporting this problem & solution -- we'll see if there's a way to fix the issue without removing that section.

Sincerely,
roschuma