Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

symphony lib and headers for debian to install Rsymphony

Tags:

r

debian

I want to install the Rsymphony package in R 3.1. While installing the following error is thrown:

* 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 that decided to install the lib's for debian:

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

However, I still get the same error. Either I missed a certain lib or installed the wrong thing. How can I install the Rsymphony package correctly?

Spec: I'm using R 3.1 and debian 7.8

like image 370
math Avatar asked Feb 07 '15 17:02

math


2 Answers

You may need more libraries -- the r-cran-rsymphony package which I maintain has

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 building a package, but you probably want the two coinor-*-dev packages.

like image 182
Dirk Eddelbuettel Avatar answered Oct 29 '22 05:10

Dirk Eddelbuettel


I'm using Ubuntu 14.04 and R 3.1. I wanted to update package Rsymphony to version 0.1-19 and got a similar error message as above.

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

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

like image 39
user4757747 Avatar answered Oct 29 '22 04:10

user4757747