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

Martin Samuelsson <[email protected]> Wed, 4 May 2011 22:43:26 +0200
Newsgroups gmane.comp.video.mjpeg.devel
Message-ID <20110504224326.2aab7744@kvantarell>
On Tue, 03 May 2011 19:59:37 +0200
Bernhard Praschinger <[email protected]> wrote:

> Hallo
> 
> Martin Samuelsson wrote:
> > On Mon, 23 Feb 2009 20:28:40 +0100
> Ok, I hope you don't break down laughing when you read the answer from a
> mail you sent to me more than 2 years ago. ;)

Ah, this old gem! I applaud your hard work stomping it to death!

Unfortunately, I don't have any X-less machine nearby to test the patch, and a waiting-to-happen expansion of the family practically guarantees that I won't be able to test it in the foreseeable future.

Regards,
/Martin

> 
> I try to make my open problems list smaller. I really want to make a 
> release in may this year.
> 
> >> 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.
> I have now added a fix to the CVS that seems to work for me. Things 
> still compile on my computer where X11 is installed. I hope one of you 
> (and any other person is invited too !) has still a machine without X11 
> installed and trys to compile the mjpegtools (latest CVS, because I 
> committed the patch just a few minutes ago.
> 
> >> 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 hope that I have done it right. The -lX11 is now only added if you had 
> SDL installed, and available.
> 
> >>> 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 was very long ago, even at the time you wrote the mail.
> 
> > 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.
> And I didn't search.
> 
> auf hoffentlich bald,
> 
> Berni the Chaos of Woodquarter
> 
> Email: [email protected]
> www: http://www.lysator.liu.se/~gz/bernhard

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd