[FFmpeg-devel] [PATCH]Allow libspeex detection also without pkg-config

Nicolas George george at nsup.org
Wed Dec 31 16:52:55 CET 2014


Le primidi 11 nivôse, an CCXXIII, Reimar Döffinger a écrit :
> > How is that really a problem? You can just ./configure
> > --prefix=$PWD/install (or wherever you fancy) from the library source
> > directory
> If you do that you end up with an unmaintainable mess where you have all
> the files from all programs you ever installed in that directory.

I believe you have missed the fact that $PWD does not always point to the
same directory.

> Also I'm not arguing it's impossible, I'm arguing it's inconvenient.
> It's something like 2-3 additional steps for each library.

How do you usually install a library? You are very vague about your use
case and usual methods.

In particular, you did not explain what case you want to make simpler:
installing a library properly? using the library from the temporary build
directory to just test something? something else? Any of these cases can be
optimized, but not all the same way.

Anyway, in my administration experience, installing a library properly
requires a good dozen steps beyond make install to get things working
properly without breaking the system; the exact steps depend on what
administration tools are used: create a package, install with symlinks, etc.

Anything you want can be made to work easily with a configure that only uses
pkg-config, you just have to explain accurately enough what you want.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141231/2b3f42f3/attachment.asc>


More information about the ffmpeg-devel mailing list