[R-SIG-Mac] Rglpk package

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Aug 19 08:36:13 CEST 2013


On 19/08/2013 05:02, Simon Urbanek wrote:
> On Aug 18, 2013, at 6:50 PM, Michael Weylandt wrote:
>
>>
>>
>> On Aug 18, 2013, at 15:47, David Winsemius <dwinsemius at comcast.net> wrote:
>>
>>>
>>> On Aug 18, 2013, at 11:45 AM, Horst R. Wolf wrote:
>>>
>>>> Is there any reason why the OS X binary is still not available?
>>>
>>> Perhaps you should offer your basis for thinking, incorrectly, that it is not available.
>>
>> Seems it's not building on CRAN:
>>
>> http://www.r-project.org/nosvn/R.check/r-release-macosx-x86_64/Rglpk-00check.html
>>
>
> Yup, the package apparently doesn't use working flags to link against glpk. According to dependency flags it's missing -lgmp -lm -- it should probably use autoconf to detect the proper flags as glpk can be compiled with or without gmp support.

Note that this is only an issue for static libraries: if shared aka 
dynamic libraries are built correctly dependencies are pulled in.  Tha 
means that if you want to install Rglpk you can do so against a 
self-build of glpk as a shared library (and is what I have done).

Since AFAICS glpk does not provide a pkg-config file, it is hard for 
anyone other than its installer to know what is needed.



> Cheers,
> Simon
>
>
>
>> Michael
>>
>>>
>>> --
>>>
>>> David Winsemius
>>> Alameda, CA, USA
>>>
>>> _______________________________________________
>>> R-SIG-Mac mailing list
>>> R-SIG-Mac at r-project.org
>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>
>> 	[[alternative HTML version deleted]]
>>
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>
>>
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-SIG-Mac mailing list