我正在尝试通过在命令提示符下键入“cpan install FFmpeg”来安装ffmpeg 。我已经安装了 Image::Magick、Image::PBM、Image::Magick::Iterator,据我所知,这是我需要的一些先决条件,但似乎这还不够。这里有一些额外的信息。我收到错误消息:
Note (probably harmless): No library found for -lavcodec
Note (probably harmless): No library found for -lavformat
Note (probably harmless): No library found for -lz
Note (probably harmless): No library found for -ldl
Note (probably harmless): No library found for -lmp3lame
Note (probably harmless): No library found for -logg
Note (probably harmless): No library found for -lvorbis
Note (probably harmless): No library found for -lvorbisenc
In file included from ffmpeg.h:2,
from FFmpeg.xs:16:
./ffmpeg-6036.c:21:22: avformat.h: No such file or directory
./ffmpeg-6036.c:22:21: swscale.h: No such file or directory
./ffmpeg-6036.c:23:23: framehook.h: No such file or directory
./ffmpeg-6036.c:24:21: dsputil.h: No such file or directory
./ffmpeg-6036.c:25:17: opt.h: No such file or directory
./ffmpeg-6036.c:44:21: version.h: No such file or directory
./ffmpeg-6036.c:45:22: cmdutils.h: No such file or directory
我猜我需要安装这些文件并告诉安装程序在哪里可以找到它们。如果这是我需要做的,我该怎么做?