Angband.oook.cz
Angband.oook.cz
AboutDownloadVariantsLadderForumCompetitionSpoilersComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old November 1, 2011, 12:51   #1
raycluster
Rookie
 
Join Date: Nov 2011
Posts: 5
raycluster is on a distinguished road
[3.3.2] Compiling fails under Ubuntu 11.10

Hi

I tried to compile version 3.3.2 of Angband under Ubuntu 11.10, but it wont work. (downloaded it here)

First I installed all necessary packages:

Code:
sudo apt-get install autoconf gcc libc6-dev libncurses5-dev libx11-dev \
             libsdl1.2-dev libsdl-ttf2.0-dev libsdl-mixer1.2-dev libsdl-image1.2-dev \
             libgtk2.0-dev libglade2-dev
Then I ran:

Code:
./configure --prefix=$HOME

[...]

Configuration:

  Install path:                           /home/raycluster
  binary path:                            /home/raycluster/games
  config path:                            /home/raycluster/etc/angband/
  lib path:                               /home/raycluster/share/angband/
  var path:                               (not used)
  (with private save and score files in ~/.angband/Angband/)

-- Frontends --
- Curses                                  Yes
- GTK 2.x                                 Disabled
- X11                                     Yes
- SDL                                     Disabled
- Test                                    No
- Stats                                   No

- SDL sound                               Yes
But when I try to make the project I get this error while linking:

Code:
make

[...]

/usr/bin/ld: snd-sdl.o: undefined reference to symbol 'SDL_GetError'
/usr/bin/ld: note: 'SDL_GetError' is defined in DSO /usr/lib/libSDL-1.2.so.0 so try adding it to the linker command line
/usr/lib/libSDL-1.2.so.0: could not read symbols: Invalid operation
collect2: ld gab 1 als Ende-Status zurück [german for: ld returns 1 as end-status]
make[3]: *** [angband] Fehler 1 [german 'Fehler' = error]
make[2]: *** [all] Fehler 1
make[1]: *** [subdirs] Fehler 1
make: *** [all] Fehler 1
make install of course returns a error too after that.

Can you help me compile it? The version in the Ubuntu repositories is outdated.
raycluster is offline   Reply With Quote
Old November 1, 2011, 16:56   #2
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 4,999
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate Send a message via Skype™ to Magnate
Ah. d_m also has an Ubuntu build problem - though his is with ncurses rather than SDL. But I do wonder if something in Ubuntu is borked. I don't see that problem building on Debian (which should have most of the same packages as Ubuntu).
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila
Magnate is offline   Reply With Quote
Old November 1, 2011, 16:59   #3
raycluster
Rookie
 
Join Date: Nov 2011
Posts: 5
raycluster is on a distinguished road
Mhh can you build 3.3.2 for me on a debian? Don't feel like installing a virtual machine, just for this program
raycluster is offline   Reply With Quote
Old November 1, 2011, 17:34   #4
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 4,999
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate Send a message via Skype™ to Magnate
Quote:
Originally Posted by raycluster View Post
Mhh can you build 3.3.2 for me on a debian? Don't feel like installing a virtual machine, just for this program
Here's one I prepared earlier. But you'll also need this.
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila
Magnate is offline   Reply With Quote
Old November 1, 2011, 18:43   #5
raycluster
Rookie
 
Join Date: Nov 2011
Posts: 5
raycluster is on a distinguished road
Wow, thank you so much
Works like a charm.
raycluster is offline   Reply With Quote
Old November 1, 2011, 19:29   #6
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 4,999
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate Send a message via Skype™ to Magnate
Quote:
Originally Posted by raycluster View Post
Wow, thank you so much
Works like a charm.
Excellent! Now to get it into Debian ....
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila
Magnate is offline   Reply With Quote
Old November 1, 2011, 20:45   #7
raycluster
Rookie
 
Join Date: Nov 2011
Posts: 5
raycluster is on a distinguished road
Quote:
Originally Posted by Magnate View Post
Now to get it into Debian ....
What do you mean?
raycluster is offline   Reply With Quote
Old November 1, 2011, 20:54   #8
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 4,999
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate Send a message via Skype™ to Magnate
Quote:
Originally Posted by raycluster View Post
What do you mean?
I'm not authorised to upload those debs to the Debian archive, so I need a "sponsor" to do that for me. I had one for 3.1.1 and 3.1.2, but lost touch when he moved jobs. 3.2.0 was uploaded to Debian about six months after release because I didn't have a sponsor - I now have another one and I'm waiting for him to QA the packages you downloaded. Once he's happy, they'll go into Debian (and then eventually through to Ubuntu).
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila
Magnate is offline   Reply With Quote
Old November 1, 2011, 21:36   #9
raycluster
Rookie
 
Join Date: Nov 2011
Posts: 5
raycluster is on a distinguished road
What about Ubuntu? Can you upload it to it's reps? Or are they the same?
raycluster is offline   Reply With Quote
Old November 1, 2011, 21:40   #10
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 4,999
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate Send a message via Skype™ to Magnate
Quote:
Originally Posted by raycluster View Post
What about Ubuntu? Can you upload it to it's reps? Or are they the same?
Well, I'm only the Ubuntu maintainer by default really - I don't know anything about Ubuntu. All I know is that a few weeks after a new version appears in Debian, it gets automatically ported/uploaded to Ubuntu. Since my main interest is in getting it into Debian, I've never worried about uploading directly to Ubuntu.

Besides, my new sponsor pointed out a couple of packaging errors in the ones you downloaded, so I'm having to repackage it anyway. He seems quite responsive, so maybe it will go in quite soon.
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila
Magnate 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Font size on ubuntu? AltF4 Vanilla 5 October 27, 2010 20:33
Unangband Ubuntu install? Whelk Variants 3 July 26, 2010 05:49
Ubuntu installation... aaronchall Vanilla 10 July 24, 2010 18:04
Ubuntu Noob Needs Your Help!! chris Development 3 December 22, 2009 18:32
Ubuntu SDL Help? benhamill Vanilla 12 February 24, 2009 21:19


All times are GMT +1. The time now is 01:37.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.