[Ffmpeg-devel] Bug in libavutil Makefile (or maybe just mystupidity? Be gentle...)

Alexander Strasser eclipse7
Thu Feb 9 20:52:03 CET 2006


hi,

Diego Biurrun wrote:
> On Wed, Feb 08, 2006 at 10:53:12PM +0100, Alexander Strasser wrote:
> > 
> > Michel Bardiaux wrote:
> > > 
> > > Test 2, static libs.
> > > 
> > > make distclean
> > > ./configure  --enable-static --disable-shared --disable-strip 
> > > --enable-memalign-hac
> > > make
> > > make install
> > > 
> > > Compiles OK, but installs only ffmpeg.exe (not the libs, not the 
> > > headers) and same problem running the ffmpeg.exe.
> > 
> >   That is normal behaviour iirc, static libs are not installed
> > by default. You should be able to install them with the installib
> > target as the Wanderer pointed out already.
> 
> OK, but what about the headers?  Should the headers be installed for the
> static lib version or not?

  IMHO the headers should be installed, else it would have little use.
This is also the current situation.
  The other problem is what make install should do, current situation
is as follows:

  static libs only build
    -> install only the statically linked ff* binaries
       without libs and headers
    
  shared libs only build
    -> install the dynamically linked ff* binaries
       and of course the shared libs
       but also install the headers

  static and shared libs build
    -> install ff* binaries (if they are statically linked or
       dynamically is dependent on the linkers decision)
       and the headers and shared libs


  So the current situation does, more or less works for what most users
somehow have in mind when building the static or shared versions of libav
and ffmpeg binaries. Also it is not really logical and maybe also not
really documented(i didn't check).

  I vote for postponing changes if needed to after the planned release.

  Alex (beastd)





More information about the ffmpeg-devel mailing list