symengine / symengine.R

A R interface to the symbolic manipulation library SymEngine.
27 stars 8 forks source link

installation on ubuntu R-Server #126

Open andreasmeid opened 6 months ago

andreasmeid commented 6 months ago

Dear All,

I'm trying to install symengine for our R-Server on Ubuntu 20.04 LTS, but I get the error message:

CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message): Could NOT find MPFR (missing: MPFR_LIBRARIES MPFR_INCLUDE_DIRS) Call Stack (most recent call first): /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE) cmake/FindMPFR.cmake:11 (find_package_handle_standard_args) CMakeLists.txt:359 (find_package)

How can this issue be resolved?

Many thanks and best wishes Andreas

Marlin-Na commented 6 months ago

Hello. Have you installed mpfr via Ubuntu's package manager? E.g.

apt install libgmp-dev libmpfr-dev libmpc-dev
andreasmeid commented 6 months ago

Thanks, that obviously worked, indeed.

Many thanks and best regards Andreas