On 31 Aug 2009, at 23:57, Arun Persaud wrote:

does not have a ./configure.

please run ./autogen.sh to create the configure script.

All below run as root 'sudo -s'.

This works fine, and after ./configure & make, I get the same malloc error before, which can be fixed by merely commenting <malloc.h> out in uci.c: gcc -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/local/share/info"' -I/usr/ X11/include -MT uci.o -MD -MP -MF .deps/uci.Tpo -c -o uci.o uci.c
uci.c:27:20: error: malloc.h: No such file or directory
make[1]: *** [uci.o] Error 1
make: *** [all] Error 2

Then I get the error:
gcc -lm -lXaw -o xboard backend.o lists.o pgntags.o xedittags.o xhistory.o zippy.o childio.o moves.o uci.o xengineoutput.o xoptions.o gamelist.o parser.o xboard.o xgamelist.o book.o
ld: library not found for -lXaw
collect2: ld returned 1 exit status
make[1]: *** [xboard] Error 1
make: *** [all] Error 2

There is a library path, and a couple of X Window libraries missing; the line should be: gcc -L/usr/X11/lib/ -lm -lX11 -lXaw -lXpm -lXt -lXmu -o xboard backend.o lists.o pgntags.o xedittags.o xhistory.o zippy.o childio.o moves.o uci.o xengineoutput.o xoptions.o gamelist.o parser.o xboard.o xgamelist.o book.o

Then I get the error:
# make install
test -z "/usr/local/bin" || ./install-sh -c -d "/usr/local/bin"
/bin/sh: ./install-sh: Permission denied
make[1]: *** [install-binPROGRAMS] Error 126
make: *** [install-am] Error 2

Fixed by
  chmod +x install-sh

But then I can complete the install and get crafty run against itself.

  Hans




_______________________________________________
Bug-XBoard mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-xboard

Reply via email to