WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Installing programs that don't have tcz  (Read 4490 times)

Offline ECHOSIDE

  • Newbie
  • *
  • Posts: 22
    • last.fm page
Installing programs that don't have tcz
« on: October 27, 2013, 02:43:40 AM »
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
« Last Edit: October 27, 2013, 02:02:30 PM by ECHOSIDE »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11619
Re: Installing programs that don't have tcz
« Reply #1 on: October 27, 2013, 12:19:33 PM »
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:
Code: [Select]
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.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Installing programs that don't have tcz
« Reply #2 on: October 27, 2013, 12:47:09 PM »
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.
« Last Edit: October 27, 2013, 12:57:03 PM by Misalf »
Download a copy and keep it handy: Core book ;)

Offline ECHOSIDE

  • Newbie
  • *
  • Posts: 22
    • last.fm page
Re: Installing programs that don't have tcz
« Reply #3 on: October 27, 2013, 02:36:25 PM »
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

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11619
Re: Installing programs that don't have tcz
« Reply #4 on: October 27, 2013, 04:41:23 PM »
Hi ECHOSIDE
Quote
/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:
Code: [Select]
wget http://www.tinycorelinux.net/4.x/x86/tcz/sdl-sound.tcz

Offline ECHOSIDE

  • Newbie
  • *
  • Posts: 22
    • last.fm page
Re: Installing programs that don't have tcz
« Reply #5 on: October 31, 2013, 10:59:50 AM »
Hey Rich,

I fetched that file successfully but still receive the same error. Do you have any other ideas?

Thank you

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11619
Re: Installing programs that don't have tcz
« Reply #6 on: October 31, 2013, 11:50:21 AM »
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.

Offline ECHOSIDE

  • Newbie
  • *
  • Posts: 22
    • last.fm page
Re: Installing programs that don't have tcz
« Reply #7 on: November 03, 2013, 06:54:43 PM »
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.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Installing programs that don't have tcz
« Reply #8 on: November 03, 2013, 08:20:57 PM »
You should place the extension into your tcedir, where your other extensions are stored.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline ECHOSIDE

  • Newbie
  • *
  • Posts: 22
    • last.fm page
Re: Installing programs that don't have tcz
« Reply #9 on: November 12, 2013, 09:51:29 AM »
Ok, I fixed that error by moving sdl-sound.tcz to the correct directory and starting it with
Code: [Select]
tce-run sdl-sound. I am now receiving the error:

Code: [Select]
dosbox: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
I tried starting libpng with
Code: [Select]
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

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11619
Re: Installing programs that don't have tcz
« Reply #10 on: November 12, 2013, 10:43:44 AM »
Hi ECHOSIDE
Enter this:
Code: [Select]
find /usr -name libpng12.so.0If it does not return a result, use the  Apps  utility to install  libpng.tcz.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Installing programs that don't have tcz
« Reply #11 on: November 12, 2013, 11:05:49 AM »
Core 5 has libpng16.so, not libpng12.so.
Any package that requires libpng12.so needs to be recompiled for Core 5.