On 2014/10/24 18:27, Andrew Grillet wrote: > Hi > > I have a fresh install of 5.5 on a Sun V100. I am attempting to install the > Mediatomb package. It fails due to numerous dependency issues. > > I am quite sure some of these are due to over-specifying the dependency > - ie claims to require an older version, when the new one would work fine -
Are you sure you're installing the correct package for the OS version that you're using, and not e.g. mixing 5.5 and snapshots? The output from pkg_add would give more clues. > but many others are due to dependency on X11 related stuff (X11 itself, > Xau, Xrandr, Xrender, etc). > > As my hardware is headless, and Mediatomb is configured remotely via a web > interface, I don't see why this stuff should be required. It simply isn't sanely possible to split the packages up like that, some things which are a part of xbase are *very* commonly used, and having "X" and "no X" versions of things which are dependencies of other ports is very hard to work with in the ports tree. Simple fix: just install xbase. > If it is, then surely there should be a part of the install process that > says "you dont have the necessary hardware to install this package" and if > not, there should be the option to install without any GUI related software. > > While part of the dependency stuff is a "bug report", the issue of > requiring X related software for programs that don't need it, to run on > hardware that does not support it, is not really a bug, and is not a new > problem (I am sure I have moaned about this more than once in the last 10 > years). I think there should be a standard solution to this problem, > probably involving a flag that says "HEADLESS=YES" in a config file > somewhere, which is set early in the install process - perhaps > automatically on finding no graphics card installed. > > regards > > Andrew mediatomb is not exactly lightweight, as well as the X dependencies it also has spidermonkey (mozilla js engine) and various others. minidlna might be better suited to the hardware, though still depends on ffmpeg so again X libs.
