Tiny Core Linux
Tiny Core Extensions => TCE Talk => Topic started by: ECHOSIDE on October 26, 2013, 11:43:40 PM
-
I'd like to install Dosbox in TC, but I'm not sure if it has a tcz. Up until now, everything I've wanted is available in the App browser. I have also tinkered with tce-load at the command line. Neither of these methods produce results for Dosbox. How can I install this (or any other) program without a *.tcz file?
EDIT: I am running TC 5.0
-
Hi ECHOSIDE
You didn't mention which version of Tinycore you are running. TC4 does have dosbox.tcz available. It is not yet in the
TC5 repository. If you are running TC5, you can fetch dosbox from from the TC4 repository like this:
wget http://www.tinycorelinux.net/4.x/x86/tcz/dosbox.tcz
wget http://www.tinycorelinux.net/4.x/x86/tcz/dosbox.tcz.dep
Copy those files to your tce directory. Use the Apps utility to install its dependencies SDL.tcz.
If dosbox works, please report that to:
http://forum.tinycorelinux.net/index.php/topic,15906.msg95105.html#msg95105
so that it can be copied to the TC5 repository.
-
edit: whoops, I've read dropbox instead of dosbox. Anyway.
Programs and scripts that don't rely on other files not included in tinycore, can easily be stored in ~/.local/bin so they can be saved and can always be executed too.
I also had a program that refused to run from inside the home folder and had to be executed from /usr/bin or /usr/local/bin . I just moved the program files there and included these to my backup via ControlPanel -> Backup/Restore. I wouldn't suggest doing that concerning bigger programs though.
-
I did as you instructed Rich.
When trying to execute Dosbox I now get:
/usr/local/bin/dosbox: error while loading shared libraries: libSDL_sound-1.0.so.1: cannot open shared object file: No such file or directory
I tried downloading and installing SDL2 as well but get the same error.
How can I remedy this?
Thank you
-
Hi ECHOSIDE
/usr/local/bin/dosbox: error while loading shared libraries: libSDL_sound-1.0.so.1: cannot open shared object file: No such file or directory
That would be in sdl-sound.tcz which did not show up in the dependency list. It also is not in the TC5 repository.
Try fetching it from TC4 and try again:
wget http://www.tinycorelinux.net/4.x/x86/tcz/sdl-sound.tcz
-
Hey Rich,
I fetched that file successfully but still receive the same error. Do you have any other ideas?
Thank you
-
Hi ECHOSIDE
After fetching it you either need to load it yourself OR add sdl-sound.tcz to the dosbox.tcz.dep file so that it gets loaded
automatically when dosbox.tcz gets loaded.
-
I added:
sdl-sound.tcz
libSDL_sound-1.0.so.1
/home/tc/sdl-sound.tcz
to dosbox.tcz.dep and still received the same error.
I tried starting sdl-sound manually with tce-run sdl-sound and sdl-sound and receive:
/etc/sysconfig/tcedir/optional/sdl-sound.tcz not found!
Thank you for all your help Rich.
-
You should place the extension into your tcedir, where your other extensions are stored.
-
Ok, I fixed that error by moving sdl-sound.tcz to the correct directory and starting it with
tce-run sdl-sound
. I am now receiving the error:
dosbox: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
I tried starting libpng with tce-run libpng
. The extension appears to start (sh gives no feedback), but the same error occurs.
Does anyone know how to proceed?
Thank you
-
Hi ECHOSIDE
Enter this:
find /usr -name libpng12.so.0
If it does not return a result, use the Apps utility to install libpng.tcz.
-
Core 5 has libpng16.so, not libpng12.so.
Any package that requires libpng12.so needs to be recompiled for Core 5.