Re: v1.9.0 compilation fails due to X11 dependency on Linux with V4L

Martin Samuelsson <[email protected]> Mon, 23 Feb 2009 20:51:04 +0100
Newsgroups gmane.comp.video.mjpeg.devel
Message-ID <[email protected]>
On Mon, 23 Feb 2009 20:28:40 +0100
Bernhard Praschinger <[email protected]> wrote:

> Hallo
> 
> Stuart Hickinbottom wrote:
> > I'm reporting this in response to a Gentoo Linux bug I've filed
> > (http://bugs.gentoo.org/show_bug.cgi?id=217427#c11).
> [...]
> > On a headless (no X11) Linux server that has V4L, the compilation of
> > 1.9.0 fails as follows:
> I haven't seen a X11 less Linux for quite some time. All my machines 
> (regular an virtual have X11)

They do exist. The last time I encountered this, I had the disk space to spare for a set of X devel files, but at other times, I've removed the offending flag manually.

> Can you compile the mjpegtools when you remove the -lX11 from the 
> lavtools/Makefile.am on the machine you have without X11 ? And do the
> work ?

That usually does the trick.

> > I've searched the SourceForge bug tracker and this list but couldn't
> > find a similar report - apologies if this is a dupe.
> No problem, I don't remember that this has been discussed some time ago.

You just don't remember it. :)

http://osdir.com/ml/video.mjpeg.devel/2004-03/msg00012.html

That flag has a tendency to creep back in at every release. :) I'm pretty sure I've reported it at som time, too, but Google doesn't tell.

Regards,
/Sam

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H