[FFmpeg-devel] [PATCH]Do not require pkg-config for libx265

Michael Niedermayer michaelni at gmx.at
Mon May 26 15:33:24 CEST 2014


On Mon, May 26, 2014 at 02:51:17PM +0200, Clément Bœsch wrote:
> On Mon, May 26, 2014 at 02:46:26PM +0200, Michael Niedermayer wrote:
> > On Mon, May 26, 2014 at 02:42:45PM +0200, Clément Bœsch wrote:
> > > On Mon, May 26, 2014 at 02:38:27PM +0200, Michael Niedermayer wrote:
> > > > On Mon, May 26, 2014 at 12:46:58PM +0200, Carl Eugen Hoyos wrote:
> > > > > On Monday 26 May 2014 12:22:03 pm Clément Bœsch wrote:
> > > > > > So well, it's all about:
> > > > > 
> > > > > Yes;-)
> > > > > 
> > > > > >   PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure --enable-foobar
> > > > > >
> > > > > > vs:
> > > > > >
> > > > > >   ./configure --extra-cflags='-I/usr/local/include'
> > > > > > --extra-ldflags='-L/usr/local/lib' --enable-foobar
> > > > > >
> > > > > > I'm not sure how "more difficult" the first one is over the second one.
> > > > 
> > > > maybe its just me but
> > > > on an average user system i would expect
> > > > ./configure --enable-foobar
> > > > to work
> > > > /usr/local is not a "non standard" place to put stuff
> > > > 
> > > 
> > >   pkg-config  retrieves  information about packages from special metadata
> > >   files. These files are named after the package, and has  a  .pc  exten‐
> > >   sion.    On  most  systems,  pkg-config  looks  in  /usr/lib/pkgconfig,
> > >   /usr/share/pkgconfig,           /usr/local/lib/pkgconfig            and
> > >   /usr/local/share/pkgconfig  for these files.  It will additionally look
> > >   in the colon-separated (on Windows, semicolon-separated) list of direc‐
> > >   tories specified by the PKG_CONFIG_PATH environment variable.
> > > 
> > > So if the lib is installed in /usr/local the PKG_CONFIG_PATH configuration will
> > > not be necessary unless you want to prioritize one in /usr/local over one on
> > > /usr (for example) .
> > > 
> > > ...and thus it will add the cflags/ldflags necessary.
> > 
> > hmm, why did the quote above show that its needed then ?
> > iam misunderstanding something here
> > 
> 
> It says it will look in /usr/local most of the time unless I'm mistaken.
> What's the misunderstanding here?

the "most of the time" or why does it not work ...
do we have a bug here that we could fix ?

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140526/0baa80ad/attachment.asc>


More information about the ffmpeg-devel mailing list