Compiling poolalloc

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Compiling poolalloc

Ben Chambers-4
I currently have a slightly modified llvm-2.0 source tree (from the
release tarball).  I checked out poolalloc into the projects directory
and attempt to configure it, but I keep getting errors.  I would
understand if there were problems building it (since it may require a
different version of llvm), but it should at least configure.
Specifically, I've tried the following commands:

>  ./configure --with-llvmsrc=~/Documents/research/llvm/llvm-2.0/ --with-llvmobj=~/Documents/research/llvm/llvm-2.0/Release/bin/

>  ./configure --with-llvmsrc=~/Documents/research/llvm/llvm-2.0/ --with-llvmobj=~/Documents/research/llvm/llvm-2.0/Release

>  ./configure --with-llvmsrc=~/Documents/research/llvm/llvm-2.0/ --with-llvmobj=~/Documents/research/llvm/llvm-2.0/

(I've tried all of those with and without / at the end of the lines).
The error it reports is below.  Any ideas what is causing this?

Thanks,
Ben Chambers

Error Report:

./config.status: line 1044:
~/Documents/research/llvm/llvm-2.0//autoconf/mkinstalldirs: No such
file or directory~/Documents/research/llvm/llvm-2.0//autoconf/install-sh:
~/Documents/research/llvm/llvm-2.0//autoconf/install-sh: No such file
or directoryconfig.status: executing lib/Makefile
commands./config.status: line 1046:
~/Documents/research/llvm/llvm-2.0//autoconf/mkinstalldirs: No such
file or directory~/Documents/research/llvm/llvm-2.0//autoconf/install-sh:
~/Documents/research/llvm/llvm-2.0//autoconf/install-sh: No such file
or directoryconfig.status: executing lib/PoolAllocate/Makefile
commands./config.status: line 1048:
~/Documents/research/llvm/llvm-2.0//autoconf/mkinstalldirs: No such
file or directory~/Documents/research/llvm/llvm-2.0//autoconf/install-sh:
~/Documents/research/llvm/llvm-2.0//autoconf/install-sh: No such file
or directoryconfig.status: executing runtime/Makefile
commands./config.status: line 1050:
~/Documents/research/llvm/llvm-2.0//autoconf/mkinstalldirs: No such
file or directory~/Documents/research/llvm/llvm-2.0//autoconf/install-sh:
~/Documents/research/llvm/llvm-2.0//autoconf/install-sh: No such file
or directoryconfig.status: executing runtime/PoolAllocator/Makefile
commands./config.status: line 1052:
~/Documents/research/llvm/llvm-2.0//autoconf/mkinstalldirs: No such
file or directory~/Documents/research/llvm/llvm-2.0//autoconf/install-sh:
~/Documents/research/llvm/llvm-2.0//autoconf/install-sh: No such file
or directoryconfig.status: executing
runtime/FreeListAllocator/Makefile commands./config.status: line 1054:
~/Documents/research/llvm/llvm-2.0//autoconf/mkinstalldirs: No such
file or directory~/Documents/research/llvm/llvm-2.0//autoconf/install-sh:
~/Documents/research/llvm/llvm-2.0//autoconf/install-sh: No such file
or directoryconfig.status: executing test/Makefile
commands./config.status: line 1056:
~/Documents/research/llvm/llvm-2.0//autoconf/mkinstalldirs: No such
file or directory~/Documents/research/llvm/llvm-2.0//autoconf/install-sh:
~/Documents/research/llvm/llvm-2.0//autoconf/install-sh: No such file
or directory~/Documents/research/llvm/llvm-2.0/projects/poolalloc$
./configure --with-llvmsrc=~/Documents/research/llvm/llvm-2.0/
--with-llvmobj=~/Documents/research/llvm/llvm-2.0/Release/bin/
_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: Compiling poolalloc

Bugzilla from maarten@treewalker.org
On Sunday 30 September 2007, Ben Chambers wrote:

> Specifically, I've tried the following commands:
> >  ./configure --with-llvmsrc=~/Documents/research/llvm/llvm-2.0/
> > --with-llvmobj=~/Documents/research/llvm/llvm-2.0/Release/bin/
> >
> >  ./configure --with-llvmsrc=~/Documents/research/llvm/llvm-2.0/
> > --with-llvmobj=~/Documents/research/llvm/llvm-2.0/Release
> >
> >  ./configure --with-llvmsrc=~/Documents/research/llvm/llvm-2.0/
> > --with-llvmobj=~/Documents/research/llvm/llvm-2.0/

Sometimes autotools has problems with "~" not being expanded. Do the errors
also happen if you pass the path starting with "/home/username"?

Bye,
                Maarten

_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

signature.asc (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Compiling poolalloc

Ben Chambers-4
Yeah, that seems to work much better.  Thanks!

-- Ben Chambers

On 9/29/07, Maarten ter Huurne <[hidden email]> wrote:

> On Sunday 30 September 2007, Ben Chambers wrote:
>
> > Specifically, I've tried the following commands:
> > >  ./configure --with-llvmsrc=~/Documents/research/llvm/llvm-2.0/
> > > --with-llvmobj=~/Documents/research/llvm/llvm-2.0/Release/bin/
> > >
> > >  ./configure --with-llvmsrc=~/Documents/research/llvm/llvm-2.0/
> > > --with-llvmobj=~/Documents/research/llvm/llvm-2.0/Release
> > >
> > >  ./configure --with-llvmsrc=~/Documents/research/llvm/llvm-2.0/
> > > --with-llvmobj=~/Documents/research/llvm/llvm-2.0/
>
> Sometimes autotools has problems with "~" not being expanded. Do the errors
> also happen if you pass the path starting with "/home/username"?
>
> Bye,
>                 Maarten
>
> _______________________________________________
> LLVM Developers mailing list
> [hidden email]         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
>
_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: Compiling poolalloc

Gordon Henriksen-3
In reply to this post by Ben Chambers-4
Ben,

The tilde is expanded by your shell, but only at the start of a word. Compare:

$ echo ~
/Users/gordon
$ echo --with-llvmsrc=~
--with-llvmsrc=~

If you can use a space instead of an equals, it should work. Otherwise, you need to spell out the whole path as Maarten suggested.

On Sep 29, 2007, at 22:25, Ben Chambers wrote:

I currently have a slightly modified llvm-2.0 source tree (from the
release tarball).  I checked out poolalloc into the projects directory
and attempt to configure it, but I keep getting errors.  I would
understand if there were problems building it (since it may require a
different version of llvm), but it should at least configure.
Specifically, I've tried the following commands:

 ./configure --with-llvmsrc=~/Documents/research/llvm/llvm-2.0/ --with-llvmobj=~/Documents/research/llvm/llvm-2.0/Release/bin/

 ./configure --with-llvmsrc=~/Documents/research/llvm/llvm-2.0/ --with-llvmobj=~/Documents/research/llvm/llvm-2.0/Release

 ./configure --with-llvmsrc=~/Documents/research/llvm/llvm-2.0/ --with-llvmobj=~/Documents/research/llvm/llvm-2.0/

(I've tried all of those with and without / at the end of the lines).
The error it reports is below.  Any ideas what is causing this?

Thanks,
Ben Chambers

Error Report:

./config.status: line 1044:
~/Documents/research/llvm/llvm-2.0//autoconf/mkinstalldirs: No such
file or directory~/Documents/research/llvm/llvm-2.0//autoconf/install-sh:
~/Documents/research/llvm/llvm-2.0//autoconf/install-sh: No such file
or directoryconfig.status: executing lib/Makefile
commands./config.status: line 1046:
~/Documents/research/llvm/llvm-2.0//autoconf/mkinstalldirs: No such
file or directory~/Documents/research/llvm/llvm-2.0//autoconf/install-sh:
~/Documents/research/llvm/llvm-2.0//autoconf/install-sh: No such file
or directoryconfig.status: executing lib/PoolAllocate/Makefile
commands./config.status: line 1048:
~/Documents/research/llvm/llvm-2.0//autoconf/mkinstalldirs: No such
file or directory~/Documents/research/llvm/llvm-2.0//autoconf/install-sh:
~/Documents/research/llvm/llvm-2.0//autoconf/install-sh: No such file
or directoryconfig.status: executing runtime/Makefile
commands./config.status: line 1050:
~/Documents/research/llvm/llvm-2.0//autoconf/mkinstalldirs: No such
file or directory~/Documents/research/llvm/llvm-2.0//autoconf/install-sh:
~/Documents/research/llvm/llvm-2.0//autoconf/install-sh: No such file
or directoryconfig.status: executing runtime/PoolAllocator/Makefile
commands./config.status: line 1052:
~/Documents/research/llvm/llvm-2.0//autoconf/mkinstalldirs: No such
file or directory~/Documents/research/llvm/llvm-2.0//autoconf/install-sh:
~/Documents/research/llvm/llvm-2.0//autoconf/install-sh: No such file
or directoryconfig.status: executing
runtime/FreeListAllocator/Makefile commands./config.status: line 1054:
~/Documents/research/llvm/llvm-2.0//autoconf/mkinstalldirs: No such
file or directory~/Documents/research/llvm/llvm-2.0//autoconf/install-sh:
~/Documents/research/llvm/llvm-2.0//autoconf/install-sh: No such file
or directoryconfig.status: executing test/Makefile
commands./config.status: line 1056:
~/Documents/research/llvm/llvm-2.0//autoconf/mkinstalldirs: No such
file or directory~/Documents/research/llvm/llvm-2.0//autoconf/install-sh:
~/Documents/research/llvm/llvm-2.0//autoconf/install-sh: No such file
or directory~/Documents/research/llvm/llvm-2.0/projects/poolalloc$
./configure --with-llvmsrc=~/Documents/research/llvm/llvm-2.0/
--with-llvmobj=~/Documents/research/llvm/llvm-2.0/Release/bin/
_______________________________________________
LLVM Developers mailing list



— Gordon


_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev