[R] png and jpeg libs for Solaris: Summary
Don MacQueen
macq at llnl.gov
Mon Nov 5 17:10:14 CET 2001
At 9:22 AM +0000 11/3/01, Prof Brian D Ripley wrote:
>It is usual (and required by copyright law) to attribute quotes to their
>authors, and to send a reply to the author and not just the list!
Users of Eudora should be aware that when one uses the "reply to all"
command, Eudora inserts a reference to the original author at the top
of the quoted section, but when one uses "reply to sender" it does
not. I made the wrong choice--inadvertently omitting the reference
from the top of the quoted section. I apologize, and will be more
careful.
The additional information is much appreciated.
>A few empirical facts from Solaris 2.7.
>
>1) Libpng 1.2.0 is later than R 1.3.1, so R 1.3.1 had not been tested
>with it.
I have since tried libpng 1.0.12 (also the binary from
sunfreeware.com); it didn't work either. I didn't find a 1.0.11
binary. At this point, even if I found a 1.0.11 binary, I doubt it
would work.
>2) There is no Solaris binary in the official libpng distribution.
The libpng website does, however, have a link to the Solaris binaries
at www.sunfreeware.com
>
>3) The official Solaris makefile does build a shared library.
>
>4) When libpng is built using that makefile, R's configure works correctly,
>finds png support and compiles without any warnings (except those related
>to X11 header files without declared types). It works too!
>
I never had any doubt it would work, of course. Looks like I have to
give up on using somebody else's binaries.
>So I took a closer look. deflateInit2_ is in my libz. So the issue
>appears to be that your libpng is not matching your libz. Perhaps your
>libz is too old for your version of libpng? If so, I think R's configure
>did the right thing.
I agree.
>BDR
>
>On Fri, 2 Nov 2001, Don MacQueen wrote, quoting me without attribution:
The signature section of your message was included in the quote. But
I agree that proper attribution should include the reference at the
top, and will make sure to do so in the future.
> > Thank you; this is helpful.
>>
>> >On Thu, 1 Nov 2001, Don MacQueen wrote:
>> >
>> >> I'm also having trouble installing R 1.3.1 on Solaris and getting png
>> >> and jpeg support.
>> >> It looks like perhaps the png and jpeg libraries I installed weren't
>> >> built with all the support R needs.
>> >> If that's the case I'd appreciate confirmation. Or perhaps there's
>> >> something else I can do?
>> >> (with all the details I've included this message is rather long)
>> >
>> >For png, the symbol missing is not one the configure test is looking for,
>> >so it seems your png library is incomplete. I'd rebuild it. It's also
>> >strange since on Solaris it would be normal to have a shared library.
>>
>> The version I used is libpng-1.2.0-sol7-sparc-local
>> The libraries I used were the ones installed by that package
>> (pre-compiled, however; looks like I will have to try building them
>> myself). Or perhaps I should try to get v 1.0.11.
>>
>> >For jpeg, I think you are seeing a consequence of the incomplete libpng.a,
>> >which you can't link *anything* against. To stress this: it is not that
>> >it is missing things R needs but that it is missing things it needs
>> >itself.
>> >
>> >
>> >--
>> >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 272860 (secr)
>> >Oxford OX1 3TG, UK Fax: +44 1865 272595
>>
>>
>> --
>> --------------------------------------
>> Don MacQueen
>> Environmental Protection Department
>> Lawrence Livermore National Laboratory
>> Livermore, CA, USA
>> --------------------------------------
>>
>>-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
>> r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
>> Send "info", "help", or "[un]subscribe"
>> (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
> >
>_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>>
>
>--
>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 272860 (secr)
>Oxford OX1 3TG, UK Fax: +44 1865 272595
>
>-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
>r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
>Send "info", "help", or "[un]subscribe"
>(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
>_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
--
--------------------------------------
Don MacQueen
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA
--------------------------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list