[LLVMdev] mingw binary is corrupt

Reid Spencer rspencer at reidspencer.com
Sat Nov 25 23:51:32 PST 2006


On Sat, 2006-11-25 at 23:08 -0800, SevenThunders wrote:
> Here's how my make attempt died.
> 
> make[1]: Entering directory `/d/apps/llvm/tools/llvm-config'
> llvm[1]: Regenerating LibDeps.txt
> /bin/sh.exe: /d/apps/llvm/utils/GenLibDeps.pl: No such file or directory
> 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.

Here are some things to check:

(1) check the first line of GenLibDeps.pl. It requires perl to be
in /usr/bin/perl. If its not then the "No such file or directory" error
might be referring to perl.
(2) Make sure GenLibDeps.pl is executable (chmod +x GenLibDeps.pl)
(3) Perhaps you don't have perl installed?

Reid.





More information about the llvm-dev mailing list