在MacMini上为IOS-Simulator编译MobileVlc时出现以下错误:
我使用以下命令开始构建MobileVlc:./buildMobileVLC.sh -s
最后输出是:
mkdir -p -- /Users/theo/Projects/compile/vlc/MobileVLC/ImportedSources/vlc/contrib/i686-apple-darwin11/share/aclocal && cd a52dec && autoreconf -fiv -I/Users/theo/Projects/compile/vlc/MobileVLC/ImportedSources/vlc/contrib/i686-apple-darwin11/share/aclocal
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal -I /Users/theo/Projects/compile/vlc/MobileVLC/ImportedSources/vlc/contrib/i686-apple-darwin11/share/aclocal --force
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: configure.in: tracing
autoreconf: configure.in: not using Libtool
autoreconf: running: /Users/theo/Projects/compile/vlc/MobileVLC/ImportedSources/vlc/extras/tools/build/bin/autoconf --include=/Users/theo/Projects/compile/vlc/MobileVLC/ImportedSources/vlc/contrib/i686-apple-darwin11/share/aclocal --force
**configure.in:74: error: possibly undefined macro: AC_DISABLE_SHARED
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.in:75: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
configure.in:76: error: possibly undefined macro: AC_PROG_LIBTOOL
autoreconf: /Users/theo/Projects/compile/vlc/MobileVLC/ImportedSources/vlc/extras/tools/build/bin/autoconf failed with exit status: 1**
make: *** [.a52] Error 1
有人能帮助我吗?
仔细观察问题后我必须说,上面的内容始终是第二次尝试的输出。在第一次尝试时,我总是得到这个:
-- Installing: /Users/theo/Projects/compile/vlc/MobileVLC/ImportedSources/vlc/extras/tools/build/doc/cmake-2.8/cmake-commands.txt
-- Installing: /Users/theo/Projects/compile/vlc/MobileVLC/ImportedSources/vlc/extras/tools/build/doc/cmake-2.8/cmake-compatcommands.txt
-- Installing: /Users/theo/Projects/compile/vlc/MobileVLC/ImportedSources/vlc/extras/tools/build/doc/cmake-2.8/ctest.txt
-- Installing: /Users/theo/Projects/compile/vlc/MobileVLC/ImportedSources/vlc/extras/tools/build/doc/cmake-2.8/ctest.docbook
-- Installing: /Users/theo/Projects/compile/vlc/MobileVLC/ImportedSources/vlc/extras/tools/build/doc/cmake-2.8/cpack.txt
-- Installing: /Users/theo/Projects/compile/vlc/MobileVLC/ImportedSources/vlc/extras/tools/build/doc/cmake-2.8/cpack.docbook
-- Installing: /Users/theo/Projects/compile/vlc/MobileVLC/ImportedSources/vlc/extras/tools/build/doc/cmake-2.8/ccmake.txt
-- Installing: /Users/theo/Projects/compile/vlc/MobileVLC/ImportedSources/vlc/extras/tools/build/doc/cmake-2.8/ccmake.docbook
-- Installing: **/Users/theo/Projects/compile/vlc/MobileVLC/ImportedSources/vlc/extras/tools/build/share/aclocal/cmake.m4**
0 0 0 0 0 0 0 0 --:--:-- 0:05:21 --:--:-- 0touch .cmake
0 0 0 0 0 0 0 0 --:--:-- 0:11:00 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:11:10 --:--:-- 0^Cmake: *** Deleting file `yasm-1.2.0.tar.gz'
make: *** [yasm-1.2.0.tar.gz] Interrupt: 2
输出在安装cmake.m4时停止。我必须用^C
打断它。
答案 0 :(得分:0)
AC_LIBTOOL_WIN32_DLL configure.in:76:错误:可能是未定义的宏:AC_PROG_LIBTOOL autoreconf:
sudo apt-get install libtool