gstreamer源码编译安装问题集合

Overview 问题列表

使用meson和ninja进行编译的版本(新版)

1. meson.build:617:9: ERROR: lexer

~/gst/gstreamer$ meson build
The Meson build system
Version: 0.45.1
Source dir: /home/zbc/gst/gstreamer
Build dir: /home/zbc/gst/gstreamer/build
Build type: native build

meson.build:617:9: ERROR: lexer
  summary({'Plugins':plugin_names}, list_sep: ', ')
         ^

A full log can be found at /home/zbc/gst/gstreamer/build/meson-logs/meson-log.txt

解决
apt安装的meson是0.45.1的版本比较旧,安装最新版本即可
使用pip安装最新版本(方法一)

python3 -m pip install meson

或者源码安装最新版本的meson(方法二)

git clone https://github.com/mesonbuild/meson.git
cd meson 
git checkout 0.57
python3 setup.py install --root=dest
sudo cp -rv dest/* /
# 重启机器后查看版本号
meson --version   # 版本变成0.57.2的了

2. meson.build:482:0: ERROR: Neither a subproject directory nor a glib.wrap file was found.

Library gmp found: NO
Library gsl found: NO
Library gslcblas found: NO
Library dl found: YES
Checking for function "dladdr" with dependency -ldl: YES
Run-time dependency glib-2.0 found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency glib-2.0

meson.build:482:0: ERROR: Neither a subproject directory nor a glib.wrap file was found.

A full log can be found at /home/zbc/gst/gstreamer/build/meson-logs/meson-log.txt

解决

sudo apt install libglib2.0-dev 

3. gst/parse/meson.build:7:0: ERROR: Program ‘flex win_flex’ not found

Library gmp found: NO
Library gsl found: NO
Library gslcblas found: NO
Library dl found: YES
Checking for function "dladdr" with dependency -ldl: YES
Run-time dependency glib-2.0 found: YES 2.56.4
Run-time dependency gobject-2.0 found: YES 2.56.4
Run-time dependency gmodule-2.0 found: YES 2.56.4
Run-time dependency gio-2.0 found: YES 2.56.4
Run-time dependency gio-unix-2.0 found: YES 2.56.4
Library m found: YES
Library rt found: YES
Program g-ir-scanner found: NO
Program python3 found: YES (/usr/bin/python3)
Run-time dependency bash-completion found: YES 2.8
Configuring gstconfig.h using configuration
Configuring gstversion.h using configuration
Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
Program flex win_flex found: NO

gst/parse/meson.build:7:0: ERROR: Program 'flex win_flex' not found

A full log can be found at /home/zbc/gst/gstreamer/build/meson-logs/meson-log.txt

解决

sudo apt install flex

4. gst/parse/meson.build:34:0: ERROR: Program ‘bison win_bison’ not found

Configuring gen_lex.py using configuration
Program bison win_bison found: NO

gst/parse/meson.build:34:0: ERROR: Program 'bison win_bison' not found

A full log can be found at /home/zbc/gst/gstreamer/build/meson-logs/meson-log.txt

解决

sudo apt install bison

5. ./autogen.sh: 11: ./autogen.sh: autoreconf: not found


Note: checking out 'orc-0.4.24'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 1a3af3c Release 0.4.24
./autogen.sh: 11: ./autogen.sh: autoreconf: not found

解决:

sudo apt install autoconf

6. configure.ac:71: error: possibly undefined macro: AC_CHECK_LIBM

configure.ac:71: error: possibly undefined macro: AC_CHECK_LIBM
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
checking nano version... 0 (release)
configure: error: cannot run /bin/bash ./../../config.sub

解决:

sudo apt install libtool

7. meson.build:79:0: ERROR: Dependency “libva” not found, tried pkgconfig

Build type: native build
Project name: gstreamer-vaapi
Project version: 1.19.1
C compiler for the host machine: cc (gcc 7.5.0 "cc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0")
C linker for the host machine: cc ld.bfd 2.30
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports link arguments -Wl,-Bsymbolic-functions: YES
Compiler for C supports arguments -fvisibility=hidden: YES
Compiler for C supports arguments -fno-strict-aliasing: YES
Library m found: YES
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Run-time dependency gstreamer-1.0 found: YES 1.19.1
Run-time dependency gstreamer-base-1.0 found: YES 1.19.1
Run-time dependency gstreamer-pbutils-1.0 found: YES 1.19.1
Run-time dependency gstreamer-allocators-1.0 found: YES 1.19.1
Run-time dependency gstreamer-video-1.0 found: YES 1.19.1
Run-time dependency gstreamer-codecparsers-1.0 found: YES 1.19.1
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency gstreamer-gl-1.0 found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency gstreamer-gl-1.0
Neither a subproject directory nor a gst-plugins-base.wrap file was found.
Subproject  gst-plugins-base is buildable: NO (disabling)
Dependency gstreamer-gl-1.0 from subproject subprojects/gst-plugins-base found: NO (subproject failed to configure)
Header <gst/gstconfig.h> has symbol "GST_DISABLE_GST_DEBUG" with dependency gstreamer-1.0: NO
Message: GStreamer debug system is enabled
Run-time dependency gmodule-2.0 found: YES 2.56.4
Run-time dependency libva found: NO (tried pkgconfig)

meson.build:79:0: ERROR: Dependency "libva" not found, tried pkgconfig

A full log can be found at /home/zbc/gst/gstreamer-vaapi/build/meson-logs/meson-log.txt

解决:

sudo apt install libva-dev

使用autogen.sh/make进行编译的版本(旧版)

1 ./autogen.sh: 108: ./autogen.sh: autopoint: not found

+ check for build tools
  checking for autoreconf ...
not found! Please install the autoconf package.

解决

sudo apt install autoconf

2 not found! Please install pkg-config.

Processing triggers for libc-bin (2.27-3ubuntu1.2) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
zbc@ubuntu:~/gst/gstreamer$ ./autogen.sh
+ check for build tools
  checking for autoreconf ...
/usr/bin/autoreconf
  checking for pkg-config ...
not found! Please install pkg-config.

解决

sudo apt install pkg-config

3 ./autogen.sh: 108: ./autogen.sh: autopoint: not found

~/gst/gstreamer$ ./autogen.sh
+ check for build tools
  checking for autoreconf ...
/usr/bin/autoreconf
  checking for pkg-config ...
/usr/bin/pkg-config
+ checking for autogen.sh options
  This autogen script will automatically run ./configure as:
  ./configure --enable-maintainer-mode --enable-gtk-doc --enable-failing-tests --enable-poisoning
  To pass any additional options, please specify them on the ./autogen.sh
  command line.
+ running autopoint --force...
./autogen.sh: 108: ./autogen.sh: autopoint: not found

autopoint failed

解决

sudo apt install autopoint

4 gst/Makefile.am:1: error: Libtool library used but ‘LIBTOOL’ is undefined

libs/gst/controller/Makefile.am:1:   its definition is in aclocal's search path.
libs/gst/net/Makefile.am:1: error: Libtool library used but 'LIBTOOL' is undefin                                                                                                                               ed
libs/gst/net/Makefile.am:1:   The usual way to define 'LIBTOOL' is to add 'LT_IN                                                                                                                               IT'
libs/gst/net/Makefile.am:1:   to 'configure.ac' and run 'aclocal' and 'autoconf'                                                                                                                                again.
libs/gst/net/Makefile.am:1:   If 'LT_INIT' is in 'configure.ac', make sure
libs/gst/net/Makefile.am:1:   its definition is in aclocal's search path.
plugins/elements/Makefile.am:2: error: Libtool library used but 'LIBTOOL' is und                                                                                                                               efined
plugins/elements/Makefile.am:2:   The usual way to define 'LIBTOOL' is to add 'L                                                                                                                               T_INIT'
plugins/elements/Makefile.am:2:   to 'configure.ac' and run 'aclocal' and 'autoc                                                                                                                               onf' again.
plugins/elements/Makefile.am:2:   If 'LT_INIT' is in 'configure.ac', make sure
plugins/elements/Makefile.am:2:   its definition is in aclocal's search path.
plugins/tracers/Makefile.am:2: error: Libtool library used but 'LIBTOOL' is unde                                                                                                                               fined
plugins/tracers/Makefile.am:2:   The usual way to define 'LIBTOOL' is to add 'LT                                                                                                                               _INIT'
plugins/tracers/Makefile.am:2:   to 'configure.ac' and run 'aclocal' and 'autoco                                                                                                                               nf' again.
plugins/tracers/Makefile.am:2:   If 'LT_INIT' is in 'configure.ac', make sure
plugins/tracers/Makefile.am:2:   its definition is in aclocal's search path.
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1

解决

sudo apt install libtool

5 configure: error: Could not find bison

configure: working c++ compiler found: yes
checking for perl... /usr/bin/perl
checking for bison... no
configure: error: Could not find bison
  configure failed

解决

sudo apt install bison

6 configure: error: Could not find flex

checking for flex... no
configure: error: Could not find flex
  configure failed

解决

sudo apt install flex

7 configure: error: You need to have gtk-doc >= 1.12 installed to build GStreamer

checking flex version flex 2.6.4 >= 2.5.31... yes
checking for valgrind... no
checking for gobject-introspection... no
checking for gtkdoc-check... no
checking for gtkdoc-rebase... no
checking for gtkdoc-mkpdf... no
configure: error: You need to have gtk-doc >= 1.12 installed to build GStreamer
  configure failed

解决

sudo apt install gtk-doc-tools

8 checking for GTKDOC_DEPS… configure: error: Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met:

checking for valgrind... no
checking for gobject-introspection... no
checking for gtkdoc-check... /usr/bin/gtkdoc-check
checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
checking for GTKDOC_DEPS... configure: error: Package requirements (glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0) were not met:

No package 'glib-2.0' found
No package 'gobject-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

  configure failed

解决

sudo apt install libglib2.0-dev 

9 …/…/gst-libs/gst/gl/gl.h:25:10: fatal error: gst/gl/gl-enumtypes.h: No such file or directory

make[3]: Entering directory '/home/zbc/gst/gst-plugins-base/docs/libs'
  DOC   Scanning header files
  DOC   Introspecting gobjects
In file included from gst-plugins-base-libs-scan.c:14:0:
../../gst-libs/gst/gl/gl.h:25:10: fatal error: gst/gl/gl-enumtypes.h: No such file or directory
 #include <gst/gl/gl-enumtypes.h>
          ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
WARNING:root:Compiling scanner failed: 1, command: /bin/bash ../../libtool --tag=CC --mode=compile gcc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -I../../gst-libs -I../../gst-libs -pthread -I/usr/local/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -c -o gst-plugins-base-libs-scan.lo gst-plugins-base-libs-scan.c
Makefile:970: recipe for target 'scan-build.stamp' failed
make[3]: *** [scan-build.stamp] Error 1
make[3]: Leaving directory '/home/zbc/gst/gst-plugins-base/docs/libs'
Makefile:622: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/zbc/gst/gst-plugins-base/docs'
Makefile:731: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/zbc/gst/gst-plugins-base'
Makefile:662: recipe for target 'all' failed
make: *** [all] Error 2

解决
使用 ./configure 代替 ./autogen.sh,如果 ./configure 不存在先执行一次autogen.sh会自动生成configure

 ./configure 

10 configure: *** Orc acceleration disabled. Requires Orc >= 0.4.24, which was

configure: *** Plug-ins without external dependencies that will be built:
        adder
        app
        audioconvert
        audiomixer
        audiorate
        audioresample
        audiotestsrc
        compositor
        encoding
        gio
        overlaycomposition
        playback
        rawparse
        subparse
        tcp
        typefind
        videoconvert
        videorate
        videoscale
        videotestsrc
        volume

configure: *** Plug-ins without external dependencies that will NOT be built:

configure: *** Plug-ins that have NOT been ported:

configure: *** Plug-ins with dependencies that will be built:

configure: *** Plug-ins with dependencies that will NOT be built:

        alsa
        cdparanoia
        gl
        ivorbisdec
        libvisual
        ogg
        opus
        pango
        theora
        vorbis
        ximagesink
        xvimagesink

configure: *** Orc acceleration disabled.  Requires Orc >= 0.4.24, which was
               not found.  Slower code paths will be used.

解决
解译安装orc

git clone https://gitlab.freedesktop.org/gstreamer/orc.git
cd orc
git checkout orc-0.4.28
./autogen.sh  # or ./configure
make -j4
sudo make install

11 orcrules-neon.c:19:25: error: ‘orc_neon_constants’ defined but not used [-Werror=unused-const-variable=]

fPIC -DPIC -o .libs/liborc_0.6_la-orcrules-neon.o
orcrules-neon.c:19:25: error: ‘orc_neon_constants’ defined but not used [-Werror=unused-const-variable=]
 static const orc_uint32 orc_neon_constants[][4] = {
                         ^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Makefile:912: recipe for target 'liborc_0.6_la-orcrules-neon.lo' failed
make[2]: *** [liborc_0.6_la-orcrules-neon.lo] Error 1
make[2]: Leaving directory '/home/zbc/gst/orc/orc'
Makefile:505: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/zbc/gst/orc'
Makefile:391: recipe for target 'all' failed
make: *** [all] Error 2

解决
打开~/gst/orc/orc/Makefile注释-Werror所在行,或者处理掉所有警告(如,删除源码中定义了但未使用的orc_neon_constants)

-Werror 视警告为错误;出现任何警告即放弃编译.

# vi ./orc/Makefile 
# ERROR_CFLAGS = -Werror

# note: 是./orc/Makefile,不是当前目录下的Makefile
sed -i 's/ERROR_CFLAGS = -Werror/# ERROR_CFLAGS = -Werror/' ./orc/Makefile 

12 /bin/bash: gtkdoc-mktmpl: command not found

  DOC   Preparing build
  DOC   Scanning header files
  DOC   Introspecting gobjects
  DOC   Rebuilding template files
/bin/bash: gtkdoc-mktmpl: command not found
Makefile:714: recipe for target 'tmpl-build.stamp' failed
make[3]: *** [tmpl-build.stamp] Error 127
make[3]: Leaving directory '/home/zbc/gst/orc/doc'
Makefile:450: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/zbc/gst/orc/doc'
Makefile:515: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/zbc/gst/orc'
Makefile:401: recipe for target 'all' failed
make: *** [all] Error 2

gtk-doc-tools已经安装还是报错

解决
使用./configure代替./autogen.sh

./configure

13 checking for OPENSSL… configure: error: Package requirements (openssl) were not met:

configure: *** for plug-ins: hls ***
checking for NETTLE... no
checking for libgcrypt-config... no
checking for LIBGCRYPT - version >= 1.2.0... no
checking for OPENSSL... configure: error: Package requirements (openssl) were no                                                                                                                               t met:

No package 'openssl' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables OPENSSL_CFLAGS
and OPENSSL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

  configure failed

解决

sudo apt install libssl-dev

14 checking for LIBVA… configure: error: Package requirements (libva >= 0.39.0 libva != 0.99.0) were not met:

checking for GST_CODEC_PARSERS... yes
checking for GST_GL... no
configure: WARNING: GStreamer/GL helper libraries not found, disabling EGL support
checking for DRM... no
checking for X11... no
checking for GL... no
checking for GLES2... no
checking for GLES3... no
checking for WAYLAND... no
checking for LIBVA... configure: error: Package requirements (libva >= 0.39.0 libva != 0.99.0) were not met:

No package 'libva' found
No package 'libva' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBVA_CFLAGS
and LIBVA_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

  configure failed

解决

sudo apt install libva-dev

15 configure: error: No renderer is enabled

configure: set ERROR_CFLAGS to
checking to see if compiler understands -fno-strict-aliasing... yes
configure: error: No renderer is enabled
  configure failed

解决

sudo apt install libgtk2.0-dev

16 unexpected liborc library version 0.4.25 is being picked up by /usr/local/bin/orcc, which is version 0.4.28.

  CC       libgstfft_1.0_la-gstfft.lo
  GEN      tag-enumtypes.c
make[4]: Entering directory '/home/zbc/gst/gst-plugins-base/gst-libs/gst/app'
  ORCC   tmp-orc.c
WARNING: unexpected liborc library version 0.4.25 is being picked up by /usr/local/bin/orcc, which is version 0.4.28. This might be because orc was installed from source and is also installed via packages, and liborc from the wrong prefix is used. Check your system setup.
Makefile:1524: recipe for target 'tmp-orc.c' failed
make[4]: *** [tmp-orc.c] Error 1
make[4]: Leaving directory '/home/zbc/gst/gst-plugins-base/gst-libs/gst/video'
Makefile:935: recipe for target 'video' failed
make[3]: *** [video] Error 2
make[3]: *** Waiting for unfinished jobs....
  GEN      app-enumtypes.c
  GEN      app-enumtypes.h
  GEN      tag-enumtypes.h
  CC       libgstfft_1.0_la-gstffts16.lo
make  all-am
make[5]: Entering directory '/home/zbc/gst/gst-plugins-base/gst-libs/gst/app'
make  all-am
  CC       libgstapp_1.0_la-gstappsrc.lo
make[5]: Entering directory '/home/zbc/gst/gst-plugins-base/gst-libs/gst/tag'
  CC       libgsttag_1.0_la-gstvorbistag.lo
  CC       libgstfft_1.0_la-gstffts32.lo
  CC       libgstfft_1.0_la-gstfftf32.lo
  CC       libgstfft_1.0_la-gstfftf64.lo
  CC       libgstfft_1.0_la-kiss_fft_s16.lo
  CC       libgsttag_1.0_la-gstid3tag.lo
  CC       libgstapp_1.0_la-gstappsink.lo
  CC       libgstfft_1.0_la-kiss_fft_s32.lo
  CC       libgsttag_1.0_la-gstxmptag.lo
  CC       libgstfft_1.0_la-kiss_fft_f32.lo
  CC       libgsttag_1.0_la-gstexiftag.lo
  CC       libgstapp_1.0_la-app-enumtypes.lo
  CC       libgstfft_1.0_la-kiss_fft_f64.lo
  CCLD     libgstapp-1.0.la
  CC       libgstfft_1.0_la-kiss_fftr_s16.lo
  CC       libgsttag_1.0_la-lang.lo
  CC       libgstfft_1.0_la-kiss_fftr_s32.lo
make[5]: Leaving directory '/home/zbc/gst/gst-plugins-base/gst-libs/gst/app'
make[4]: Leaving directory '/home/zbc/gst/gst-plugins-base/gst-libs/gst/app'
  CC       libgstfft_1.0_la-kiss_fftr_f32.lo
  CC       libgsttag_1.0_la-licenses.lo
  CC       libgstfft_1.0_la-kiss_fftr_f64.lo
  CC       libgsttag_1.0_la-tags.lo
  CC       libgsttag_1.0_la-gsttagdemux.lo
  CCLD     libgstfft-1.0.la
  CC       libgsttag_1.0_la-gsttagmux.lo
  CC       libgsttag_1.0_la-gsttageditingprivate.lo
make[4]: Leaving directory '/home/zbc/gst/gst-plugins-base/gst-libs/gst/fft'
  CC       libgsttag_1.0_la-id3v2.lo
  CC       libgsttag_1.0_la-id3v2frames.lo
  CC       libgsttag_1.0_la-xmpwriter.lo
  CC       libgsttag_1.0_la-tag-enumtypes.lo
  CCLD     libgsttag-1.0.la
make[5]: Leaving directory '/home/zbc/gst/gst-plugins-base/gst-libs/gst/tag'
make[4]: Leaving directory '/home/zbc/gst/gst-plugins-base/gst-libs/gst/tag'
make[3]: Leaving directory '/home/zbc/gst/gst-plugins-base/gst-libs/gst'
Makefile:614: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/zbc/gst/gst-plugins-base/gst-libs'
Makefile:731: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/zbc/gst/gst-plugins-base'
Makefile:662: recipe for target 'all' failed
make: *** [all] Error 2

解决
日志提示很明确了,安装orc的版本不版本不匹配,卸载重装orc-0.4.25

  1. 比较旧的版本(有autogen.sh)使用下面的步骤
# 下载源码
git clone https://gitlab.freedesktop.org/gstreamer/orc.git
cd orc
git checkout orc-0.4.25 #切换源码版本
./autogen.sh
make
sudo make install
  1. 比较新的版本(无autogen.sh)使用以下步骤
# 下载源码
git clone https://gitlab.freedesktop.org/gstreamer/orc.git
cd orc
git checkout 0.4.31 #切换源码版本
meson build
ninja -C build
sudo ninja -C build install

17. config.status: error: cannot find input file: `Makefile.in’

checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for gettimeofday... yes
checking for sigaction... yes
checking for sigsetjmp... no
checking for cos in -lm... yes
checking for clock_gettime in -lrt... yes
checking for monotonic clocks... yes
checking valgrind/valgrind.h usability... no
checking valgrind/valgrind.h presence... no
checking for valgrind/valgrind.h... no
checking to see if compiler understands -Wall... yes
checking for -Bsymbolic-functions linker flag... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: error: cannot find input file: `Makefile.in'

解决:

automake --add-missing

没解决的话再用./autogen.sh代替./configure

18. configure.ac:45: error: required file ‘./ltmain.sh’ not found


libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: Remember to add 'LT_INIT' to configure.ac.
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
configure.ac:62: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its use is discouraged.
configure.ac:62: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead,
configure.ac:62: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.
configure.ac:45: installing './compile'
configure.ac:10: installing './config.guess'
configure.ac:10: installing './config.sub'
configure.ac:13: installing './install-sh'
configure.ac:45: error: required file './ltmain.sh' not found
configure.ac:13: installing './missing'
Makefile.am: installing './INSTALL'
ext/a52dec/Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1

解决:再执行一次即可

  • 8
    点赞
  • 42
    收藏
    觉得还不错? 一键收藏
  • 4
    评论
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值