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 Dpto. Ing. Electrónica - E.T.S.I. Telecomunicación Despacho C-203 Avda. Complutense s/n, 28040 Madrid Tlf. 915495700 ext. 4234 @: pbarrio at die.upm.es
Pablo Barrio <pbarrio at 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]
On 4/4/11 9:25 AM, Pablo Barrio wrote:> 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 "."/../../../autoconfI 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.> 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, >
Thanks, that did it!>> 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.-- Pablo Barrio Dpto. Ing. Electrónica - E.T.S.I. Telecomunicación Despacho C-203 Avda. Complutense s/n, 28040 Madrid Tlf. 915495700 ext. 4234 @: pbarrio at die.upm.es