Compilation m3u8分段器未编译

Compilation m3u8分段器未编译,compilation,ffmpeg,m3u,Compilation,Ffmpeg,M3u,我的所有依赖项都已就绪,包括FFMPEG、PKG_PROG等,但我遇到了这些错误,并且不知所措。有什么想法吗?我已经在Mac OSX 10.8上成功编译了这段代码,但我以前确实遇到过这个错误。我所做的是去那些行号,并注释掉那些支票。我相信它所做的只是对FFMPEG、avformat等进行一些验证,如果您按照说明进行,这些验证应该已经完成了。然后我重新运行了./configure和make。最后的二进制代码非常有用。没有问题。除此之外,从头开始重新启动步骤,但跳过aclocal、automake等

我的所有依赖项都已就绪,包括FFMPEG、PKG_PROG等,但我遇到了这些错误,并且不知所措。有什么想法吗?

我已经在Mac OSX 10.8上成功编译了这段代码,但我以前确实遇到过这个错误。我所做的是去那些行号,并注释掉那些支票。我相信它所做的只是对FFMPEG、avformat等进行一些验证,如果您按照说明进行,这些验证应该已经完成了。然后我重新运行了./configure和make。最后的二进制代码非常有用。没有问题。除此之外,从头开始重新启动步骤,但跳过aclocal、automake等。然后运行./configure。这对我也很有效,二进制代码运行良好。我一直在努力开发分节器,没有任何问题,但这是在MacOSX10.8上实现的。祝你好运

我已经在Mac OSX 10.8上成功编译了这段代码,但我以前确实遇到过这个错误。我所做的是去那些行号,并注释掉那些支票。我相信它所做的只是对FFMPEG、avformat等进行一些验证,如果您按照说明进行,这些验证应该已经完成了。然后我重新运行了./configure和make。最后的二进制代码非常有用。没有问题。除此之外,从头开始重新启动步骤,但跳过aclocal、automake等。然后运行./configure。这对我也很有效,二进制代码运行良好。我一直在努力开发分节器,没有任何问题,但这是在MacOSX10.8上实现的。祝你好运

您是否按照所示的说明进行了操作?是的。我就是从那里弄来的。你按照图示的说明做了吗?是的。我就是从那里得到的。
root@ip-**-**-**-**:/home/jeff/m3u8-segmenter# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for sys/types.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for memmove... yes
checking for memset... yes
checking for strrchr... yes
checking for strtol... yes
./configure: line 4160: PKG_PROG: command not found
./configure: line 4161: syntax error near unexpected token `FFMPEG,'
./configure: line 4161: `PKG_CHECK_MODULES(FFMPEG, libavformat libavcodec libavutil)'