WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: dosbox.tcz missing a dep  (Read 2555 times)

Offline Lee

  • Hero Member
  • *****
  • Posts: 645
    • My Core wiki user page
dosbox.tcz missing a dep
« on: December 09, 2013, 07:47:15 PM »
I think dosbox.tcz should have sdl-sound.tcz added to its .dep file.
32 bit core4.7.7, Xprogs, Xorg-7.6, wbar, jwm  |  - Testing -
PPR, data persistence through filetool.sh          |  32 bit core 8.0 alpha 1
USB Flash drive, one partition, ext2, grub4dos  | Otherwise similar

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: dosbox.tcz missing a dep
« Reply #1 on: December 09, 2013, 08:09:41 PM »
Why?  DOS does not require sound.

Offline Lee

  • Hero Member
  • *****
  • Posts: 645
    • My Core wiki user page
Re: dosbox.tcz missing a dep
« Reply #2 on: December 10, 2013, 09:22:11 AM »
When I load dosbox.tcz, which nominally depends only on sdl.tcz and libmad.tcz and try to run it from its icon, nothing appears to happen.

When I run dosbox from the command line I get the following message:

Code: [Select]
dosbox: error while loading shared libraries: libSDL_sound-1.0.so.1: cannot open shared object file: No such file or directory

and dosbox exits.

A "provides" search in apps reveals that only sdl-sound.tcz provides the missing file and indeed dosbox works as expected when sdl-sound.tcz is loaded.

All of the above is in Core 4.7.7 and referencing the 4.x repo at tinycorelinux.net.

---

As for DOS not requiring sound, that's the silly part.  I pulled out a nicely organized collection of software that I had packaged up about fifteen years ago (and it was all old even then) and NONE of it uses sound at all (or at least none of it -requires- sound).  Lotus 123, dBASE III Plus, WordPerfect5.1, Clipper development, Turbo C++ development, epsilon, etc.  The whole DOS environment (sans games)... not really what you'd call "sound intensive" stuff.

I remembered running dBASE on a 300 MHz celeron in the late 1990's and thinking how quick it seemed - then I thought hmmm... things are several times faster now -and- I could have the whole mess in RAM.  I had to try it out.
32 bit core4.7.7, Xprogs, Xorg-7.6, wbar, jwm  |  - Testing -
PPR, data persistence through filetool.sh          |  32 bit core 8.0 alpha 1
USB Flash drive, one partition, ext2, grub4dos  | Otherwise similar

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: dosbox.tcz missing a dep
« Reply #3 on: December 10, 2013, 09:44:13 AM »
That makes perfect sense, but is it dosbox or SDL that is missing the dep?

Offline Lee

  • Hero Member
  • *****
  • Posts: 645
    • My Core wiki user page
Re: dosbox.tcz missing a dep
« Reply #4 on: December 10, 2013, 09:48:54 AM »
I'm not sure, but I just did another test, in a vm this time (previously was on real iron) and I had to load libasound, libogg and libvorbis before dosbox would run.

I'll do a base/norestore test in a few minutes and post the results.

Edit:
After rebooting the vm with base and norestore, I had to load X (Xlibs, Xprogs, Xvesa, jwm and wbar) and:
  sdl-sound.tcz
  libasound.tcz
  libogg.tcz
  libvorbis.tcz

I suspect you are right that sdl-sound.tcz, libasound.tcz, libogg.tcz and libvorbis.tcz should be deps od SDL.tcz rather than of dosbox.tcz.
« Last Edit: December 10, 2013, 10:36:05 AM by Lee »
32 bit core4.7.7, Xprogs, Xorg-7.6, wbar, jwm  |  - Testing -
PPR, data persistence through filetool.sh          |  32 bit core 8.0 alpha 1
USB Flash drive, one partition, ext2, grub4dos  | Otherwise similar

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10961
Re: dosbox.tcz missing a dep
« Reply #5 on: December 11, 2013, 06:06:02 AM »
Easy to check. ldd /path/to/libSDL.so and ldd dosbox.
The only barriers that can stop you are the ones you create yourself.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11220
Re: dosbox.tcz missing a dep
« Reply #6 on: December 11, 2013, 09:30:58 AM »

Offline Lee

  • Hero Member
  • *****
  • Posts: 645
    • My Core wiki user page
Re: dosbox.tcz missing a dep
« Reply #7 on: December 11, 2013, 12:53:43 PM »
Well, don't I feel sheepish?  Looks like those 2011 and 2012 brain cells were swapped out some time in 2013.   ::)

Shouldn't dosbox.tcz.dep be updated per maro's post?
32 bit core4.7.7, Xprogs, Xorg-7.6, wbar, jwm  |  - Testing -
PPR, data persistence through filetool.sh          |  32 bit core 8.0 alpha 1
USB Flash drive, one partition, ext2, grub4dos  | Otherwise similar

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11220
Re: dosbox.tcz missing a dep
« Reply #8 on: December 11, 2013, 12:59:36 PM »
Hi Lee
Yeah, well time marches on, memories fade,  .............. what was I talking about again?