On Tuesday 27 April 2010 09:44:43 am lux-integ wrote:

> /bin/sh: --slave: command not found
> make[2]: *** [cantor/src/backends/R/rserver/CMakeFiles/rautoloads] Error
> 127 make[2]: Leaving directory `$SOURCES/kdeedu-4.4.2/build'
> make[1]: *** [cantor/src/backends/R/rserver/CMakeFiles/rautoloads.dir/all]
> Error 2
> make[1]: Leaving directory `$SOURCES/kdeedu-4.4.2/build'
> make: *** [all] Error 2
>
I had  nudgings the above could be due to not finding the binary file R.
There are two ~/bin directories for the installation of R I am using 
(/usr/local/R-2.10.1/) and (/use/local/R-2.10.1/lib64/R/bin); see below:-

poet [ ~ ]$ ls /usr/local/R-2.10.1/bin
R  Rscript
poet [ ~ ]$
poet [ ~ ]$
poet [ ~ ]$ ls /use/local/R-2.10.1/lib64/R/bin
BATCH    INSTALL  R       Rcmd    Rdconv  Rprof    SHLIB  Stangle  build  
config  f77_f2c     libtool        pager
COMPILE  LINK     REMOVE  Rd2dvi  Rdiff   Rscript  Sd2Rd  Sweave   check  exec  
  
javareconf  mkinstalldirs  rtags
poet [ ~ ]$
poet [ ~ ]$
(exec is a directory containing the R binary ~7Mbytes in size)

 I targeted the latter (set as R_HOME)  from  where  my FindR.cmake script 
found R, Rscript and   the file (R/a-compiled-binary) in  the directory exe).  
Running cmake gives:-

################
-- Building with gpsd position provider
-- Found Readline: /usr/lib64/libncurses.so
-- Found:/usr/local/R-2.10.1/lib64/R/bin/R
-- Found:/usr/local/R-2.10.1/lib64/R/bin/Rscript
-- Found:/usr/local/R-2.10.1/lib64/R/bin/exec/R
-- Found:/usr/local/R-2.10.1/lib64/R/include/R.h
-- Found:/usr/local/R-2.10.1/lib64/R/modules/R_X11.so
-- Found:/usr/local/R-2.10.1/lib64/R/modules/internet.so
-- Found:/usr/local/R-2.10.1/lib64/R/modules/vfonts.so
-- Found:/usr/local/R-2.10.1/lib64/R/library/cluster/libs/cluster.so
-- Found:/usr/local/R-2.10.1/lib64/R/library/foreign/libs/foreign.so
-- Found:/usr/local/R-2.10.1/lib64/R/library/grDevices/libs/grDevices.so
-- Found:/usr/local/R-2.10.1/lib64/R/library/grid/libs/grid.so
-- Found:/usr/local/R-2.10.1/lib64/R/library/KernSmooth/libs/KernSmooth.so
-- Found:/usr/local/R-2.10.1/lib64/R/library/lattice/libs/lattice.so
-- Found:/usr/local/R-2.10.1/lib64/R/library/MASS/libs/MASS.so
-- Found:/usr/local/R-2.10.1/lib64/R/library/Matrix/libs/Matrix.so
-- Found:/usr/local/R-2.10.1/lib64/R/library/methods/libs/methods.so
-- Found:/usr/local/R-2.10.1/lib64/R/library/mgcv/libs/mgcv.so
-- Found:/usr/local/R-2.10.1/lib64/R/library/nlme/libs/nlme.so
-- Found:/usr/local/R-2.10.1/lib64/R/library/nnet/libs/nnet.so
-- Found:/usr/local/R-2.10.1/lib64/R/library/spatial/libs/spatial.so
-- Found:/usr/local/R-2.10.1/lib64/R/library/splines/libs/splines.so
-- Found:/usr/local/R-2.10.1/lib64/R/library/stats/libs/stats.so
-- Found:/usr/local/R-2.10.1/lib64/R/library/survival/libs/survival.so
-- Found:/usr/local/R-2.10.1/lib64/R/library/tools/libs/tools.so
-- Found:/usr/lib64/libgfortran.a
-- Found:/usr/local/R-2.10.1/lib64/R/lib/libRlapack.so
-- Found:/usr/local/R-2.10.1/lib64/R/modules/lapack.so
-- Found:/usr/local/R-2.10.1/lib64/R/include/R_ext/Lapack.h
Yuw should be chuffed matey;  R2 has been compiled wiv LAPAC
-- Found:/usr/local/R-2.10.1/lib64/R/lib/libRblas.so
-- Found:/usr/local/R-2.10.1/lib64/R/include/R_ext/BLAS.h
YIPPIEEEE;  R2 has been compiled with BLAS
-- Found R: /usr/local/R-2.10.1/lib64/R: 
libs: /usr/local/R-2.10.1/lib64/R/lib/libRblas.so 
and /usr/local/R-2.10.1/lib64/R/library/tools/libs/tools.so
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found LibSpectre: -lspectre
-- Found Eigen2: /opt/kde-4.4.2/include/eigen2
-- Found OCaml: /usr/bin/ocamlc

#########  
all executable files targeted are  'found'   but  'make' still fails at 79%

If I am targeting the wrong R's  ( or indeed the right ones) I would be 
grateful if someone on list could let me know.

sincerely
lux-integ
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to