s i s t e m a o p e r a c i o n a l m a g n u x l i n u x | ~/ · documentação · suporte · sobre |
Next
Previous
Contents
9. First Example: XscrabbleMatt Chapman's
Of course it did not work...
I enquired about this in the comp.os.linux.x newsgroup, and someone kindly pointed out that apparently the Xt, Xaw, Xmu, and X11 libs were not being found at the link stage. Hmmm... There were two main Makefiles, and the one in the Looking for the next reference to LOCAL_LIBS, I saw on line 495 of that Makefile:
Now what were these LDLIBS?
The SYS_LIBRARIES were:
Yes! Here were the missing libraries.
Possibly the linker needed to see the LDLIBS before the LOCAL_LIBS... So, the first thing to try was to modify the Makefile by transposing the $(LOCAL_LIBS) and $(LDLIBS) on line 495, so it would now read:
I tried running make again with the above change, and lo and behold, it worked this time. Of course, Xscrabble still needed some fine tuning and twiddling, such as renaming the dictionary and commenting out some assert statements in one of the source files, but since then it has provided me with many hours of pleasure.
[Note that a newer version of Xscrabble is now available in rpm format, and this installs without problems.]
You may e-mail Matt Chapman, and download Xscrabble from his home page.
Next Previous Contents |