On Mon, Jul 02, 2012 at 01:26:36PM -0500, Bruce Dubbs wrote: > I ran into a problem with the configure from libdv. I kept getting an > error that it could not find libXv. I do have it in a non-stahdard > location (/opt/xorg/lib), but it should have been picked up because the > directory is in /etc/ld.so.conf and ldconfig has been run. > > I was able to get it to build and install with: > > sed -i -e "s:-lXv :& -L/opt/xorg/lib:" configure >
My view is that if you put things in /opt you *will* have to change the book's instructions from time to time, at least for *old* packages. > I didn't use --disable-gtk or --disable-xv because I have them both. > Looking at configure, that is gtk+ >= 1.2.4, i.e. gtk+.pc, which I rather doubt you have : I have gtk+-2.0.pc which appear to be ignored by the configure scripts. Interestingly, I first built this package in 2009 and at that time the log when checking for "GTK" reported several 'sh: glib-config not found' messages - I wonder what made them disappear, but it's not worth investigating! > The playdv program was not built. It was looking for linux/videodev.h, > but I only have linux/videodev2.h. It appears that libdv was last > updated in 2006. > > -- Bruce I only build libdv because it is an optional dep for gst-plugins-good. Never even realised it installs *any* programs (I don't usually have the browser occupying the whole height of a desktop, so don't scroll down further than I need to, and maybe I didn't even look at BLFS when I decided to build it). From my logs I can confirm that playdv has never been installed in my builds. Interestingly, I configure it with $./configure --prefix=/usr --enable-static=no I'm sure that can probably be changed to --disable-static. The references to GTK+ seem unnecessary and liable to cause confusion now that gtk+-1 is defunct. OTOH, I would promote xv to recommended - in any event, it *ought* to be listed as some sort of dependency. Google suggests that linux/videodev.h was finally removed in 2.6.35, so it seems rather unlikely that anyone using LFS-7.0 or later will ever build playdv. I can change libdv if this meets approval - will make a change from tearing my hair out to sort out the required kernel config options, and a working sf download url, for something I'm planning to suggest :) ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
