![]() |
#1 |
Rookie
Join Date: Feb 2009
Posts: 5
![]() |
Ubuntu SDL Help?
I installed the most recent Angband version on a Windows machine and it was nice: I could spawn other windows and map in various displays, etc. However, on my Linux box (where I'd *actually* like to play), I guess I did something wrong.
I've got Ubuntu (Hardy Heron) installed and 3.1.0 isn't in the package repo yet, so I wanted to install from source. I had to install some X11 libraries before the config output reported 'yes' for it. In reading about all of that, though, I read that the SDL interface was much nicer, so I installed some SDL libraries and configure reports yes for that, now. I typed angband again, but it didn't look any different from before. I tried angband -msdl and it told me "angband: Unable to prepare any 'display module'!" Sad Ben. I'm a total Linux noob, so I may be doing something really dumb. Any help or suggestions? I'll be happy to provide more information, I'm just not sure what else would he helpful. Thanks in advance. Ben |
![]() |
![]() |
![]() |
#2 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 57
Posts: 9,480
Donated: $60
![]() ![]() |
This does seem puzzling. Do you get any other message? SDL is working fine for me on Intrepid - I do use kubuntu, though. It is just possible that restarting might help. What does 'which angband' tell you?
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#3 |
Rookie
Join Date: Feb 2009
Posts: 5
![]() |
'which angband' tells me /usr/games/angband
I think I may have discovered something that will shed some light. I guess the package-installed Angband didn't get over-written with the source install, so when I thought I was invoking the new one, it was still hitting the old one. When I went into .../src/ and did ./angband -msdl it launched with a new UI and let me spawn windows (I didn't find an arrangement that was awesome, but still). It couldn't save anything, though, due to permissions issues. I'm going to uninstall the package and see where that gets me. Thanks again, and any other suggestions are mightily appreciated. Ben |
![]() |
![]() |
![]() |
#4 | |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 57
Posts: 9,480
Donated: $60
![]() ![]() |
Quote:
For more info, run ./configure --help - that will tell you probably way more than you need to know ![]() Just as an example, here's my SDL setup: ![]()
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
|
![]() |
![]() |
![]() |
#5 | |
Angband Devteam member
|
Quote:
When you build from source, SDL is not enabled by default. You need to: (0. ./autogen.sh - if building from trunk) 1. ./configure --enable-sdl 2. make 3. make install (or debian/rules binary if you want a deb) If you have an i386 machine (ie. not AMD64) then you can try this deb: http://www.terminalarrogance.com/ang...1.1-1_i386.deb Cheers, CC |
|
![]() |
![]() |
![]() |
#6 |
Rookie
Join Date: Feb 2009
Posts: 5
![]() |
![]()
Thanks, everyone, for your help and advice. I finally got SDL working. I think there was something left over from the package install that was borking the source install, so I deleted everything related to Angband I could find from my machine and then redownloaded the source, did a ./config with everything default except --enable-sdl, then make and sudo make install... viola! It works. So pleased.
When I quit and start a new Angband session, the positions and sizes of the SDL windows get lost. Is that normal, or should it save from session to session where things were? Thanks, again, so much, all! Ben Last edited by benhamill; February 20, 2009 at 05:30. Reason: Clarification. |
![]() |
![]() |
![]() |
#7 | |
Angband Devteam member
|
Quote:
CC |
|
![]() |
![]() |
![]() |
#8 |
Rookie
Join Date: Feb 2009
Posts: 5
![]() |
Where can I find documentation about what needs to be in that file? I couldn't get google to tell me anything helpful. I'm totally willing to edit some text file by hand, however tedious. Tedious for a longish time once > tedious for a short time repeatedly.
Ben |
![]() |
![]() |
![]() |
#9 | |
Angband Devteam member
|
Quote:
What fonts you choose and how big your windows are kind of depends on how much screen real estate you have available. Hope this helps. Sadly the machine I'm typing this on doesn't support SDL, otherwise I'd post my sdlinit.txt - I'm happy to do that later if need be. CC |
|
![]() |
![]() |
![]() |
#10 | |
Rookie
Join Date: Feb 2009
Posts: 5
![]() |
Quote:
Thanks! Ben |
|
![]() |
![]() |
![]() |
Tags |
compile, hardy heron, sdl, ubuntu, x11 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|