![]() |
#1 |
Scout
Join Date: Jul 2007
Location: Somewhere on the east coast of the US
Posts: 47
![]() |
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. |
![]() |
![]() |
![]() |
#2 |
Knight
Join Date: Apr 2007
Posts: 726
![]() |
Where did you get the source from? There are some fan-made bugfixed versions somewhere...
|
![]() |
![]() |
![]() |
#3 |
Sangband 1.x Maintainer
Join Date: Apr 2007
Posts: 523
![]() |
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.} |
![]() |
![]() |
![]() |
#4 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 58
Posts: 9,561
Donated: $60
![]() ![]() |
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. |
![]() |
![]() |
![]() |
#5 |
Scout
Join Date: Jul 2007
Location: Somewhere on the east coast of the US
Posts: 47
![]() |
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. |
![]() |
![]() |
![]() |
#6 | |
Prophet
Join Date: Mar 2008
Posts: 2,800
![]() |
Quote:
/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 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. |
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|