http://bugzilla.opensuse.org/show_bug.cgi?id=1174792 http://bugzilla.opensuse.org/show_bug.cgi?id=1174792#c8 --- Comment #8 from Nick Dordea <ndordea@gmail.com> --- (In reply to Adam Majer from comment #2)
This seems to be needed for:
* R - https://cran.r-project.org/web/packages/V8/index.html * ruby_racer
============================= Hello Adam, Here is my [ failed ] experience to have the V8 R package on opensuse leap 15.4 . A) The https://cloud.r-project.org/ describes the V8 packages as ..... V8 Embedded JavaScript and WebAssembly Engine for R canonical url : https://CRAN.R-project.org/package=V8 Package source: V8_4.2.0.tar.gz An R interface to V8: Google's open source JavaScript and WebAssembly engine. This package can be compiled either with V8 version 6 and up or NodeJS when built as a shared library. SystemRequirements: V8 engine version 6+ is needed for ES6 and WASM support. On Linux you can build against libv8-dev (Debian) or v8-devel (Fedora). We also provide static libv8 binaries for most platforms, see the README for details. Extract configure file from the V8_4.2.0.tar.gz ------>attachment V8_4-2-0_configure_file.txt B) I tried to install V8 in opensuse leap 15.4 / R 4.2.1 using : 1) the configure file of V8_4.2.0,tar.gz distribution, and 2) deb packages mentioned in configure file converted to rpm via sudo alien -r -c xxxxxxxx.deb Used deb files ... basic : libnode64_10.24.0~dfsg-1~deb10u1_amd64.deb libnode-dev_10.24.0~dfsg-1~deb10u1_amd64.deb dependencies : libicu63_63.1-6+deb10u3_amd64.deb libicu-dev_63.1-6+deb10u3_amd64.deb libssl-dev_1.1.1n-0+deb10u1_amd64.deb libuv1-dev_1.24.1-1+deb10u1_amd64.deb icu-devtools_63.1-6+deb10u3_amd64.deb Note : some of them conflict with leap 15.4 dist libs sudo zypper se -s -i -r 21 Loading repository data... Reading installed packages... S | Name | Type | Version | Arch | Repository ---+--------------+---------+----------------+--------+------------ i+ | icu-devtools | package | 63.1-7 | x86_64 | RPM_4_libv8 i+ | libicu-dev | package | 63.1-7 | x86_64 | RPM_4_libv8 i+ | libicu63 | package | 63.1-7 | x86_64 | RPM_4_libv8 i+ | libnode-dev | package | 10.24.0~dfsg-2 | x86_64 | RPM_4_libv8 i+ | libnode64 | package | 10.24.0~dfsg-2 | x86_64 | RPM_4_libv8 i+ | libssl-dev | package | 1.1.1n-1 | x86_64 | RPM_4_libv8 i+ | libuv1-dev | package | 1.24.1-2 | x86_64 | RPM_4_libv8 Note : some of their component conflict[as version] with leap 15.4 dist libs icu-devtools <------> icu65.1 libssl-dev <------> libopenssl_1.1-devel libicu-devel <------> libicu-devel-65.1 The contents of /usr/lib/x86_64-linux-gnu after intstalling the corresponding rpm-s are in the attachment UsrLibx86_64-linux-gnu_lib-contents.txt C) Install V8_4.2.0.tar.gz via rstudio under root authority [ to write on /usr/lib64/R/library] case 1 > Sys.unsetenv("DOWNLOAD_STATIC_LIBV8") > Sys.setenv(LIB_DIR="/usr/lib/x86_64-linux-gnu") > Sys.setenv(INCLUDE_DIR="/usr/include/nodejs/deps/v8/include") > install.packages("V8",lib="/usr/lib64/R/library",dep=TRUE) case 2 > Sys.setenv(DOWNLOAD_STATIC_LIBV8=1) > Sys.setenv(LIB_DIR="/usr/lib/x86_64-linux-gnu") > Sys.setenv(INCLUDE_DIR="/usr/include/nodejs/deps/v8/include") > install.packages("V8",lib="/usr/lib64/R/library",dep=TRUE) case1-log -----> attachment V8_R_install_case1.txt case2-log -----> attachment V8_R_install_case2.txt configure file --> attachment V8_4-2-0_configure.txt Is it possible to have : i) the necessary V8 components ported to opensuse leap 15.x to make CRAN V8 package installable via rstudio, OR ii) to convert CRAN V8 to an rpm available via AutoCran repository? [ https://download.opensuse.org/repositories/devel:/languages:/R:/autoCRAN/15.... ] Thanks, ND -- You are receiving this mail because: You are on the CC list for the bug.