[LLVMdev] Setting up new project

Lane Schwartz dowobeha at gmail.com
Sat Apr 12 11:26:38 PDT 2008


On Fri, Apr 11, 2008 at 3:24 PM, John Criswell <criswell at cs.uiuc.edu> wrote:
> Lane Schwartz wrote:
>
> > [snip]
> >
> > OK then. I didn't realize that having a newer version would be a problem.
> >
> > I compiled and installed autoconf 2.59. I still get the same problem:
> >
> > $ autoconf --version
> > autoconf (GNU Autoconf) 2.59
> >
> > $ cd /opt/src-llvm/projects/sample/autoconf
> > $ ./AutoRegen.sh
> > $ cd ..
> >
> > $ ./configure --with-llvmsrc=/opt/src-llvm --with-llvmobj=/opt/src-llvm
> > configure: error: cannot find install-sh or install.sh in
> > ../../../autoconf ./../../../autoconf
> >
> > Any other tips? I should mention that I'm working with llvm-2.2, not
> > the current svn.
> >
> >
>  I believe this AutoRegen.sh may be broken.  I believe this one (which is
> part of the poolalloc project) may work for you.
>
>  I've attached the script below for your convenience.  Please give it a try
> and let us know if it works.
>
>  -- John T.

John,

Thanks for the advice. The script you sent gives me the same problem.
I am now able to work around the issue by making the following change
to the AutoRegen.sh script that comes with the sample project:

16,17c16,17
<   llvm_src_root=../../..
<   llvm_obj_root=../../..
---
>   llvm_src_root=../..
>   llvm_obj_root=../..

Lane



More information about the llvm-dev mailing list