[mythtv-users] 0.27 configure script does not recognize OpenGL
Michael T. Dean
mtdean at thirdcontact.com
Thu Jan 23 20:03:18 UTC 2014
On 01/23/2014 01:00 PM, Thomas Börkel wrote:
> HI!
>
> On 23.01.2014 16:27, Michael T. Dean wrote:
>
>> Does it really prevent any output from pkg-config on yours? What
> Seems so.
>
>> version of pkg-config? It sounds to me like a bug in pkg-config (and
> 0.28, installed Feb 2013 and no newer version available for Gentoo.
>
>> the broken libsasl2.pc, though it should be fixed, is simply triggering
>> the pkg-config bug). The pkg-config command is supposed to do its best
>> to give the information requested, or else the entire development system
>> is broken when /any/ package has a bad pkg-config file (and this happens
>> /far/ more often than most probably realize). That's a terrible design,
>> so I hope it's not an intentional change to pkg-config.
> The file it complains about belongs to cyrus-sasl 2.1.26, installed July
> 2013 and also no newer version available for Gentoo.
Current version of cyrus-sasl is 2.1.25, so this is what you get when
you play with bleeding edge?
>> If that's not the case--if pkg-config now refuses to work unless every
>> single pc file is perfect--we're going to have a lot of people
>> complaining about MythTV breakage when other programs are broken.
> Can I workaround this problem by changing something in configure?
>
No, the proper fix is to fix your libsasl2.pc file.
https://bugs.gentoo.org/show_bug.cgi?id=493840
http://trac.macports.org/ticket/41300
http://comments.gmane.org/gmane.linux.lfs.beyond.support/47628
https://www.mail-archive.com/cygwin@cygwin.com/msg129657.html
and many more...
with various patches, including:
https://493840.bugs.gentoo.org/attachment.cgi?id=365048
http://www.linuxfromscratch.org/patches/blfs/svn/cyrus-sasl-2.1.26-fixes-1.patch
But the fix is easy. *Anyone* can do it with appropriate file system
permissions:
sudoedit usr/lib/pkgconfig/libsasl2.pc
and add in a:
prefix=/usr
exec_prefix=${prefix}
(or whatever happens to be appropriate).
Then, install a functional version of pkg-config that doesn't crash on
slightly broken .pc files. :)
Mike
More information about the mythtv-users
mailing list