[Mplayer-cvslog] CVS: 0_90 README,1.9,1.10

Diego Biurrun diego at biurrun.de
Sun Jun 1 03:43:33 CEST 2003


On Sat, May 31, 2003 at 06:01:48PM -0400, D Richard Felker III wrote:
> On Sun, Jun 01, 2003 at 12:17:03AM +0200, Diego Biurrun CVS wrote:
> > Modified Files:
> > 	README 
> > Log Message:
> > Kernel headers or glibc headers are necessary for compilation.
> 
> IMO this is very misleading. For one thing, I don't see how having
> either one or the other is supposed to work. They're separate things,
> not interchangable.

I compiled MPlayer today at the LUG on my notebook for the first time in
months and stumbled over /usr/include/linux/errno.h and limits.h.  These
files belong to the glibc development package (at least on Debian and SuSE).

My compile failed because I had moved /usr/include/linux to linux.old and
added a symlink to the includes from my kernel sources.  This also works and
it is not so uncommon IMHO.

Maybe it would be better to just state that kernel headers are an
alternative or assume that if you do these types of hacks you can find out
which packages you need anyway.

> Second, mplayer does NOT require glibc, much less glibc headers, just
> a working compiler and build environment. On a glibc-based system,
> this means glibc headers, but elsewhere it means something completely
> different. Can we please avoid filling the docs with linux-centricism
> like this?

MPlayer is called "a movie player for Linux" after all.  Maybe we should
finally change that to Unix, but Arpi was against it in the past.

Most people use Linux and if you don't you probably know that glibc does not
apply to you.  But I can add that this is Linux specific.

What about this:

- Under Linux you have to install libc6 (glibc) development packages or have
  the kernel headers in your include path.

Diego



More information about the MPlayer-cvslog mailing list