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/
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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070930/f96d7a99/attachment.sig>
Yeah, that seems to work much better. Thanks! -- Ben Chambers On 9/29/07, Maarten ter Huurne <maarten at treewalker.org> 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 > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > >
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>