[cfe-dev] Errors building clang with mingw

NAKAMURA Takumi geek4civic at gmail.com
Wed Mar 16 18:33:40 PDT 2011


Edward,

On Thu, Mar 17, 2011 at 9:15 AM, Edward Diener
<eldlistmailingz at tropicsoft.com> wrote:
> I installed MSYS perl. I can see it in my msys/bin directory as perl.exe
> and perl5.6.1.exe. When I tried to run 'configure' again it now gives me:
>
> checking for perl... /bin/perl
> checking for Perl 5.006 or newer... not found
> configure: error: perl is required but was not found, please install it

Weird! Please show us generated "config.log", "Makefile.config" and
"include/llvm/Config/config.h" ?

and please try;
$ make VERBOSE=1 -C tools/llvm-config

In my config.log,
configure:8018: checking for perl
configure:8049: result: /bin/perl
configure:8058: checking for Perl 5.006 or newer
configure:8061: result: yes

$ type perl
perl is hashed (/bin/perl)
$ perl --version

This is perl, v5.8.8 built for msys


ps. I am suspicious;
>>> llvm[1]: Regenerating LibDeps.txt.tmp
>>> 'C:' is not recognized as an internal or external command,
>>> operable program or batch file.
>>> nm failed at c:/Programming/VersionControl/llvm/utils/GenLibDeps.pl line
>>> 230.

would 'nm' be not passed to genlibdeps.pl?


...Takumi



More information about the cfe-dev mailing list