On 26.08.2021 06:34, "zhilizhao(赵志立)" wrote:
I tried try `make install` on my machine and I got:
    install: cannot create regular file '/usr/local/share/man/man1/ffmpeg.1': 
Permission denied
    install: cannot create regular file '/usr/local/share/man/man1/ffprobe.1': 
Permission denied
    install: cannot create regular file 
'/usr/local/share/man/man1/ffmpeg-all.1': Permission denied
    install: cannot create regular file 
'/usr/local/share/man/man1/ffprobe-all.1': Permission denied
    install: cannot create regular file 
'/usr/local/share/man/man1/ffmpeg-utils.1': Permission denied
    install: cannot create regular file 
'/usr/local/share/man/man1/ffmpeg-scaler.1': Permission denied
    install: cannot create regular file 
'/usr/local/share/man/man1/ffmpeg-resampler.1': Permission denied
    install: cannot create regular file 
'/usr/local/share/man/man1/ffmpeg-codecs.1': Permission denied
    install: cannot create regular file 
'/usr/local/share/man/man1/ffmpeg-bitstream-filters.1': Permission denied
    install: cannot create regular file 
'/usr/local/share/man/man1/ffmpeg-formats.1': Permission denied
    install: cannot create regular file 
'/usr/local/share/man/man1/ffmpeg-protocols.1': Permission denied
    install: cannot create regular file 
'/usr/local/share/man/man1/ffmpeg-devices.1': Permission denied
    install: cannot create regular file 
'/usr/local/share/man/man1/ffmpeg-filters.1': Permission denied
    make: *** [doc/Makefile:126: install-man] Error 1

By doing `sudo make install` it fixs the problem. User are not on root all the 
time.

Nope. sudo is unnecessary or unavailable on some platform. You can install it 
to other
directories without the need of root permission. Most importantly, sudo is a 
dangerous
advice for novice. On the other hand, for anyone who already know what sudo is 
he/she
doesn’t need such advice.

I'd even go so far to say that recommending sudo is outright dangerous. Installing an incompatible version of libav* into the system can break a whole lot of things.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to