[racket] racket build fail on archlinux

From: Jon Rafkind (rafkind at cs.utah.edu)
Date: Wed Jun 9 02:08:47 EDT 2010

This is the same issue reported on the arch-linux forums:

   http://bbs.archlinux.org/viewtopic.php?pid=703488

This came up on IRC as well which is how I know whats wrong (I am 
telepathic but not on Wednesdays).

<jonrafkind> what version of libpng do you have installed?
<jonrafkind> http://bbs.archlinux.org/viewtopic.php?pid=703488
<jonrafkind> looks similar to this issue
<jonrafkind> i guess you can just patch the racket source, maybe thats 
the easiest thing to do
<jonrafkind> does that sound reasonable to you?
<ryanaghdam> I have version 1.2 installed.  I remember having to get 
that specific version to build chromium.
<ryanaghdam> The standard version that comes with Arch is 1.4. I'll try 
re-compiling with their official package before I start doing patches :)
<jonrafkind> ok

On 06/08/2010 11:51 PM, Siju George wrote:
> Hi,
>
> I am trying to compile racket on archlinux/i686
>
> Linux  2.6.33-ARCH #1 SMP PREEMPT Thu May 13 12:06:25 CEST 2010 i686
> Intel(R) Pentium(R) D CPU 2.66GHz GenuineIntel GNU/Linux
>
> and got this error during make
>
>
> ../../../gracket/gc2/../../wxcommon/wxJPEG.cxx: In function ‘int
> wx_write_png(char*, wxBitmap*)’:
> ../../../gracket/gc2/../../wxcommon/wxJPEG.cxx:967:28: warning:
> ‘png_struct_def::jmpbuf’ is deprecated (declared at
> /usr/include/libpng14/png.h:1114)
> ../../../gracket/gc2/../../wxcommon/wxJPEG.cxx:967:28: warning:
> ‘png_struct_def::jmpbuf’ is deprecated (declared at
> /usr/include/libpng14/png.h:1114)
> make[5]: *** [wxJPEG.o] Error 1
> make[5]: Leaving directory `/var/software/plt-5.0/src/build/gracket/gc2'
> make[4]: *** [3m] Error 2
> make[4]: Leaving directory `/var/software/plt-5.0/src/build/gracket/gc2'
> make[3]: *** [3m] Error 2
> make[3]: Leaving directory `/var/software/plt-5.0/src/build/gracket'
> make[2]: *** [gracket-3m] Error 2
> make[2]: Leaving directory `/var/software/plt-5.0/src/build'
> make[1]: *** [3m] Error 2
> make[1]: Leaving directory `/var/software/plt-5.0/src/build'
> make: *** [all] Error 2
>
>
> what could be the reason?
>
> thanks
>
> --Siju
> _________________________________________________
>    For list-related administrative tasks:
>    http://lists.racket-lang.org/listinfo/users
>    



Posted on the users mailing list.