configuration error for the latest LLVM

I just checked out the latest LLVM version from CVS server. But the configuration failed. The messages are


checking whether llvm-gcc is sane… yes
configure: creating ./config.status
config.status: creating Makefile.config
config.status: creating docs/doxygen.cfg
config.status: creating utils/llvm-config/llvm-config.in
config.status: error: cannot find input file: utils/llvm-config/llvm-config.in.in

My configuration command line was
…/llvm/configure --with-llvmgccdir=/home/snir/jingyu/resources/llvm/cfrontend/x86/llvm-gcc --enable-targets=x86 --prefix=/home/snir/jingyu/local/llvm

The llvm-gcc I used was versioned 3.4.

What’s wrong with it? What can I do?

Thanks very much,

Jing

Jing Yu wrote:

I just checked out the latest LLVM version from CVS server. But the configuration failed. The messages are

Check to see if the file llvm/utils/llvm-config/llvm-config.in.in <http://config.in.in> exists within your LLVM source tree. If not, try the following command inside your LLVM source tree:

cvs up -P -d -A llvm/utils/llvm-config

If that doesn't work, please email the llvmdev list again.

-- John T.

Jing,

This problem has been fixed. I forgot to check in my changes to the
configure script.

Mea culpa.

Please update your configure script, it should work now.

Reid.

Again, this was caused by moving utils/llvm-config to tools/llvm-config.
If you update to the HEAD, it should correct itself. That is, the latest
configure script will configure tools/llvm-config/llvm-config.in not
utils/llvm-config/llvm-config.in. The problem occurred because I forgot
to commit the configure script for a couple hours. If you've updated
since this commit:

http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-
Mon-20060417/034287.html

and you're still getting the problem, please let me know ASAP.

Reid.