help required to compile keedu-4.4.2

Andreas Pakulat apaku at gmx.de
Tue Apr 27 11:57:55 CEST 2010


On 27.04.10 10:52:28, David Faure wrote:
> On Tuesday 27 April 2010, lux-integ wrote:
> > cd $SOURCES/kdeedu-4.4.2/build/cantor/src/backends/R/rserver 
> > && --slave
> > --file=$SOURCES/kdeedu-4.4.2/cantor/src/backends/R/rserver/tools/autoloads.r 
> > $SOURCES/kdeedu-4.4.2/build/cantor/src/backends/R/rserver/rautoloads.h
> 
> The name of the binary is missing before --slave.
> 
> add_custom_target(renvvars COMMAND ${R_EXECUTABLE} --slave --
> file=${CMAKE_CURRENT_SOURCE_DIR}/tools/envvars.r > 
> ${CMAKE_CURRENT_BINARY_DIR}/renvvars.h )
> 
> So basically the problem is that R_EXECUTABLE is empty.
> 
> ./modules/FindR.cmake:11:FIND_PROGRAM(R_EXECUTABLE R)
> ./modules/FindR.cmake:13:IF(R_EXECUTABLE-NOTFOUND)
> ./modules/FindR.cmake:15:ENDIF(R_EXECUTABLE-NOTFOUND)
> 
> No abort on error when not found?

Apart from that, the if-check should rather use if(NOT R_EXECUTABLE) as
that doesn't rely on "cmake internals".

Andreas

-- 
Break into jail and claim police brutality.


More information about the Kde-buildsystem mailing list