xscrabble for ubuntu

Asked by willki

xscrabble has compilations in rpm format for other distros and is available for OSX in Mac.Its a good game and educational and been on the go since 1994 so it would be nice to have a compilation for Ubuntu.I have tried loading from the tarball
at ftp site
ftp://ftp.ac-grenoble.fr/ge/educational_games/

but to no avail.I am sure that all that would be required are some modifications to the install process for it to work.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
willki
Solved:
Last query:
Last reply:
Revision history for this message
Matt Thompson (mattthompson) said :
#1

Which commands did you use to install this?

It might just be a matter or typing the wrong thing.

Cheers,
 Matt

Revision history for this message
willki (ross-rwilki21) said :
#2

Matt Medland wrote:
> Your support request #3258 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+ticket/3258
>
> Status: Open => Needs information
>
> Matt Medland requested for more information:
> Which commands did you use to install this?
>
> It might just be a matter or typing the wrong thing.
>
> Cheers,
> Matt
>
> _______________________________________________________________________
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+ticket/3258
>

> Thank you Matt for geting back to me on this so quickily.
>
I used the instructions on the readme file using the sudo command.
starting from the ./build bin instruction and taking it from
there.Everthing seems to work until the makefile is been generated and
there are a lot of errors
suchas
BarGraf.c:20:22: error: X11/Xlib.h: No such file or directory
BarGraf.c:23:28: error: X11/StringDefs.h: No such file or directory
BarGraf.c:24:28: error: X11/IntrinsicP.h: No such file or directory
In file included from BarGraf.c:31:
../X11/Xc/BarGrafP.h:18:23: error: X11/CoreP.h: No such file or directory
rm: cannot remove `mdep5177.tmp*': No such file or directory
make[1]: Leaving directory `/home/ross/Desktop/xscrabble-2.10/Xc'
depending in ./src...
make[1]: Entering directory `/home/ross/Desktop/xscrabble-2.10/src'
gccmakedep -- -I.. -Dlinux -D__i386__
-D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE
-D_XOPEN_SOURCE -D_BSD_SOURCE
-D_SVID_SOURCE -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15
-DNARROWPROTO -- init.c xinit.c misc.c moves.c cmove.c main.c
xutils.c mess.c popup.c widgets.c display.c user.c CircPerc.c
rm: cannot remove `mdep5193.tmp': No such file or directory
In file included from scrab.h:5,
                 from init.c:7:
xscrab.h:18:27: error: X11/Intrinsic.h: No such file or directory
xscrab.h:19:28: error: X11/StringDefs.h: No such file or directory
xscrab.h:20:28: error: X11/cursorfont.h: No such file or directory
xscrab.h:22:27: error: X11/Xaw/Label.h: No such file or directory
xscrab.h:23:29: error: X11/Xaw/Command.h: No such file or directory
xscrab.h:24:26: error: X11/Xaw/Form.h: No such file or directory
xscrab.h:25:28: error: X11/Xaw/Toggle.h: No such file or directory
xscrab.h:26:31: error: X11/Xaw/AsciiText.h: No such file or directory
xscrab.h:27:32: error: X11/Xaw/MenuButton.h: No such file or directory
xscrab.h:28:32: error: X11/Xaw/SimpleMenu.h: No such file or directory
xscrab.h:29:25: error: X11/Xaw/Sme.h: No such file or directory
xscrab.h:30:28: error: X11/Xaw/SmeBSB.h: No such file or directory
xscrab.h:32:23: error: X11/Xatom.h: No such file or directory
xscrab.h:33:23: error: X11/Shell.h: No such file or directory
xscrab.h:34:21: error: X11/xpm.h: No such file or directory
In file included from xscrab.h:36,
                 from scrab.h:5,
                 from init.c:7:
CircPerc.h:24:22: error: X11/Core.h: No such file or directory
In file included from scrab.h:5,
                 from xinit.c:17:
xscrab.h:18:27: error: X11/Intrinsic.h: No such file or directory
xscrab.h:19:28: error: X11/StringDefs.h: No such file or directory
xscrab.h:20:28: error: X11/cursorfont.h: No such file or directory
xscrab.h:22:27: error: X11/Xaw/Label.h: No such file or directory

I feel that maybe there are libraries missing or the build instructions
don't quite match a Debian system but my knowledge of LInux does not
have that sort of depth.
Cheers
Ross

Revision history for this message
Matt Thompson (mattthompson) said :
#3

I get pretty much the same thing.

Lot's of errors referring to missing files and such. I'll send an email to the maintainer telling him about this, and maybe he could help out.

Thanks,

Matt

Revision history for this message
Best willki (ross-rwilki21) said :
#4

Matt-just to let you know I have made some progress on this. I came across a tarball downloaded from Matt Chapman's web page the writer of the xscrabble program back in 1994.
Found at:
http://www.belgarath.org/programs

and this worked. You will note that this is version 1 and not the 2 series which I believe has been amended by someone else.
Once extracted using the archive roller-I just extracted to my Desktop -it extracts to a folder called xscrabble-the readme file in the extracted folder needs to be read!

First change directory in your terminal program to where you extracted the tarball.In my case this was
cd / home/ross/Desktop/xscrabble .
then run
sudo xmkmf
make Makefiles
make

Once the build process was run I copied the three files OSPD3.gz, scrabble permutations and xscrabble.scores from the Desktop folder xscrabble to my home directory in a folder I called xscrabble(different from the one on my desktop). As instructed in the readme file I renamed Xscrabble.ad to Xscrabble and I simply placed this in my home directory outwith the xscrabble folder that I had created.
During the build process two executable files are created in the src folder in the extracted folder-xscrabble- on the desktop. These are xscrab and xscrabble I copied these to folder
/usr/games -you will need to use sudo nautilus in the terminal command line to allow you to do this(gives nautilus super user rights). This puts the two executables in a directory contained in the $PATH variable .

The game works by typing xscrabble in the terminal command line.
You might see some warnings written about fonts when the program initiates but the program seems to work well enough.
Cheers
Ross

Revision history for this message
Matt Thompson (mattthompson) said :
#5

Excellent, I've forwarded this to the developer so it would be great to see what he says. :)

I'll try this tomorrow when I've got some time, congrats on getting it to work!

Matt

Revision history for this message
Matt Thompson (mattthompson) said :
#6

From the maintainer:
"
Hi:

I don't see any serious reason why version 2 should not work as well
(since it works here on Ubuntu 6.10). Point seems to be that there is a
X11 directory in the Makefiles somewhere that does not point to
where it should.
Changing this or putting a symbolic link where needed in your tree
should be enough to fix the compilation. The log you showed me
was merely a "trivial" problem - coming maybe from the change
of directory hierarchy between Xorg 6.9 and Xorg 7.0.

Best wishes,
Jean-Pierre Demailly
"

Seems we should have a look at the install process like you sugested at the very beginning :D.

Matt