Problem building the LLVM sample project

Hi all,

I'm starting a new project and I'm having some trouble with the LLVM configure+Makefile system.

When I type "./configure" in the sample project, it seems to work. However, after going down to the autoconf dir and typing "./AutoRegen.sh", when I go back to the project main dir and type "./configure" again, I get the following error:

configure: error: cannot find install-sh, install.sh, or shtool in ../../../autoconf "."/../../../autoconf

I have gone through the LLVM Makefile docs, but can't figure out what the error is. I didn't change any file by hand, just autoregenerated them! I'm using autoconf 2.67 and aclocal 1.11.1 which, according to the LLVM site, meet the minimum requirements. Any ideas?

Thanks in advance,

Pablo Barrio <pbarrio@die.upm.es> writes:

I'm starting a new project and I'm having some trouble with the LLVM
configure+Makefile system.

Can't help you with the configure+Makefile problem, but you could
consider using the LLVM CMake build system instead:

http://www.llvm.org/docs/CMake.html

If you describe the build requirements your project has I could give
advice on how to implement it with cmake.

[snip]

Hi all,

I'm starting a new project and I'm having some trouble with the LLVM
configure+Makefile system.

When I type "./configure" in the sample project, it seems to work.
However, after going down to the autoconf dir and typing
"./AutoRegen.sh", when I go back to the project main dir and type
"./configure" again, I get the following error:

configure: error: cannot find install-sh, install.sh, or shtool in
../../../autoconf "."/../../../autoconf

I recall having this problem with SAFECode and Poolalloc. I would model your configure.ac and AutoRegen.sh after theirs since theirs is actually used while the sample project tends to get ignored.

Directions for getting SAFECode/Poolalloc from SVN are at http://sva.cs.illinois.edu/downloads.html.

-- John T.

Thanks, that did it!