私のマシンでllvm 3.0を入手しようとしていましたが、make -kを実行すると次のエラーが発生します。エラービルドllvm 3.0
[email protected]:~/llvm-3.0$ make
make[1]: Entering directory `/home/chethan/llvm-3.0/lib/Support'
llvm[1]: Compiling APFloat.cpp for Release build
In file included from APFloat.cpp:15:
In file included from /home/chethan/llvm-3.0/include/llvm/ADT/APFloat.h:104:
In file included from /home/chethan/llvm-3.0/include/llvm/ADT/APInt.h:18:
In file included from /home/chethan/llvm-3.0/include/llvm/ADT/ArrayRef.h:13:
In file included from /home/chethan/llvm-3.0/include/llvm/ADT/SmallVector.h:17:
/home/chethan/llvm-3.0/include/llvm/Support/type_traits.h:20:10: fatal error: 'utility' file not found
#include <utility>
^
1 error generated.
make[1]: *** [/home/chethan/llvm-3.0/lib/Support/Release/APFloat.o] Error 1
make[1]: Leaving directory `/home/chethan/llvm-3.0/lib/Support'
make: *** [all] Error 1
私のマシンにllvmをインストールするには、以下の手順に従ってください。
- LLVMのダウンロードページからLLVMソースのzipファイルを取得し、LLVM-3.0
- CD /home/chethan/llvm-3.0
- は./configure
- は-k
この場合、最初のエラーで停止するように 'make'を指定しましたが、私はllvm-gcc 4.2を自分のマシンにインストールしています。
私は今日の家のマシンで同じ手順を踏襲し、llvm-3.0は正常に構築されました!ここで何が欠落しているかもしれないと思いますか?
私はLLVMメーリングリスト、IRC、フォーラムで質問します。 –