AFAICT these are valid errors. Getting an error on the 'make install' for LLVM :- make[2]: Entering directory `/usr/build/llvm/tools/llvm-ar' llvm[2]: Installing Debug /usr/llvm/bin/llvm-ar /usr/bin/install: target `/usr/llvm/bin/llvm-ar' is not a directory make[2]: *** [/usr/llvm/bin/llvm-ar] Error 1 make[2]: Leaving directory `/usr/build/llvm/tools/llvm-ar' make[1]: *** [llvm-ar/.makeinstall] Error 2 make[1]: Leaving directory `/usr/build/llvm/tools' make: *** [install] Error 1 The directory '/usr/llvm/bin/llvm-ar' does not exist. Creating the llvm-ar directory and continuing I get another error :- make[4]: Entering directory `/usr/build/llvm/lib/Target/SparcV9/RegAlloc' llvm[4]: Installing Debug Object Library /usr/llvm/lib/LLVMSparcV9RegAlloc.o llvm[4]: Installing Debug Archive Library /usr/llvm/lib/libLLVMSparcV9RegAlloc.a ranlib: unable to rename '/usr/llvm/lib/libLLVMSparcV9RegAlloc.a' reason: Permission denied make[4]: *** [/usr/llvm/lib/libLLVMSparcV9RegAlloc.a] Error 1 make[4]: Leaving directory `/usr/build/llvm/lib/Target/SparcV9/RegAlloc' make[3]: *** [RegAlloc/.makeinstall] Error 2 make[3]: Leaving directory `/usr/build/llvm/lib/Target/SparcV9' make[2]: *** [SparcV9/.makeinstall] Error 2 make[2]: Leaving directory `/usr/build/llvm/lib/Target' make[1]: *** [Target/.makeinstall] Error 2 make[1]: Leaving directory `/usr/build/llvm/lib' make: *** [install] Error 1 Help ! Aaron -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20050514/f2edb2e8/attachment.html>
I can't reproduce these on GNU-Linux/x86. What platform are you on? Reid. On Sat, 2005-05-14 at 16:50 +0100, Aaron Gray wrote:> AFAICT these are valid errors. > > Getting an error on the 'make install' for LLVM :- > > > make[2]: Entering directory `/usr/build/llvm/tools/llvm-ar' > llvm[2]: Installing Debug /usr/llvm/bin/llvm-ar > /usr/bin/install: target `/usr/llvm/bin/llvm-ar' is not a directory > make[2]: *** [/usr/llvm/bin/llvm-ar] Error 1 > make[2]: Leaving directory `/usr/build/llvm/tools/llvm-ar' > make[1]: *** [llvm-ar/.makeinstall] Error 2 > make[1]: Leaving directory `/usr/build/llvm/tools' > make: *** [install] Error 1 > > > The directory '/usr/llvm/bin/llvm-ar' does not exist. > > Creating the llvm-ar directory and continuing I get another error :- > > make[4]: Entering directory > `/usr/build/llvm/lib/Target/SparcV9/RegAlloc' > llvm[4]: Installing Debug Object > Library /usr/llvm/lib/LLVMSparcV9RegAlloc.o > llvm[4]: Installing Debug Archive > Library /usr/llvm/lib/libLLVMSparcV9RegAlloc.a > ranlib: unable to rename '/usr/llvm/lib/libLLVMSparcV9RegAlloc.a' > reason: Permission denied > make[4]: *** [/usr/llvm/lib/libLLVMSparcV9RegAlloc.a] Error 1 > make[4]: Leaving directory > `/usr/build/llvm/lib/Target/SparcV9/RegAlloc' > make[3]: *** [RegAlloc/.makeinstall] Error 2 > make[3]: Leaving directory `/usr/build/llvm/lib/Target/SparcV9' > make[2]: *** [SparcV9/.makeinstall] Error 2 > make[2]: Leaving directory `/usr/build/llvm/lib/Target' > make[1]: *** [Target/.makeinstall] Error 2 > make[1]: Leaving directory `/usr/build/llvm/lib' > make: *** [install] Error 1 > > Help ! > > Aaron > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev-------------- 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/20050514/6b85b3fd/attachment.sig>
Doh! Just read your subject line, you're on Cygwin. Its probably due to a crappy version of the "install" program on Cygwin. Could you do "make VERBOSE=1 install" in the tools directory and send me the output? Reid. On Sat, 2005-05-14 at 09:35 -0700, Reid Spencer wrote:> I can't reproduce these on GNU-Linux/x86. What platform are you on? > > Reid. > > On Sat, 2005-05-14 at 16:50 +0100, Aaron Gray wrote: > > AFAICT these are valid errors. > > > > Getting an error on the 'make install' for LLVM :- > > > > > > make[2]: Entering directory `/usr/build/llvm/tools/llvm-ar' > > llvm[2]: Installing Debug /usr/llvm/bin/llvm-ar > > /usr/bin/install: target `/usr/llvm/bin/llvm-ar' is not a directory > > make[2]: *** [/usr/llvm/bin/llvm-ar] Error 1 > > make[2]: Leaving directory `/usr/build/llvm/tools/llvm-ar' > > make[1]: *** [llvm-ar/.makeinstall] Error 2 > > make[1]: Leaving directory `/usr/build/llvm/tools' > > make: *** [install] Error 1 > > > > > > The directory '/usr/llvm/bin/llvm-ar' does not exist. > > > > Creating the llvm-ar directory and continuing I get another error :- > > > > make[4]: Entering directory > > `/usr/build/llvm/lib/Target/SparcV9/RegAlloc' > > llvm[4]: Installing Debug Object > > Library /usr/llvm/lib/LLVMSparcV9RegAlloc.o > > llvm[4]: Installing Debug Archive > > Library /usr/llvm/lib/libLLVMSparcV9RegAlloc.a > > ranlib: unable to rename '/usr/llvm/lib/libLLVMSparcV9RegAlloc.a' > > reason: Permission denied > > make[4]: *** [/usr/llvm/lib/libLLVMSparcV9RegAlloc.a] Error 1 > > make[4]: Leaving directory > > `/usr/build/llvm/lib/Target/SparcV9/RegAlloc' > > make[3]: *** [RegAlloc/.makeinstall] Error 2 > > make[3]: Leaving directory `/usr/build/llvm/lib/Target/SparcV9' > > make[2]: *** [SparcV9/.makeinstall] Error 2 > > make[2]: Leaving directory `/usr/build/llvm/lib/Target' > > make[1]: *** [Target/.makeinstall] Error 2 > > make[1]: Leaving directory `/usr/build/llvm/lib' > > make: *** [install] Error 1 > > > > Help ! > > > > Aaron > > > > _______________________________________________ > > LLVM Developers mailing list > > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev-------------- 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/20050514/664fb634/attachment.sig>
I think its my fault doing a 'make install' after 'make tools-only' rather than later after the 'make all' ! Aaron
Now I believe that I am getting the same error as I was getting last time I tried to build llvm-gcc. It may possibly be my Cygwin instillation but am not sure. makeinfo --split-size=5000000 -I ../../../src/llvm-gcc/gcc/doc -I ../../../src/ llvm-gcc/gcc/doc/include \ -o ../../../src/llvm-gcc/gcc/doc/cpp.info ../../../src/llvm-gcc/gcc/doc/cpp.texi ' in @synindex.vm-gcc/gcc/doc/cpp.texi:49: Unknown index `vr' and/or `op ../../../src/llvm-gcc/gcc/doc/cpp.texi:4124: warning: @strong{Note...} produces a spurious cross-reference in Info; reword to avoid that. ../../../src/llvm-gcc/gcc/doc//cppopts.texi:133: warning: @strong{Note...} produ ces a spurious cross-reference in Info; reword to avoid that. ../../../src/llvm-gcc/gcc/doc//cppopts.texi:341: warning: @strong{Note...} produ ces a spurious cross-reference in Info; reword to avoid that. ../../../src/llvm-gcc/gcc/doc/cpp.texi:3203: Cross reference to nonexistent node Predefined Macros' (perhaps incorrect sectioning?). ../../../src/llvm-gcc/gcc/doc/cpp.texi:1405: Cross reference to nonexistent node Prescan' (perhaps incorrect sectioning?). ../../../src/llvm-gcc/gcc/doc/cpp.texi:1063: Cross reference to nonexistent node Headers' (perhaps incorrect sectioning?). ../../../src/llvm-gcc/gcc/doc/cpp.texi:577: Cross reference to nonexistent node from previous versions' (perhaps incorrect sectioning?). ../../../src/llvm-gcc/gcc/doc/cpp.texi:572: Cross reference to nonexistent node Operation' (perhaps incorrect sectioning?). ../../../src/llvm-gcc/gcc/doc/cpp.texi:230: Cross reference to nonexistent node Mode' (perhaps incorrect sectioning?). makeinfo: Removing output file `../../../src/llvm-gcc/gcc/doc/cpp.info' due to e rrors; use --force to preserve. make[1]: *** [../../../src/llvm-gcc/gcc/doc/cpp.info] Error 1 make[1]: Leaving directory `/usr/build/llvm-gcc/gcc' make: *** [all-gcc] Error 2 Help again, Aaron