help required to compile keedu-4.4.2

Alexander Neundorf neundorf at kde.org
Mon May 3 21:03:55 CEST 2010


On Tuesday 27 April 2010, lux-integ wrote:
> On Tuesday 27 April 2010 10:57:55 am Andreas Pakulat wrote:
> > 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/auto
> > > >lo ads.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
>
> I hope   the FindR.cmake script  I am using   'finds'  all the relevant
> R-executable programs.  Here is a snippet of the script I use:

Please try again with current kdeedu.
FindR.cmake has been reworked and should behave much better now.
Please let me know if it works for you now or not.

Alex


More information about the Kde-buildsystem mailing list