WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Problems using Tiny Core Linux.  (Read 1857 times)

Offline fer33

  • Newbie
  • *
  • Posts: 1
Problems using Tiny Core Linux.
« on: June 28, 2021, 09:45:42 PM »
Whenever I try to compile and install a utility or package, dependencies are missing. When I try to install a dependency of a dependency, dependencies are missing. When I try to install a dependency of a dependency of a dependency, dependencies are missing and so on. Tcz does not supply all dependencies. Is there any software that solves (even in source code) absolutely all dependencies, whether or not they are installed?
Thanks a lot.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11629
Re: Problems using Tiny Core Linux.
« Reply #1 on: June 28, 2021, 11:05:49 PM »
Hi fer33
Welcome to the forum.

When building a package, the site you download the source from should list the build dependencies.
Check the tinycore repository for which ones are available. They are labeled as  ExtensionName-dev.tcz.
Download them using either the  Apps  utility or the  tce-load  command. Those resolve dependencies for the downloads.
Dependencies not available in the repository you will need to compile and track down and build their dependencies.

... Is there any software that solves (even in source code) absolutely all dependencies, whether or not they are installed?
Not that I'm aware of. Maybe someone else knows something.

Offline CNK

  • Wiki Author
  • Sr. Member
  • *****
  • Posts: 283
Re: Problems using Tiny Core Linux.
« Reply #2 on: June 29, 2021, 09:50:22 PM »
In the past I've found it useful to browse the web view of the Debian package archive which shows the dependencies for each package. However some dependencies that the Debian package for a program uses may be optional.

Looking for an automated approach to that I see that "apt-rdepends -b" (run on a Debian system, man page) basically does what you want. Assuming of course that there's a Debian package for whatever you're building. Playing with it now, I think "too much info" may be a problem.

Apt-file in Debian can also be useful if you get a "xxx.h not found" type error while building something, and it's not clear which project xxx.h is a part of (the provides function in the TCE browsers does the same thing).