2012-11-24 31 views
1

當編譯MobileVlc對我的MacMini我收到以下錯誤IOS-模擬器:錯誤建築mobilevlc - > autoconf的問題

我開始使用下面的命令建立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來中斷它。

+1

當從一個正確構造的壓縮包構建軟件,它是不需要運行autoconf的,除非你已經在時鐘歪斜的驅動器上解壓tarball了。 (因此,例如,其中一個元文件的最後修改時間是將來的。)如果您的時間戳是好的,並且您尚未在網絡裝載上解壓縮,並且您尚未修改任何文件分發tarball,那麼就有一個包裝錯誤,並且tarball有缺陷。 –

+0

爲了澄清,問題是構建腳本正在嘗試運行autoconf,它不應該這樣做。您在盒子上使用的autoconf版本與預期版本不同。不要試圖通過安裝autoconf來解決這個問題。您不需要運行autoconf來構建軟件。如果您需要這樣做,這是一個打包錯誤,應該作爲錯誤報告給維護人員。 –

+0

非常感謝!我在VLC錯誤跟蹤器中提交了一個錯誤報告。 – user1606545

回答

0

AC_LIBTOOL_WIN32_DLL configure.in:76:錯誤:可能未定義的宏:AC_PROG_LIBTOOL autoreconf:

命令和apt-get安裝的libtool