Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Variants

Reply
 
Thread Tools Display Modes
Old November 23, 2008, 00:47   #1
Wisp
Scout
 
Join Date: Jul 2007
Location: Somewhere on the east coast of the US
Posts: 47
Wisp is on a distinguished road
SAngband

So, I'm running Ubuntu Intrepid, and I've compiled the (I think) SDL version. It will run fine, and I can play for as long as I want, but anytime I try to close (via ctrl-X, hitting escape it first window, etc.) the game, it segfaults and freezes, and I have to go to the terminal and "kill" it.

Is this just a bad compile, or a known bug?

Anything I should try? I'm something of a Linux n00b, and I haven't tried source-compiling a *band before.
__________________
Dubito, ergo cogito, ergo sum.
Wisp is offline   Reply With Quote
Old November 23, 2008, 01:07   #2
Bandobras
Knight
 
Join Date: Apr 2007
Posts: 726
Bandobras is on a distinguished road
Where did you get the source from? There are some fan-made bugfixed versions somewhere...
Bandobras is offline   Reply With Quote
Old November 23, 2008, 02:13   #3
camlost
Sangband 1.x Maintainer
 
camlost's Avatar
 
Join Date: Apr 2007
Posts: 523
camlost is on a distinguished road
I'm not aware of having fixed any such bugs. Mainly because I haven't experienced them yet (I am not currently running any flavor of Linux).

Any chance that you could obtain any information about the nature of the bug. Perhaps you could run it through a debugger to find out some information about what is going wrong?

If you are interested, the alternate source can be found at:
middendorfproject.googlepages.com/sangband

Let me know if you find some other information. I'm planning on installing a distro at some point, but I've been pretty busy lately. When I do, I'll see if I can get a clean SDL install myself.
__________________
a chunk of Bronze {These look tastier than they are. !E}
3 blank Parchments (Vellum) {No french novels please.}
camlost is offline   Reply With Quote
Old November 23, 2008, 05:23   #4
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 58
Posts: 9,559
Donated: $60
Nick will become famous soon enoughNick will become famous soon enough
1.0.0. hotfix #7 works fine for me on Intrepid - I don't suppose that helps much. I compiled it a couple of Ubuntu releasess ago, and can't remember having to do anything weird.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old November 23, 2008, 07:28   #5
Wisp
Scout
 
Join Date: Jul 2007
Location: Somewhere on the east coast of the US
Posts: 47
Wisp is on a distinguished road
That's strange. I got the code from here.

I recompiled... the standard make install -f Makefile.std

It runs (and closes) fine. I suppose I just had a bad install.

Any of you all know how I could register it as a keyword? (ie, type sangband in terminal and have it start up, as opposed to going to the directory, etc. etc.)

Thanks for your help.
__________________
Dubito, ergo cogito, ergo sum.
Wisp is offline   Reply With Quote
Old November 23, 2008, 08:11   #6
PowerDiver
Prophet
 
Join Date: Mar 2008
Posts: 2,799
PowerDiver is on a distinguished road
Quote:
Originally Posted by Wisp View Post
Any of you all know how I could register it as a keyword? (ie, type sangband in terminal and have it start up, as opposed to going to the directory, etc. etc.).
You probably want to create a shellscript inside /usr/local/bin that contains two commands, one to change directories and another to invoke the program. E.g. I have an old one called

/usr/local/bin/nppangband

whose contents is
Code:
#! /bin/sh

cd /home/jgrove/eddie/npp/NPP050BETA2-Source
/home/jgrove/eddie/npp/NPP050BETA2-Source/nppangband
You might want to add options like "-mx11 -- -n2" to the last line to get multiple windows, assuming S supports those options.

You need to make sure the script has the execute bit set [using chmod +x] and that /usr/local/bin is in your path.

Alternatively, you could add an alias something like

alias sangband='pushd /usr/local/src/sangband ; ./angband ; popd'

to your ~/.alias file.
PowerDiver is offline   Reply With Quote
Reply


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


All times are GMT +1. The time now is 22:45.


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