[Symphony] 回复: [SPAM] Cannot find SYMPHONY library and headers

nothingstop at foxmail.com
Mon Mar 7 02:02:29 EST 2016


i got useless information from http://stackoverflow.com/search?q=RSYMPHONY , except for http://stackoverflow.com/a/34676867 , however, after installed the package of lpsymphony using 'R CMD INSTALL lpsymphony_0.99.6.tar.gz',which has no exception during the process of installation.
then, installed 'fPortfolio' through two methods , one is using 'R CMD INSTALL fPortfolio_3011.81.tar.gz', the other is '> install.packages('fPortfolio')' online, they stills throw the same error as below.
Error: dependency 'Rsymphony' is not available for package 'fPortfolio'
* removing '/usr/lib64/R/library/fPortfolio'



At precent,  my question is that why did the installation failed via online ? whether or not it indicates the package of  Rsymphony could not fit for RadHat ? if so,do you have any schedule to fix the package of Rsymphony suit to ReaHat ? 
Thanks a lot. :)


------------------ 原始邮件 ------------------
发件人: "ted";<ted at lehigh.edu>;
发送时间: 2016年3月5日(星期六) 上午9:26
收件人: "♫"<nothingstop at foxmail.com>; "symphony"<symphony at list.coin-or.org>; 

主题: Re: [SPAM] Cannot find SYMPHONY library and headers



Your questions still seem to be more fit for a discussion board with R experts. I didn't realize it before, but there are quite a few questions and answers about installing RSymphony in different environments on StackOverflow and I think you will find an answer there.  


http://stackoverflow.com/search?q=RSYMPHONY



One tip I picked up is that might think of installing the package lpsyphony, which is similar to RSymphony except that it comes with SYMPHONY pre-installed and is available on RedHat:


http://stackoverflow.com/a/34676867



Hope it helps!


Cheers,


Ted


On Thu, Mar 3, 2016 at 4:00 AM, ♫ <nothingstop at foxmail.com> wrote:
Hi Ted
Thanks your feedback.
i have already installed by two rpm packages, coin-or-SYMPHONY-5.6.8-4.fc23.x86_64.rpm  and R-Rsymphony-0.1_14-1-mdv2012.0.i586.rpm , however they all failed.


[root at server3 data1]# rpm -ivh R-Rsymphony-0.1_14-1-mdv2012.0.i586.rpm
warning: R-Rsymphony-0.1_14-1-mdv2012.0.i586.rpm: Header V3 DSA/SHA1 Signature, key ID 26752624: NOKEY
error: Failed dependencies:
        libCgl.so.0 is needed by R-Rsymphony-0.1_14-1.i586
        libClp.so.0 is needed by R-Rsymphony-0.1_14-1.i586
        libCoinUtils.so.0 is needed by R-Rsymphony-0.1_14-1.i586
        libOsi.so.0 is needed by R-Rsymphony-0.1_14-1.i586
        libOsiClp.so.0 is needed by R-Rsymphony-0.1_14-1.i586
        libSym.so.0 is needed by R-Rsymphony-0.1_14-1.i586



[root at server3 data1]# rpm -ivh coin-or-SYMPHONY-5.6.8-4.fc23.x86_64.rpm
warning: coin-or-SYMPHONY-5.6.8-4.fc23.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 34ec9cba: NOKEY
error: Failed dependencies:
        libCgl.so.1()(64bit) is needed by coin-or-SYMPHONY-5.6.8-4.fc23.x86_64
        libClp.so.1()(64bit) is needed by coin-or-SYMPHONY-5.6.8-4.fc23.x86_64
        libClpSolver.so.1()(64bit) is needed by coin-or-SYMPHONY-5.6.8-4.fc23.x86_64
        libCoinUtils.so.3()(64bit) is needed by coin-or-SYMPHONY-5.6.8-4.fc23.x86_64
        libOsi.so.1()(64bit) is needed by coin-or-SYMPHONY-5.6.8-4.fc23.x86_64
        libOsiClp.so.1()(64bit) is needed by coin-or-SYMPHONY-5.6.8-4.fc23.x86_64
        libc.so.6(GLIBC_2.14)(64bit) is needed by coin-or-SYMPHONY-5.6.8-4.fc23.x86_64
        libgomp.so.1(GOMP_4.0)(64bit) is needed by coin-or-SYMPHONY-5.6.8-4.fc23.x86_64
        libstdc++.so.6(GLIBCXX_3.4.21)(64bit) is needed by coin-or-SYMPHONY-5.6.8-4.fc23.x86_64



when install forced using 'rpm -ivh R-Rsymphony-0.1_14-1-mdv2012.0.i586.rpm --force --nodeps', Rsmphony install successfully.Nervertheless,  
①install fPortfolio  
'R CMD INSTALL fPortfolio_3011.81.tar.gz' throw the same exception as the original.
Error: dependency 'Rsymphony' is not available for package 'fPortfolio'
* removing '/usr/lib64/R/library/fPortfolio'




my R package installed using 'yum install R-core Rdevel',those programes distributed to some system directory as below.
[root at server3 SYMPHONY-5.6.14]# whereis R
R: /usr/bin/R /usr/lib/R /usr/lib64/R /usr/include/R /usr/share/R /usr/share/man/man1/R.1.gz




i install SYMPHONY in /opt/SYMPHONY-5.6.14 of system directory , all the process i did as root user.
at this time, adding prefix when configure by './configure --prefix=/opt/SYMPHONY-5.6.14'
and make && make install. then failed as ①install fPortfolio 


i have try to copy the directory of '/opt/SYMPHONY-5.6.14' after make && make install to '/usr/lib64/R/library/'
and rename the directory to Rsymphony, and failded yet as ①install fPortfolio


how to tell R where the Rsymphony install ? how to tell Rsymphony where R install ? how to associate R and Rsymphony ?  many thanks. :)




------------------ 原始邮件 ------------------
发件人: "Ted Ralphs";<tkralphs at lehigh.edu>;
发送时间: 2016年3月3日(星期四) 凌晨1:56
收件人: "♫"<nothingstop at foxmail.com>; 
抄送: "symphony"<symphony at list.coin-or.org>; 
主题: Re: [SPAM] Cannot find SYMPHONY library and headers



I'm not sure how the installation process is supposed to go for an R package. I would assume that either SYMPHONY needs to be installed somewhere that it can be found by R (probably in a system directory) or else you need to tell R where SYMPHONY is installed. If you want to install SYMPHONY in a system directory, do something like

./configure --prefix=/usr


You will then need to install as root so be careful! Alternatively, there is a SYMPHONY Fedora package. I'm not sure if it would be available on RedHat, but maybe. That would be the easiest. 


In general, i would think this is a question for the R mailing list, since SYMPHONY is building fine.


Ted




On Mon, Feb 29, 2016 at 5:51 AM, ♫ <nothingstop at foxmail.com> wrote:
Dear sir or madam
Thanks for your attention for my email.
what my purpose is install packages of 'fPortfolio' using 'R CMD INSTALL fPortfolio_3011.81.tar.gz'(https://cran.r-project.org/src/contrib/fPortfolio_3011.81.tar.gz) , which dependence Rsymphony, so install Rsymphony firstly.
i encounter an exception when i install the packages of 'Rsymphony' using 'R CMD INSTALL Rsymphony_0.1-21.tar.gz'.(https://cran.r-project.org/src/contrib/Rsymphony_0.1-21.tar.gz)
the detail information as below:
>install.packages("Rsymphony")
* installing *source* package ‘Rsymphony’ ... ** 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’
* removing '/usr/lib64/R/library/Rsymphony'


and then , i download SYMPHONY-5.6.14.tgz from here.
cd SYMPHONY-5.6.14 ./configure make make install
during the building period, there is no exception, but when i install fPortfolio again using  'R CMD INSTALL fPortfolio_3011.81.tar.gz' 
Error: dependency 'Rsymphony' is not available for package 'fPortfolio'
* removing '/usr/lib64/R/library/fPortfolio'


my server info as below:
Description: Red Hat release 6.5
Linux version:2.6.32-431.29.2.el6.x86_64
R version 3.1.2.


Could you give me an hand? i appreciate your help ~  






Nemo





-- 
Dr. Ted Ralphs
Professor, Lehigh University
(610) 628-1280
ted 'at' lehigh 'dot' edu
coral.ie.lehigh.edu/~ted



 








-- 
Dr. Ted Ralphs
Professor, Lehigh University
(610) 628-1280
ted 'at' lehigh 'dot' edu
coral.ie.lehigh.edu/~ted
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/symphony/attachments/20160307/79f5b97a/attachment-0001.html>


More information about the Symphony mailing list