Author Topic: Xboard/chess builds ok, but cannot execute on Zaurus  (Read 2124 times)

time

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
    • http://www.trustice.com
Xboard/chess builds ok, but cannot execute on Zaurus
« on: May 14, 2004, 02:22:14 pm »
I downloaded GNU chess, and it built easily and runs just fine on the Zaurus. That was very encouraging.

So, I downloaded xboard. It builds easily. Very impressive.

However, when I run xboard in the Zaurus, it says \"cannot execute binary file\".

I have double checked the build, and all the correct armv5tel-cacko-linux tools are used in the build. If I try to run the binary on my Linux box, I get the same error \"cannot execute binary file\".

Any ideas why the binary is not executable?
Zaurus SL-C860 / pdaXrom

Zazz

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Xboard/chess builds ok, but cannot execute on Zaurus
« Reply #1 on: May 14, 2004, 02:43:00 pm »
What is the output of \'file xboard\'? (if file is not installed, install it from the feed.) Also make sure xboard has executable permissions (chmod 755 xboard).

time

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
    • http://www.trustice.com
Xboard/chess builds ok, but cannot execute on Zaurus
« Reply #2 on: May 14, 2004, 02:54:08 pm »
I rechecked the build log and noticed that the make was running install with the -s option, which was causing it to use the linux strip, which was munging the executable. Once I removed that option, all was fine.

Now struggling with the fonts...
Zaurus SL-C860 / pdaXrom

time

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
    • http://www.trustice.com
Xboard/chess builds ok, but cannot execute on Zaurus
« Reply #3 on: May 14, 2004, 03:07:33 pm »
OK!

I have gnuchess running with xboard on my C860.
It is awesome. I am in heaven.

How do I go about releasing this to the public?
Zaurus SL-C860 / pdaXrom

time

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
    • http://www.trustice.com
Xboard/chess builds ok, but cannot execute on Zaurus
« Reply #4 on: May 14, 2004, 03:26:29 pm »
One more question: How do I determine the X fonts (the old -*-name-weight-type-style-*-*-... format) available to me?
Zaurus SL-C860 / pdaXrom

Zazz

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Xboard/chess builds ok, but cannot execute on Zaurus
« Reply #5 on: May 14, 2004, 03:38:05 pm »
Quote
One more question: How do I determine the X fonts (the old -*-name-weight-type-style-*-*-... format) available to me?


Try xlsfonts.

Did you manage to create a book.dat for gnuchess? It doesnt seem to work here.

time

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
    • http://www.trustice.com
Xboard/chess builds ok, but cannot execute on Zaurus
« Reply #6 on: May 14, 2004, 03:43:41 pm »
Geez, it just shows you how long I have been programming Java, I have forgotten all of my X tools. Thanks.

To be honest with you, I am not that familiar with gnuchess. Can you explain, briefly, what the book.dat is? Thanks again.
Zaurus SL-C860 / pdaXrom

Zazz

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Xboard/chess builds ok, but cannot execute on Zaurus
« Reply #7 on: May 14, 2004, 04:04:01 pm »
Quote
Can you explain, briefly, what the book.dat is? Thanks again.


\"book add games.pgn\" executed inside gnuchess is supposed to generate a file book.dat of opening moves form a file games.pgn in standard notation.

Once gnuchess and xboard are working, you should try crafty next.

time

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
    • http://www.trustice.com
Xboard/chess builds ok, but cannot execute on Zaurus
« Reply #8 on: May 14, 2004, 05:28:54 pm »
Well, I am not sure what problems you had, but I find that \"book add\" works just fine with my gnuchess build. Still need to know how to feed this to cacko\'s feed...
Zaurus SL-C860 / pdaXrom

ScottYelich

  • Hero Member
  • *****
  • Posts: 992
    • View Profile
    • http://www.zaurususergroup.com/modules.php?opmodload&namephpWiki&filei
Xboard/chess builds ok, but cannot execute on Zaurus
« Reply #9 on: May 14, 2004, 09:13:23 pm »
from what I remember, the make of gnuchess generated several books.
xboard + gnuchess is awesome...
I think eboard would be great, if it would fit on the screen.

blitzen anyone? :-)

Scott