[FFmpeg-devel] installing shared libraries fails after SVN 12598
Thu Mar 27 23:47:37 CET 2008
On Thu, 2008-03-27 at 18:37 +0100, Yohann Martineau wrote:
> On Thu, Mar 27, 2008 at 6:03 PM, Mike Melanson <mike at multimedia.cx> wrote:
> > Is there a good way to test this automatically? Can the libs be
> > installed in a local directory so as not to require root permissions?
> if you're using debian, add your user to staff group, thus you don't need to
> be root to install files in /usr/local.
However FFmpeg fails to install on current Debian because it tries to
create the installation directory with 'install -d'. If you run 'make
install' as non-root then 'install -d /usr/local/bin' fails because you
cannot change the permissions of that directory. If you run 'make
install' as root then the installation itself will work but it will
break the permissions of /usr/local/bin so that it's no longer writable
by group staff.
Reportedly some older versions of the install binary behave differently
and do not set permissions of already existing directories. Autotools
uses 'mkdir -p' to create directories which works fine.
More information about the ffmpeg-devel