2016-08-09 13 views
0

GNU automakeをインストールしようとしています。 ./configureを実行すると、私は、ターミナルで次のエラーメッセージが表示されます:Autoconfがインストールされているが動作しない(ubuntu)

checking whether autoconf is installed... yes 
    checking whether autoconf works... no 
    configure: error: The installed version of autoconf does not work. 
    Please check config.log for error messages before this one 

問題がどこにあるか、私は理解することはできませんconfig.logのを見てみます。私はそれがテックスと一緒だと推測しますが、私はどんなプログラムを参照しているのか分かりません。私はTexStudioをインストールしましたが、それは解決しませんでした。 ログファイルが下に貼り付けられます:

configure:2784: checking for tex 
    configure:2814: result: no 
    configure:2822: --version </dev/null 
    ./configure: line 2823: --version: command not found 
    configure:2825: $? = 127 
    configure:2843: checking for yacc 
    configure:2859: found /usr/local/bin/yacc 
    configure:2870: result: yacc 
    configure:2886: checking for lex 
    configure:2916: result: no 
    configure:2886: checking for flex 
    configure:2902: found /usr/local/bin/flex 
    configure:2913: result: flex 
    configure:2934: checking whether autoconf is installed 
    configure:2939: autoconf --version 
    Autoconf version 2.10 
    configure:2942: $? = 0 
    configure:2950: result: yes 
    configure:2957: checking whether autoconf works 
    configure:2964: cd conftest && autoconf -o /dev/null conftest.ac 
    Usage: autoconf [-h] [--help] [-m dir] [--macrodir=dir] 
      [-l dir] [--localdir=dir] [--version] [template-file] 
    configure:2967: $? = 1 
    configure:2976: result: no 
    configure:2979: error: The installed version of autoconf does not work. 
      Please check config.log for error messages before this one. 

答えて

0

はAutoconf 2.1(「2.5シリーズ」と呼ばれる、2.69。)非常に古く、現在のバージョンから大幅に異なる意味を持っている

Ubuntuは持っているように見えますseparate packagesはautoconf 2.1と2.6xですが、私はそれらがどのように2つに選択されているのか分かりません。

0

Diegoによると、autoconfをリポジトリからインストールすると、バージョン2.68がインストールされます。何らかの理由で、バージョン2.13がインストールされている可能性があります。

それが事実である場合、古いバージョンを削除し、デフォルトのバージョンをインストール:

sudo apt-get remove autoconf2.13 && sudo apt-get install autoconf

関連する問題