DRL > Discussion

Linux + DoomRL 0.9.8.8B

<< < (2/3) > >>

Cyber Killer:
you don't need to install lua, but liblua (under kubuntu I got a package liblua5.1-0) and the game works

what I didn't manage to get working is the sound, I'm confused cause in AliensRL the sound works great (vorbis rox!). I searched through the forums and found sth about timidity (http://forum.chaosforge.org/index.php?topic=495.0), but it didn't help. Can anyone tell me what is the game using to play sounds so I can install it onto my system? (os: kubuntu 7.10, soundcard: SBLive)

@Kornel Kisielewicz:
please don't statically link lua into the game. dynamic linking has a great lot of advantages, to name the most obvious binary size and memory saving when there are more apps running using the same lib.

Kornel Kisielewicz:
Lua has the advantage of having a really small footprint both in memory and binary size, so that's not an issue. However it has the disadvantage of having different library naming scheme under every Linux distro that I saw, so it's a lot safer to statically bind Lua :P.

Cyber Killer:
an easy way around this is to create binary packages for a couple of popular distros (like ubuntu, debian, etc) :-)

anyway, is there any solution to the sound problem I mentioned?

Carpetsmoker:

--- Quote ---@Kornel Kisielewicz:
please don't statically link lua into the game. dynamic linking has a great lot of advantages, to name the most obvious binary size and memory saving when there are more apps running using the same lib.
--- End quote ---

Actually, dynamic linking (Or rather the lack thereof) is one of the few things windows has always done better then UNIX and UNIX-like OS's.
Dynamic linking saves a bit of diskspace and *might* make certain programs slightly faster ... But in a world of 500GB hardisks and quad-cores it's not that important anymore (And hasn't been for 15 years), and only offers a *very slight* advantage in *certain* situations

Static linking on the other hand has the obvious and *HUGE* advantage that the programs will almost always run on any system.
Also remember that libraries change over time and may become incompatible with previous versions, if the application if open-source then it can be modifed by anyone ... But with a closed-source app such as DoomRL this is impossible, and may lead to problems in the future if the program will become unmaintained.

And another reason why shared libs aren't that great is because it can be a pain to update.
Remember the gettext update of a year ago? I (And thousand like me) had to reinstall almost all 3d party applications because it was incompatible with the previous version...
I don't even use gettext, and always turn it off explicitly when compiling, but GNU configure seems to link binaries against gettext anyway if it's present (Thank you Mr. GNU, grrr)

Cyber Killer:
well... if e.g., all gtk+ and qt apps would be staticly linked I don't think that even 4 gigs of ram would be enough to just run KDE or GNOME ;-). and windows uses dynamic linking - think about directx or wmp or ie ;-P (or m$ visual c libs). the point is - win apps usually come with the required libs, so that the user doesn't need to worry if he has them intalled.

anyway, what Kornel will do is up to him, but at least I would be happy if the dynamic linked binary would be still available in the future.

(still no luck trying to get the sound working ;-P )

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version