gcode-mirror / iphone-dev

Automatically exported from code.google.com/p/iphone-dev
1 stars 0 forks source link

cannot run ./configure for llvm-svn on FreeBSD (VM) using repo 42498 #169

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm-svn -r 42498
2. pushd llvm-svn
3. ./configure --enable-optimized 

What is the expected output? What do you see instead?
I should configure the Makefile, but I get a weird error :

$ pwd
...../iPhone-dev
$ pushd llvm-svn
$ pwd
...../iPhone-dev/llvm-svn

on tcsh :
$ ./configure --enable-optimized
./configure : command not found

on bash :
$ ./configure --enable-optimized
configure: error: cannot run /bin/bash autoconf/config.sub

I had a previous error on bash like
: command not found
: command not found
: command not found
Error line x : unexpected token `in
Error line x : `   case $1 in

and other ': command not found' errors without any precisions...

What version of the product are you using? On what operating system?
I am using :

bash 3.2.0(1)-release (i386-unknown-freebsd5.5)
llvm-svn repository 42498

Please provide any additional information below.
I am under a virtual machine running on Windows XP, but never had a problem
about running a configure script or any other stuff.
I tried running the AutoRegen.sh script, I had to modify expected versions
of autoconf and libtool because mine was higher (autoconf 2.61 and libtool
1.5.24) but it did not solve the problem, just changed the errors I get.

Original issue reported on code.google.com by eregr...@gmail.com on 21 Feb 2009 at 3:57