gpt4 book ai didi

compilation - m3u8-segmenter 未编译

转载 作者:行者123 更新时间:2023-12-04 23:05:09 25 4
gpt4 key购买 nike

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)'

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

最佳答案

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

关于compilation - m3u8-segmenter 未编译,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12646604/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com