Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: cosmin_ap on May 10, 2011, 03:16:21 AM
-
Hi. I noticed that php5 needs libpng to run but libpng is not listed as dependency, eg. try
tce-audit dependson php5 |grep png
-
As expected, being shipped with TC base.
-
I don't have it in microcore. Is that different than tinycore?
-
It's in Xlibs.tcz
microcore + Xlibs + Xprogs + flwm + wbar = tinycore
-
Sorry I wasn't explicit before: I have microcore, and after tce-load -wi php5, if you run php it gives the error that it doesn't find libpng12. Shouldn't therefore libpng be listed as a dependency of php5? I'm not sure I understand the answer that "it ships with TC base", but I don't have libpng in the base microcore install. I have to install it with tce-load -wi libpng.
-
I'm not sure I understand the answer that "it ships with TC base"
It is included in Tiny Core base.
-
Ok, I finally got it :) It's in Xlibs.tcz which is in tinycore but not in microcore. So what do you think, should it be added as a dep. so that it works with microcore too out of the box?
-
No.
This subject has been discussed to death already in several threads in this forum.
Until you understand you may be better off to use TC instead of MC if you want to rely on any graphics stuff.
-
In the short term, this info should be added to the php5 info file.
See if someone can come up with a way of installing it when using microcore, but not when using Tiny Core. It actually only needs to be installed when microcore is installed but not Xlibs.
If you include other similar situations, that is, install something in one situation and not in another, it is not easy, as there are many different things to take into consideration.
In the long term, that would be a good solution. But it is not straight forward.
-
I don't want any graphics stuff but php doesn't start without it.
First I want to understand this: is it expected that a program (any program) in tinycore or microcore be able to start out of the box, i.e. should I report it as a bug at all when it doesn't, or is it more complicated than that?
Can you give me some search terms to find out these beaten threads please? I'm new to tinycore and trying to scan the threads as fast as I can :)
-
First I want to understand this: is it expected that a program (any program) in tinycore or microcore be able to start out of the box
In brief: with MC not necessarily.
http://forum.tinycorelinux.net/index.php?topic=7314.0
http://forum.tinycorelinux.net/index.php?topic=8977.0
-
Alright, thanks for the links. I won't report missing dependencies regarding MC then. Sorry for the noise.
-
I think it is important that this is added to the info file.
Where a similar thing happens with other extensions, it should be added to the info file.