compiling on ubuntu

All your MAngband related technical questions answered. Problems compiling or running the game/server? No problem! Ask here.
Post Reply
rsw
Blubbering Idiot
Posts: 1
Joined: Sat 04.10.2008, 20:34

compiling on ubuntu

Post by rsw » Sat 04.10.2008, 20:44

I have attached the config.log file. Basically, I downloaded the source from the download page on the website, then I
followed the instructions on the "How to Compile" page that was linked to along with the download; I got this error
"Compiler cannot create executables" so I ran again as root, same thing. It's strange because I could swear I've been
doing tons of compiling of executables on this machine?? I thought it'd be an easy problem to solve (sudo or something
lol) but a search of the forums for "executables" turns up nothing. Anybody know what's up? I'm sure I'm missing
something obvious.

schroeder
Giant Mottled Ant Lion
Posts: 204
Joined: Sat 14.06.2008, 04:23
Location: Somewhere in Illinois in the USA

Re: compiling on ubuntu

Post by schroeder » Sun 05.10.2008, 19:08

You're doing it wrong. Your trying to create an executable. Not sure how or why cus I don't see the log file. Its MUCH simpler then that. Just paste this into the terminal:
sudo apt-get install subversion
svn co http://mangband.org/svn/mangband/branches/version-1_1_0 mangband
cd mangband/src
./configure
make
cd ..
./mangclient

And you should be good. The ./mangclient is what starts mangband in the terminal. My ubuntu is currently dead, so all I can say is the actual mangclient file is somewhere, and you should go to add and remove programs, games, add new program: call it mangband, and use ./mangclient as the command. It will now appear in your games menu.
Personally, I reccomend that you replace the line .configure with:
./configure --without-sdl
Because otherwise the window may be too big to play easily if you don't have a big enough screen resolution.
Anything worth being done, is worth being overdone.
My Mangband videos; http://www.youtube.com/user/Schroederband

Billsey
King Vampire
Posts: 272
Joined: Sun 12.02.2006, 14:36
Location: Oregon, USA
Contact:

Re: compiling on ubuntu

Post by Billsey » Wed 08.10.2008, 04:24

One small nit to pick... You should be checking out 1.1.1, not 1.1.0. ;-)

svn co http://mangband.org/svn/mangband/branches/version-1_1_1
Mangband Project Team Member

schroeder
Giant Mottled Ant Lion
Posts: 204
Joined: Sat 14.06.2008, 04:23
Location: Somewhere in Illinois in the USA

Re: compiling on ubuntu

Post by schroeder » Mon 13.10.2008, 08:06

you should probably update the how to compile in linux guide in the downloads section to be the right version
Anything worth being done, is worth being overdone.
My Mangband videos; http://www.youtube.com/user/Schroederband

Post Reply