On Sat, Oct 25, 2014 at 3:30 AM, Andrew Grillet <[email protected]> wrote: > Hi Stuart, > > I am quite sure I am not using the snapshot. However, it is not too easy to > capture the O/P > from the machine where I was doing the install using a dumb terminal (no > networking > at the time). > > I understand that having a separate headless version is a major change for > the whole > of ports/packages. However, given that the majority of OBSD installations > are probably > headless servers, I think is should be seriously considered. As it is, > Mediatomb is not the only > offender. Samba requires Cups (I dont have a printer in the server closet), > and Cups requires > Xbase too (WTF).
You don't need a running X server, just install x*.tgz packages, it pretty sure it's documented somewhere in the ports faq... > I had no idea what Spidermonkey was, and will look into minidlna. I have > had Mediatomb > working on my desktop for a couple of years, but the desktop is often > turned off, and now > others use the Mediatomb, I thought it might go on one of my (just upgraded > to 5.5) OBSD servers > that run 24/7. > > Generally, I am morally opposed to all this "lets just depend on everything > on the planet" approach > to life because we get the problem of large numbers of simple things > depending on different > versions of irrelevant software, which could be avoided just by considering > whether the relationship > is really one of dependency or really one of optional requirement. So, yes > it is partly rant and partly > crusade. But my intention is to improve OBSD, rather than go down the > slippery slope to the depths > of hell like certain OSes we could name. > > I will concede defeat on Xbase for now, and try Mediatomb again. I will try > to capture any problems > with script as the machine is now live on the network. > > But if this (needless Xbase dependency) is not addressed before I die, I > promise to haunt someone ;-} > (And you can quote me on that!) > > Andrew > > > > On 24 October 2014 20:47, Stuart Henderson <[email protected]> wrote: > >> 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. >> >> >>
