Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Debian Stretch installation feedback  (Read 602 times)

Simons_Mith

  • Escaped Lunatic
    • View Profile
Debian Stretch installation feedback
« on: July 10, 2018, 05:35:13 pm »

Just got a new Debian 'Stretch' box, and as it's cleanly built I thought I'd feed back
the precise installation requirements that I actually encounterd.
i.e. the bare bones of what I /really/ needed to install to get DF working.

The DF Linux readme says

'In addition to the hardware requirements (which will be the same as the other
platforms) your system will need these libraries installed:

* GTK+ 2+
* SDL 1.2+
* SDL_image

And some kind of OpenGL implementation, so:

* libgl
* libglu'

So referring to https://packages.debian.org/stretch/libs/ I tried to obtain
the most appropriate matches. These were as below, with installation
attempted in order listed:

(For real novices, the generic command syntax for all of these is

sudo apt-get install xxxx

and for xxx you put in the package name. The full list of installable
debian packages is at the link above, and it's immense.)


libsdl-gfx1.2-5
libsdl-image1.2 (not needed, newest version already present)
libgtk-3-0 (not needed, newest version already present)
libglu1-mesa (not needed, newest version already present)

But after putting them on I still got an error:

'./libs/Dwarf_Fortress: error while loading shared libraries:
libSDL_ttf-2.0.so.0: cannot open shared object file: No such file or directory'

This was fixed by obtaining

libsdl-ttf2.0-0

as you might expect.


At which point the game worked, but without sound, and told me:

'Dynamically loading the OpenAL library failed, disabling sound.
Initialising OpenAL failed, no sound will be played'

And that was fixed by obtaining

libopenal1

As I actually have a log of all the stuff installed on this system so far I
thought I'd report what you really need to set up DF on a cleanly-built
machine. I hope this may be a useful sanity check for someone in future.
If there's things I ought to have done differently, please feel free to let
me know. I'm new to Debian.

Other stuff already present before I started on Dwarf Fortress - the
375.82 NVDIA drivers from the Debian non-free repository (/not/ the
even more current version 390.67 drivers from nvidia.co.uk, because
they don't play well with Steam.), and prior to that, I put

build-essential

on.

I believe none of the other installations I've done on the machine so
far should have had any bearing on getting Dwarf Fortress to work,
but I still have the list if needed.

HTH someone, someday. I find so many old sets of installation
instructions dated in years past. Let's have at least one list updated
to 2018. :-)
Logged

Simons_Mith

  • Escaped Lunatic
    • View Profile
Re: Debian Stretch installation feedback
« Reply #2 on: July 11, 2018, 01:10:52 pm »

Well, it's not a bug report because I didn't hit any /unexpected/ problems.
(OK, I suppose I might have been able to rework it into one, but I wasn't
seeking help for a fix, I was providing feedback.)

It's not an announcement. It's not a gameplay issue. It's not Dwarf mode,
it's not adventure mode, it's not a story. It's not modding.

It could be made to fit in General, but it's even more liable to get buried there.

Its relevance to 'Suggestions' is that it could, maybe, be used to improve the
installation instructions for Linux. And there's a chance it might help others
troubleshoot issues. I hope that's where it has the best odds of actually
being useful to someone, so I thought 'Suggestions' was the least inappropriate
and simultaneously most useful place to put it. Even then, I agree
it doesn't fit particularly well here either.

Consequently if a mod feels it should be moved, I certainly won't be arguing.

Logged