Symphony lib and debian headers for installing rsymphony

I want to install the Rsymphony package in R 3.1. When installing, the following error is issued:

* package 'Rsymphony' successfully unpacked and MD5 sums checked Cannot find SYMPHONY libraries and headers. See <https://projects.coin-or.org/SYMPHONY>. ERROR: configuration failed for package 'Rsymphony'

So this decided to install lib for debian:

apt-get install coinor-libsymphony-dev coinor-libsymphony-doc

However, I still get the same error. Either I skipped a specific library, or installed the wrong thing. How can I install the Rsymphony package Rsymphony ?

Spec: I am using R 3.1 and debian 7.8

+6
source share
3 answers

You may need more libraries - the r-cran-rsymphony package , which I support,

 Build-Depends: debhelper (>= 7.0.0), r-base-dev (>= 3.1.2), \ cdbs, coinor-libsymphony-dev, coinor-libcgl-dev, autotools-dev 

You can ignore cdbs , etc. if you are not creating a package, but you probably need two coinor-*-dev .

+8
source

I am using Ubuntu 14.04 and R 3.1. I wanted to upgrade the Rsymphony package to version 0.1-19 and received a similar error message as above.

Following Dirk's advice, I did apt-get install coinor-libcgl-dev , which also installed coinor-libclp-dev , coinor-libcoinutils-dev and coinor-libosi-dev . After that, I can install Rsymphony using the R installation mechanism.

apt-get install r-cran-rsymphony worked, but installed version 0.1-17-1 .

+2
source

First install the packages for the library:

apt-get install coinor-libsymphony-dev coinor-libsymphony-doc

Then install the package from CRAN:

apt-get install r-cran-rsymphony

That helped:

[Sun | 11: 39: 13] [tir on atlas2: ~] → sudo apt-get install r-cran-rsymphony Reading package lists ... Done Creating a dependency tree
Reading status information ... Done Suggested packages: Mr. Cran-runit The following NEW packages will be installed: Mr. Cran-rsymphony 0 updated, 1 newly installed, 0 removed and 17 not updated. You need to get 1748 KB of archives. After this operation, 3919 KB of additional disk space will be used. Get: 1 http://in.archive.ubuntu.com/ubuntu/ trusty / universe r-cran-rsymphony amd64 0.1-17-1 [1,748 kB] Received 1748 KB in 54 s (32.1 kB / s)
Selecting a previously unselected r-cran-rsymphony package. (Reading the database ... 348392 files and directories currently installed.) Preparing to unpack ... / r -cran-rsymphony_0.1-17-1_amd64.deb ... Unpacking r-cran-rsymphony (0.1- 17-1) ... Setting r-cran-rsymphony (0.1-17-1) ... [Sun | 11: 40: 26] [tir at atlas2: ~] →

+1
source

Source: https://habr.com/ru/post/982141/


All Articles