gcc - No rule to make target all.R, needed by compiler.rdb R 3.4.1 from source, Scientific Linux -
i trying build r source on scientific linux release 6.9 (carbon), linux version 2.6.32-696.3.2.el6.x86_64 (red hat 4.4.7-18).
i load needed modules , run:
./configure --prefix $install_dir --with-blas --with-lapack --enable-r-shlib 2>&1 | tee config-r-$version.log the "configure" command seems run ok:
r configured x86_64-pc-linux-gnu source directory: . installation directory: /fastdata/mbp15ja/r-3.4.1 c compiler: gcc -i/usr/local/packages6/compilers/gcc/5.4.0/include fortran 77 compiler: gfortran -g -o2 default c++ compiler: g++ -g -o2 c++98 compiler: g++ -g -o2 c++11 compiler: g++ -std=gnu++11 -g -o2 c++14 compiler: g++ -std=gnu++14 -g -o2 c++17 compiler: fortran 90/95 compiler: gfortran -g -o2 obj-c compiler: interfaces supported: x11, tcltk external libraries: readline, curl additional capabilities: png, jpeg, nls, cairo options enabled: shared r library, shared blas, r profiling capabilities skipped: tiff, icu options not enabled: memory profiling recommended packages: yes i encountered error running "make -n" libtre library not generating libtre.a:
rm -rf libnmath.a ar -cr libnmath.a mlutils.o d1mach.o i1mach.o fmax2.o fmin2.o fprec.o fround.o ftrunc.o sign.o fsign.o imax2.o imin2.o chebyshev.o log1p.o expm1.o lgammacor.o gammalims.o stirlerr.o bd0.o gamma.o lgamma.o gamma_cody.o beta.o lbeta.o polygamma.o cospi.o bessel_i.o bessel_j.o bessel_k.o bessel_y.o choose.o snorm.o sexp.o dgamma.o pgamma.o qgamma.o rgamma.o dbeta.o pbeta.o qbeta.o rbeta.o dunif.o punif.o qunif.o runif.o dnorm.o pnorm.o qnorm.o rnorm.o dlnorm.o plnorm.o qlnorm.o rlnorm.o df.o pf.o qf.o rf.o dnf.o dt.o pt.o qt.o rt.o dnt.o dchisq.o pchisq.o qchisq.o rchisq.o rnchisq.o dbinom.o pbinom.o qbinom.o rbinom.o rmultinom.o dcauchy.o pcauchy.o qcauchy.o rcauchy.o dexp.o pexp.o qexp.o rexp.o dgeom.o pgeom.o qgeom.o rgeom.o dhyper.o phyper.o qhyper.o rhyper.o dnbinom.o pnbinom.o qnbinom.o rnbinom.o dpois.o ppois.o qpois.o rpois.o dweibull.o pweibull.o qweibull.o rweibull.o dlogis.o plogis.o qlogis.o rlogis.o dnchisq.o pnchisq.o qnchisq.o dnbeta.o pnbeta.o qnbeta.o pnf.o pnt.o qnf.o qnt.o ptukey.o qtukey.o toms708.o wilcox.o signrank.o ranlib libnmath.a make[4]: leaving directory `/data/mbp15ja/r-3.4.1/r-3.4.1/src/nmath' make[3]: *** no rule make target `../extra/tre/libtre.a', needed `libr.so'. stop. make[3]: leaving directory `/data/mbp15ja/r-3.4.1/r-3.4.1/src/main' make[2]: *** [r] error 2 make[2]: leaving directory `/data/mbp15ja/r-3.4.1/r-3.4.1/src/main' make[1]: *** [r] error 1 make[1]: leaving directory `/data/mbp15ja/r-3.4.1/r-3.4.1/src' make: *** [r] error 1 i read in here https://www-01.ibm.com/support/docview.wss?uid=swg1iv36656 library isn't supposed make libtre.a , assume file looking libtre.so therefore built libtre , linked libtre.so library src/extra/tre/libtre.a , make
"make -n" fails with:
if test -f ./namespace; \ /usr/bin/install -c -m 644 ./namespace ../../../library/compiler; \ fi rm -f ../../../library/compiler/meta/nsinfo.rds if test -f description; \ if test "" != ""; \ echo "tools:::.install_package_description('.', '../../../library/compiler', '')" | \ r_default_packages=null r_enable_jit=0 ../../../bin/r --vanilla --slave > /dev/null ; \ else \ echo "tools:::.install_package_description('.', '../../../library/compiler')" | \ r_default_packages=null r_enable_jit=0 ../../../bin/r --vanilla --slave > /dev/null ; \ fi; \ fi make[4]: leaving directory `/data/mbp15ja/r-3.4.1/r-3.4.1/src/library/compiler' make mklazycomp make[4]: entering directory `/data/mbp15ja/r-3.4.1/r-3.4.1/src/library/compiler' make[4]: *** no rule make target `all.r', needed `../../../library/compiler/r/compiler.rdb'. stop. make[4]: leaving directory `/data/mbp15ja/r-3.4.1/r-3.4.1/src/library/compiler' make[3]: *** [all] error 2 make[3]: leaving directory `/data/mbp15ja/r-3.4.1/r-3.4.1/src/library/compiler' make[2]: *** [r] error 1 make[2]: leaving directory `/data/mbp15ja/r-3.4.1/r-3.4.1/src/library' make[1]: *** [r] error 1 make[1]: leaving directory `/data/mbp15ja/r-3.4.1/r-3.4.1/src' make: *** [r] error 1 i haven't seen regarding all.r , ../../../library/compiler/r/compiler.rdb
thanks in advance!
Comments
Post a Comment