stan-dev / rstan

RStan, the R interface to Stan
https://mc-stan.org
1.02k stars 264 forks source link

build fails on AArch64, Fedora 33 #922

Open LutzWeischerFujitsu opened 3 years ago

LutzWeischerFujitsu commented 3 years ago

[jw@cn05 rstan]$ ./sh_b.sh Submodule 'StanHeaders/inst/include/mathlib' (https://github.com/stan-dev/math.git) registered for path 'StanHeaders/inst/include/mathlib' Submodule 'stan' (https://github.com/stan-dev/stan.git) registered for path 'StanHeaders/inst/include/upstream' Cloning into '/home/jw/stan/rstan/StanHeaders/inst/include/mathlib'... Cloning into '/home/jw/stan/rstan/StanHeaders/inst/include/upstream'... Submodule path 'StanHeaders/inst/include/mathlib': checked out 'da6d954ad871356075eb4001d121ff1c6bbe6c99' Submodule path 'StanHeaders/inst/include/upstream': checked out '262797e4c2e156213fc921c8363efbf489ca6ee2' +da6d954ad871356075eb4001d121ff1c6bbe6c99 StanHeaders/inst/include/mathlib (v4.0.1-430-gda6d954ad8) +262797e4c2e156213fc921c8363efbf489ca6ee2 StanHeaders/inst/include/upstream (v2.26.0-92-g262797e4c)

bbbales2 commented 3 years ago

Do the build directions here work for you?: https://github.com/stan-dev/rstan/wiki/How-to-build-rstan-package%3F

LutzWeischerFujitsu commented 3 years ago

R-Rcpp is installed. However:

[jw@cn06 rstan]$ make VERBOSE=1 -j$(nproc) build Error in tools::file_path_as_absolute(base::system.file(..., package = "Rcpp")) : file '' does not exist Calls: ... cat -> RcppCxxFlags -> Rcpp.system.file -> Execution halted R CMD build rstan --md5 --no-build-vignettes --no-manual

[jw@cn06 rstan]$ sudo make VERBOSE=1 -j$(nproc) install Error in tools::file_path_as_absolute(base::system.file(..., package = "Rcpp")) : file '' does not exist Calls: ... cat -> RcppCxxFlags -> Rcpp.system.file -> Execution halted R CMD INSTALL rstan_2.21.3.tar.gz