Hi all ... I'm trying to compile the latest hengband source under ubuntu 9.10 and I'm not getting far. Basically, I am clueless being a Windows guy all my life.
Here is what I did:
>svn checkout http://svn.sourceforge.jp/svnroot/he...Hengband/trunk hengband
readme_eng.txt says to run "./configure --disable-japanese". I get no such program. There is a file ./configure.in that says it needs to be processed with autoconf. I sudo apt-get install autoconf, but autoconf barfs on the file with something about undefined macros. Also, I couldn't figure out how to pass the required switch to disable japanese.
So, I skip that, and do:
cd src
cp makefile.std makefile
gedit makefile&
I commented out the Japanese stuff, and tried the following options (section labelled "Compile for Linux"):
CFLAGS = -Wall -O2 -pipe -g -D"USE_XAW" -D"USE_GCU"
LIBS = -L/usr/X11R6/lib -lXaw -lXext -lSM -lICE -lXmu -lXt \
-lX11 -lcurses
I had to remove the -m486 switch as gcc blew up with that option.
I then make just fine until:
main-xaw.c:23:29: error: X11/Xaw/SimpleP.h: No such file or directory
main-xaw.c:24:28: error: X11/Xaw/Simple.h: No such file or directory
main-xaw.c:25:29: error: X11/Xaw/XawInit.h: No such file or directory
So I am missing X11 headers but I don't have a clue how to get them.
Any ideas? I'll keep poking ...
Thanks in advance,
--Chris
Here is what I did:
>svn checkout http://svn.sourceforge.jp/svnroot/he...Hengband/trunk hengband
readme_eng.txt says to run "./configure --disable-japanese". I get no such program. There is a file ./configure.in that says it needs to be processed with autoconf. I sudo apt-get install autoconf, but autoconf barfs on the file with something about undefined macros. Also, I couldn't figure out how to pass the required switch to disable japanese.
So, I skip that, and do:
cd src
cp makefile.std makefile
gedit makefile&
I commented out the Japanese stuff, and tried the following options (section labelled "Compile for Linux"):
CFLAGS = -Wall -O2 -pipe -g -D"USE_XAW" -D"USE_GCU"
LIBS = -L/usr/X11R6/lib -lXaw -lXext -lSM -lICE -lXmu -lXt \
-lX11 -lcurses
I had to remove the -m486 switch as gcc blew up with that option.
I then make just fine until:
main-xaw.c:23:29: error: X11/Xaw/SimpleP.h: No such file or directory
main-xaw.c:24:28: error: X11/Xaw/Simple.h: No such file or directory
main-xaw.c:25:29: error: X11/Xaw/XawInit.h: No such file or directory
So I am missing X11 headers but I don't have a clue how to get them.
Any ideas? I'll keep poking ...
Thanks in advance,
--Chris
Comment