ILiad/gnugo
From OSR
Contents |
Porting gnugo-3.6 to the iLiad
- The patterns directory needs to run locally to pre-compile the patterns. Rather than hack on the makefiles, I configured for a local build and stored the pre-compiled programs mkpat, mkeyes and joseki from the patterns directory:
tar zxvf gnugo-3.6.tar.gz
cd gnugo-3.6
mkdir i386 arm
cd i386
../configure && make
cd ../arm
CC=/usr/local/arm/oe/bin/arm-linux-gcc \
CXX=/usr/local/arm/oe/bin/arm-linux-g++ \
../configure \
--host=arm-linux \
--prefix=/tmp/gnugo \
cp ../i386/patterns/{mkpat,mkeyes,joseki} patterns
make
As of firmware 2.9.1, libncurses.so.5 is not installed on the reader and must be added by hand and ldconfig run to re-build the library cache.
cd /usr/local/arm/oe/arm-linux
tar -zcf - lib/libncurses.so* | ssh root@10.0.0.200 \
mkdir /usr/local \; \
tar -C /usr/local -zxvf - \; \
ldconfig
Porting dingou-1.2
Needs to have imlib-devel rpm installed on FC3. Needs to have imlib-1.9 built for arm. Needs to have libtiff built for arm, as well as giflib.
Both of these:
PATH=/usr/local/arm/oe/bin:$PATH \
CC=arm-linux-gcc \
CXX=arm-linux-g++ \
./configure \
--host=arm-linux \
--prefix=/usr/local/arm/oe/arm-linux
PATH=/usr/local/arm/oe/bin:$PATH \
make
- Configure script:
- imlib config.cache:
ac_cv_lib_jpeg_jpeg_destroy_decompress=${ac_cv_lib_jpeg_jpeg_destroy_decompress=yes}
ac_cv_lib_tiff_TIFFWriteScanline=${ac_cv_lib_tiff_TIFFWriteScanline=yes}
ac_cv_lib_tiff_TIFFReadScanline=${ac_cv_lib_tiff_TIFFReadScanline=yes}
ac_cv_lib_gif_DGifOpenFileName=${ac_cv_lib_gif_DGifOpenFileName=yes}
ac_cv_lib_png_png_read_info=${ac_cv_lib_png_png_read_info=yes}
- But imlib still fails to build for parts. Darn it.
Porting cgoban-1.9.14
I don't think this one works with gnugo-3.6. It builds for arm without any problems, although I haven't made the erdm hacks yet to do screen updates. The separate window interface also confuses matchbox a bit.
Porting Quarry-0.2.0
This one also needs the hack to build parse-game-list, parse-sgf-list and parse-configuration. It also requires librsvg2 to be installed.