Henrik Bach
2005-Jun-18 08:32 UTC
[LLVMdev] The configure script seems to strip some / from path
Hi LLVMers, The root of my SRC_DIR is: /home/hb/projects/src/llvm-1/llvm/ and the root of my OBJ_DIR is: /home/hb/projects/build/FC1/llvm-1-1. However, the configure script seems to have stripped some of the / from the paths: Makefile.common:63: /home/hb/projects/buildFC1llvm-1-1/Makefile.config: No such file or directory Makefile.common:69: /home/hb/projects/srcllvm-1/Makefile.rules: No such file or directory My system is Fedora Core 1: [hb at fc1s050612 llvm-1-1]$ uname -a Linux fc1s050612 2.4.22-1.2115.nptl #1 Wed Oct 29 15:42:51 EST 2003 i686 i686 i386 GNU/Linux ------------------------------------- [hb at fc1s050612 llvm-1-1]$ cmlog.sh --logfile my_configure.log ~/projects/src/llvm-1/llvm/configure --prefix=/home/hb/llvm/ --enable-targets=host-only ... hb at fc1s050612 llvm-1-1]$ cmlog.sh --logfile my_make_tools-only.log make tools-only -k ENABLE_OPTIMIZED=1 cm_exec_plt=/home/hb/projects/CMHTREE/PLT/BASH.PLT cm_srctree=/home/hb/projects/src cm_cmhtree=/home/hb/projects/CMHTREE Makefile.common:63: /home/hb/projects/buildFC1llvm-1-1/Makefile.config: No such file or directory Makefile.common:69: /home/hb/projects/srcllvm-1/Makefile.rules: No such file or directory make: *** No rule to make target `/home/hb/projects/srcllvm-1/Makefile.rules'. make: *** No rule to make target `/home/hb/projects/buildFC1llvm-1-1/Makefile.config'. make: Failed to remake makefile `/home/hb/projects/srcllvm-1/Makefile.rules'. make: Failed to remake makefile `/home/hb/projects/buildFC1llvm-1-1/Makefile.config'. make: *** No rule to make target `all', needed by `tools-only'. make: Target `tools-only' not remade because of errors. [hb at fc1s050612 llvm-1-1]$ pwd /home/hb/projects/build/FC1/llvm-1-1 [hb at fc1s050612 llvm-1-1]$ ls /home/hb/projects/src/llvm-1/llvm/ autoconf docs LICENSE.TXT Makefile.config.in runtime utils configure examples llvm.spec Makefile.rules support win32 CREDITS.TXT include Makefile projects test CVS lib Makefile.common README.txt tools [hb at fc1s050612 llvm-1-1]$ ------------------------------------- ============================================================Henrik Bach LLVM Open Source Developer e-mail: henrik_bach_llvm at hotmail.com ============================================================'Nothing is impossible; The impossible just takes longer time :)' - Inventor of a new energy saver light bulp from Denmark. Got Freedom? Software Freedom Day - 10th of september http://www.softwarefreedomday.org/ ============================================================ _________________________________________________________________ F� alle de nye og sjove ikoner med MSN Messenger http://messenger.msn.dk/ -------------- next part -------------- A non-text attachment was scrubbed... Name: logfiles.gz Type: application/x-gzip Size: 23360 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20050618/2b79820d/attachment.bin>
Reid Spencer
2005-Jun-18 16:32 UTC
[LLVMdev] The configure script seems to strip some / from path
On Sat, 2005-06-18 at 10:32 +0200, Henrik Bach wrote:> Hi LLVMers, > > The root of my SRC_DIR is: /home/hb/projects/src/llvm-1/llvm/ > and the root of my OBJ_DIR is: /home/hb/projects/build/FC1/llvm-1-1. > > However, the configure script seems to have stripped some of the / from the > paths: > Makefile.common:63: /home/hb/projects/buildFC1llvm-1-1/Makefile.config: No > such file or directory > Makefile.common:69: /home/hb/projects/srcllvm-1/Makefile.rules: No such file > or directoryNo one else on FC has reported these problems and I think this must be local to your situation. Note that Makefile.common looks like this, with lines 63 and 69 highlighted with ***: ifndef LLVM_OBJ_ROOT include $(LEVEL)/Makefile.config else include $(LLVM_OBJ_ROOT)/Makefile.config *** endif # # Include all of the build rules used for making LLVM # include $(LLVM_SRC_ROOT)/Makefile.rules *** The only way for this to produce these messages is if LLVM_OBJ_ROOT and LLVM_SRC_ROOT are set before including Makefile.common. None of the makefiles in LLVM do this. Perhaps you have these set in your environment? If so, unset them. Or, perhaps you are including Makefile.common from your own directory in which the Makefile sets LLVM_OBJ_ROOT and LLVM_SRC_ROOT (incorrectly).> > My system is Fedora Core 1: > [hb at fc1s050612 llvm-1-1]$ uname -a > Linux fc1s050612 2.4.22-1.2115.nptl #1 Wed Oct 29 15:42:51 EST 2003 i686 > i686 i386 GNU/Linux > > ------------------------------------- > [hb at fc1s050612 llvm-1-1]$ cmlog.sh --logfile my_configure.log > ~/projects/src/llvm-1/llvm/configure --prefix=/home/hb/llvm/ > --enable-targets=host-only > ... > hb at fc1s050612 llvm-1-1]$ cmlog.sh --logfile my_make_tools-only.log make > tools-only -k ENABLE_OPTIMIZED=1 >What is cmlog.sh ?> cm_exec_plt=/home/hb/projects/CMHTREE/PLT/BASH.PLT > cm_srctree=/home/hb/projects/src > cm_cmhtree=/home/hb/projects/CMHTREE > Makefile.common:63: /home/hb/projects/buildFC1llvm-1-1/Makefile.config: No > such file or directory > Makefile.common:69: /home/hb/projects/srcllvm-1/Makefile.rules: No such file > or directorydoes cmlog.sh set LLVM_OBJ_ROOT and LLVM_SRC_ROOT? It shouldn't do that. The inclusion of Makefile.config will figure them out. Reid. -------------- 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/20050618/160fc13d/attachment.sig>
Henrik Bach
2005-Jun-18 20:00 UTC
[LLVMdev] The configure script seems to strip some / from path
>From: Reid Spencer >Date: Sat, 18 Jun 2005 09:32:36 -0700 > >On Sat, 2005-06-18 at 10:32 +0200, Henrik Bach wrote: > > Hi LLVMers, > > > > The root of my SRC_DIR is: /home/hb/projects/src/llvm-1/llvm/ > > and the root of my OBJ_DIR is: /home/hb/projects/build/FC1/llvm-1-1. > > > > However, the configure script seems to have stripped some of the / from >the > > paths: > > Makefile.common:63: /home/hb/projects/buildFC1llvm-1-1/Makefile.config: >No > > such file or directory > > Makefile.common:69: /home/hb/projects/srcllvm-1/Makefile.rules: No such >file > > or directory > >No one else on FC has reported these problems and I think this must be >local to your situation. Note that Makefile.common looks like this, with >lines 63 and 69 highlighted with ***:> >ifndef LLVM_OBJ_ROOT >include $(LEVEL)/Makefile.config >else >include $(LLVM_OBJ_ROOT)/Makefile.config *** >endif > ># ># Include all of the build rules used for making LLVM ># >include $(LLVM_SRC_ROOT)/Makefile.rules *** > >The only way for this to produce these messages is if LLVM_OBJ_ROOT and >LLVM_SRC_ROOT are set before including Makefile.common. None of the >makefiles in LLVM do this. Perhaps you have these set in your >environment? If so, unset them.You're absolutely right. Now, I've unset LLVM_OBJ_ROOT and LLVM_SRC_ROOT in my environment.>Or, perhaps you are including >Makefile.common from your own directory in which the Makefile sets >LLVM_OBJ_ROOT and LLVM_SRC_ROOT (incorrectly). > > > > > My system is Fedora Core 1: > > [hb at fc1s050612 llvm-1-1]$ uname -a > > Linux fc1s050612 2.4.22-1.2115.nptl #1 Wed Oct 29 15:42:51 EST 2003 i686 > > i686 i386 GNU/Linux > > > > ------------------------------------- > > [hb at fc1s050612 llvm-1-1]$ cmlog.sh --logfile my_configure.log > > ~/projects/src/llvm-1/llvm/configure --prefix=/home/hb/llvm/ > > --enable-targets=host-only > > ... > > hb at fc1s050612 llvm-1-1]$ cmlog.sh --logfile my_make_tools-only.log make > > tools-only -k ENABLE_OPTIMIZED=1 > > > >What is cmlog.sh ?It just captures the output from the command(s) given to a logfile.> > > cm_exec_plt=/home/hb/projects/CMHTREE/PLT/BASH.PLT > > cm_srctree=/home/hb/projects/src > > cm_cmhtree=/home/hb/projects/CMHTREE > > Makefile.common:63: /home/hb/projects/buildFC1llvm-1-1/Makefile.config: >No > > such file or directory > > Makefile.common:69: /home/hb/projects/srcllvm-1/Makefile.rules: No such >file > > or directory > >does cmlog.sh set LLVM_OBJ_ROOT and LLVM_SRC_ROOT? It shouldn't do that.Right, I've set (and now unset) LLVM_OBJ_ROOT and LLVM_SRC_ROOT in my .bash_profile. Henrik.>The inclusion of Makefile.config will figure them out. > >Reid. ><< signature.asc >> >_______________________________________________ >LLVM Developers mailing list >LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev_________________________________________________________________ Del din verden med MSN Spaces http://spaces.msn.com
Apparently Analagous Threads
- [LLVMdev] The configure script seems to strip some / from path
- [LLVMdev] 'make check' failed with: ... PHI node entries do not match predecessors! ...
- [LLVMdev] 'make check' failed with: ... PHI node entries do not match predecessors! ...
- [LLVMdev] 'make check' failed with: ... PHI node entries donot match predece
- Cannot run LLVM unit tests doe to python error in lit