[LLVMdev] Compiling poolalloc

Gordon Henriksen gordonhenriksen at mac.com
Sat Sep 29 19:54:20 PDT 2007


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
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev



— Gordon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070929/63c733cf/attachment.html>


More information about the llvm-dev mailing list