[R-SIG-Mac] imageio configure?

roger koenker rkoenker at uiuc.edu
Fri May 27 20:20:23 CEST 2005


Yes, this worked and I now have R 2.1.0 with both png and jpeg  
capabilities.

As an experiment I tried installing the X11 rgl from the mac  
binaries,  (Source
installation fails for me with an error on the int* to GLint*  
conversion that others have
mentioned as generating  only a warning.)  The binary rgl does work  
up to a point,
e.g. example(rgl) produces the volcano, but mouse movement to rotate the
image acts instead  like rgl.clear(), well, this is true for example 
(rgl), but for
the point cloud example(rgl.sphere) the mouse is able to rotate the  
cloud!
More theory obviously is needed.....



url:    www.econ.uiuc.edu/~roger            Roger Koenker
email    rkoenker at uiuc.edu            Department of Economics
vox:     217-333-4558                University of Illinois
fax:       217-244-6678                Champaign, IL 61820


On May 26, 2005, at 6:00 PM, Simon Urbanek wrote:

> Hi Roger,
>
> On May 26, 2005, at 6:47 PM, roger koenker wrote:
>
>
>> Seems that I misinterpreted the Kwiki advice totally.  So I've  
>> tried installing libpng and libjpeg as suggested in Stefano's  
>> developer page.  Now in /usr/local/lib I have:
>>
>> yzzy: otool -L libpng.dylib
>> libpng.dylib:
>>         /usr/local/lib/libpng.3.dylib (compatibility version  
>> 3.0.0, current version 3.0.0)
>>         /usr/lib/libz.1.dylib (compatibility version 1.0.0,  
>> current version 1.2.2)
>>         /usr/lib/libmx.A.dylib (compatibility version 1.0.0,  
>> current version 92.0.0)
>>         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0,  
>> current version 88.0.0)
>>
>> configure seems happy to report PNG support, but  in make I  get  
>> the conflict:
>>
>
> Please remove /usr/local/lib/libpng.dylib - it's just a softlink  
> and it's causing the problem. The actual binary is libpng.3.dylib  
> and using that is safe.
>
> The underlying problem is the forced /usr/local/lib in  
> DYLD_LIBRARY_PATH which should be fixed soon (I hope to have some  
> time for that next week ...).
>
>
>> I would be happy to follow the suggestion in the Kwiki to:
>>
>>     use static libraries for libjpeg, libpng and friends
>>
>> If only I knew how to implement it.  Sorry,  to be a bit dense  
>> about all this.
>>
>
> Simply remove libpng*dylib - then the static one (libpng.a) will be  
> used instead (assuming that you compiled both dynamic and static  
> one - which should be the default afair).
>
> Cheers,
> Simon
>



More information about the R-SIG-Mac mailing list