<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 15, 2013 at 10:39 PM, Matthew Flatt <span dir="ltr"><<a href="mailto:mflatt@cs.utah.edu" target="_blank">mflatt@cs.utah.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">When I tried libpng 1.6.2, it didn't work because PNG_LIBPNG_VER_STRING<br>
includes a minor version number. I've pushed a repair for that problem,<br>
and the patch should apply to v5.3.4:<br>
<br>
<a href="https://github.com/plt/racket/commit/5629a6156a5720e51a277849f75b3135cb93664f" target="_blank">https://github.com/plt/racket/commit/5629a6156a5720e51a277849f75b3135cb93664f</a><br>
<div class="HOEnZb"><div class="h5"><br>
</div></div></blockquote><div><br></div><div>Thanks. The patch works.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">
At Sat, 11 May 2013 09:32:49 -0600, Matthew Flatt wrote:<br>
> The `racket/gui' library looks for "libpng15", "libpng12", and just<br>
> "libpng", in that order.<br>
><br>
> So, maybe it should also look for "libpng16", which I'm guessing is<br>
> the name of the libpng 1.6.2 library?<br>
><br>
> You can try adjusting<br>
><br>
> collects/racket/draw/unsafe/png.rkt<br>
><br>
> to see if it works with "libpng16", or you could link "libpng.so" in<br>
> the Racket "lib" directory to libpng16.so".<br>
><br>
> At Fri, 10 May 2013 18:23:01 -0400, Eric Bélanger wrote:<br>
> > I'm trying to build racket 5.3.4 but I'm getting many similar errors:<br>
> > png_structp->C: argument is not non-null `png_structp' pointer<br>
> > argument: #f<br>
> ><br>
> > I found out that this only happens with libpng 1.6.2. It builds fine if I<br>
> > use libpng 1.5.15.<br>
> ><br>
> > Does anyone have a fix?<br>
> ><br>
> > Thanks.<br>
> > ____________________<br>
> > Racket Users list:<br>
> > <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
><br>
> ____________________<br>
> Racket Users list:<br>
> <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
</div></div></blockquote></div><br></div></div>