Hello,> make[1]: *** [/d/apps/llvm/tools/llvm-config/LibDeps.txt] Error 127 > make[1]: Leaving directory `/d/apps/llvm/tools/llvm-config' > make: *** [all] Error 1 > > It seems as though GenLibDeps.pl does not exist but in fact it does exist in > that directory. I am baffled by that. > I don't really know much about Perl so I can't say if it failed while > running the perl file or if it just couldnt find it for some reason. >You should have Perl installed. As you're probably using msys, you should also install msys-dtk, which includes perl for msys. -- With best regards, Anton Korobeynikov. Faculty of Mathematics & Mechanics, Saint Petersburg State University.
Anton Korobeynikov wrote:> > > You should have Perl installed. As you're probably using msys, you > should also install msys-dtk, which includes perl for msys. > > -- > With best regards, Anton Korobeynikov. > > >I installed msys-dtk as suggested and got just a bit further. My mingw gcc is version 3.4.2. Thanks for the help so far. I actually had active state perl installed, which I reinstalled using the latest perl. That method ends up failing somewhere else. Here is how it fails now: make[2]: Entering directory `/d/Apps/llvm/tools/llvm-config' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/d/Apps/llvm/tools/llvm-config' The system cannot find the path specified. make[2]: Entering directory `/d/Apps/llvm/tools/opt' llvm[2]: Compiling AnalysisWrappers.cpp for Release build llvm[2]: Compiling GraphPrinters.cpp for Release build llvm[2]: Compiling PrintSCC.cpp for Release build llvm[2]: Compiling opt.cpp for Release build make[2]: *** No rule to make target `/lib/libLLVMTransforms.a', needed by `/d/Apps/llvm/Release/bin/opt.exe'. Stop. make[2]: Leaving directory `/d/Apps/llvm/tools/opt' make[1]: *** [opt/.makeall] Error 2 make[1]: Leaving directory `/d/Apps/llvm/tools' make: *** [all] Error 1 -- View this message in context: http://www.nabble.com/mingw-binary-is-corrupt-tf2702868.html#a7554236 Sent from the LLVM - Dev mailing list archive at Nabble.com.
On Sun, 2006-11-26 at 19:04 -0800, SevenThunders wrote:> Here is how it fails now: > > make[2]: Entering directory `/d/Apps/llvm/tools/llvm-config' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/d/Apps/llvm/tools/llvm-config' > The system cannot find the path specified. > make[2]: Entering directory `/d/Apps/llvm/tools/opt' > llvm[2]: Compiling AnalysisWrappers.cpp for Release build > llvm[2]: Compiling GraphPrinters.cpp for Release build > llvm[2]: Compiling PrintSCC.cpp for Release build > llvm[2]: Compiling opt.cpp for Release build > make[2]: *** No rule to make target `/lib/libLLVMTransforms.a', needed by > `/d/Apps/llvm/Release/bin/opt.exe'. Stop.Looks to me like you're not configured correctly. Either that or llvm-config doesn't know how to construct the objdir directory properly. That error message should have a path like: /.../Release/lib/libLLVMTransforms.a To verify, try this command: llvm-config --obj-root llvm-config --libfiles These should print full path names to your obj-root directory and your libraries. If not, something went wrong with the construction of llvm-config. In that case, try "make clean" in tools/llvm-config followed by "make" Reid. Alternatively, perhaps the build of libLLVMTransforms.a failed? Check your build log. To ver> make[2]: Leaving directory `/d/Apps/llvm/tools/opt' > make[1]: *** [opt/.makeall] Error 2 > make[1]: Leaving directory `/d/Apps/llvm/tools' > make: *** [all] Error 1 > > >