Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old December 22, 2009, 17:33   #1
chris
PosChengband Maintainer
 
Join Date: Jan 2008
Posts: 702
chris is on a distinguished road
Ubuntu Noob Needs Your Help!!

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
chris is offline   Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Noob needs advice... Choronzon Vanilla 16 December 31, 2009 07:16
Few questions. Hengband related. And Ubuntu. Arendil Variants 4 October 1, 2009 17:53
Ubuntu SDL Help? benhamill Vanilla 12 February 24, 2009 22:19
Noob Question for 3.0.9 Arphod Vanilla 4 November 8, 2008 04:36
[Z] Help a noob Pwnography Variants 2 September 3, 2007 18:03


All times are GMT +1. The time now is 12:52.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.