G
Guest
Guest
Archived from groups: rec.games.roguelike.misc (More info?)
So, after reading about the RNG trouble under Windows, I decided to
install Linux (again) and get Crawl running under it. I went for Debian,
and installing Crawl is as easy as "apt-get install crawl".
But that's not good enough for me. I want Darshan's travel patch. Accept
no substitute. So I downloaded the source, the .diff, put the .diff in
the [crawldir]/source directory, and did "patch
<crawl-patches-20050729.diff" (which returned no errors). Then I did
"make". No luck.
I checked the "religion.cc" problem - it was nonexistent. Probably the
patch fixes this also, I don't know. Anyway, make spits out (as the
first few lines):
make -j2 -f makefile.lnx EXTRA_FLAGS='-O2 -fno-strength-reduce'
make[1]: Entering directory `/home/elethiomel/crawl/dc400b26-src/source'
g++ -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g -DLINUX -O2 -fno-strength-reduce -c liblinux.cc
cc1plus: warning: "-Wmissing-declarations" is valid for C/ObjC but not
for C++
liblinux.cc:71:24: curses.h: No such file or directory
liblinux.cc:84: error: `KEY_MAX' was not declared in this scope
liblinux.cc: In function `unsigned int convert_to_curses_attr(int)':
liblinux.cc:90: error: `A_STANDOUT' undeclared (first use this function)
Now, the first proper error says "curses.h: No such file or directory".
But I have triple-checked that I have curses installed.
Also, I must admit I have little experience with compiling stuff under
Linux. I'm sure I'm missing something obvious. What is it?
So, after reading about the RNG trouble under Windows, I decided to
install Linux (again) and get Crawl running under it. I went for Debian,
and installing Crawl is as easy as "apt-get install crawl".
But that's not good enough for me. I want Darshan's travel patch. Accept
no substitute. So I downloaded the source, the .diff, put the .diff in
the [crawldir]/source directory, and did "patch
<crawl-patches-20050729.diff" (which returned no errors). Then I did
"make". No luck.
I checked the "religion.cc" problem - it was nonexistent. Probably the
patch fixes this also, I don't know. Anyway, make spits out (as the
first few lines):
make -j2 -f makefile.lnx EXTRA_FLAGS='-O2 -fno-strength-reduce'
make[1]: Entering directory `/home/elethiomel/crawl/dc400b26-src/source'
g++ -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g -DLINUX -O2 -fno-strength-reduce -c liblinux.cc
cc1plus: warning: "-Wmissing-declarations" is valid for C/ObjC but not
for C++
liblinux.cc:71:24: curses.h: No such file or directory
liblinux.cc:84: error: `KEY_MAX' was not declared in this scope
liblinux.cc: In function `unsigned int convert_to_curses_attr(int)':
liblinux.cc:90: error: `A_STANDOUT' undeclared (first use this function)
Now, the first proper error says "curses.h: No such file or directory".
But I have triple-checked that I have curses installed.
Also, I must admit I have little experience with compiling stuff under
Linux. I'm sure I'm missing something obvious. What is it?