Actually, Misha, that won't work. The -C option is used directly in docs/Makefile. So the change will have to go into docs/Makefile. Either that or upgrade install to version 5. Reid. On Thu, 2005-02-17 at 11:33, Misha Brukman wrote:> On Thu, Feb 17, 2005 at 01:21:20PM -0600, Feng Chen wrote: > > llvm[1]: Installing HTML documentation > > /usr/dcs/software/supported/bin/ginstall: invalid option -- C > > Try `/usr/dcs/software/supported/bin/ginstall --help' for more information. > > /usr/dcs/software/supported/bin/ginstall is version 4.0, whereas Fedora > Core 1 (which is QUITE old) has /usr/bin/install version 5.0 . > > Even install-4.5.3 has the -C switch. For now, manually change your > Makefile.config in your build directory to have the line > > INSTALL := /usr/bin/install -c > > instead of > > INSTALL := /usr/dcs/software/supported/bin/ginstall -c > > and you should be fine, assuming your /usr/bin/install is more recent. > > In the future, we should allow a configure switch choose the install > program, and it might already do that with --with-install=[path], but I > am not sure and haven't checked.-------------- 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/20050217/8b865d01/attachment.sig>
On Thu, Feb 17, 2005 at 11:39:27AM -0800, Reid Spencer wrote:> Actually, Misha, that won't work.Sorry, Reid, but I think it will, for the following reason: I don't really know what the -c (lowercase) option does, but install says it's ignored anyway, so that's irrelevant for GNU install. We're talking about the -C option (uppercase).> The -C option is used directly in docs/Makefile. So the change will have > to go into docs/Makefile. Either that or upgrade install to version 5.docs/Makefile uses $(INSTALL) -C (uppercase). My point is that /usr/dcs/..../ginstall doesn't accept -C but /usr/bin/install does. Changing it in Makefile.config will do the trick. -- Misha Brukman :: http://misha.brukman.net :: http://llvm.cs.uiuc.edu
On Thu, 2005-02-17 at 11:59, Misha Brukman wrote:> On Thu, Feb 17, 2005 at 11:39:27AM -0800, Reid Spencer wrote: > > Actually, Misha, that won't work. > > Sorry, Reid, but I think it will, for the following reason: > > I don't really know what the -c (lowercase) option does, but install > says it's ignored anyway, so that's irrelevant for GNU install. We're > talking about the -C option (uppercase). > > > The -C option is used directly in docs/Makefile. So the change will have > > to go into docs/Makefile. Either that or upgrade install to version 5. > > docs/Makefile uses $(INSTALL) -C (uppercase). > > My point is that /usr/dcs/..../ginstall doesn't accept -C but > /usr/bin/install does. > > Changing it in Makefile.config will do the trick.You were advocating changing the INSTALL variable to use -c instead of -C, so in docs/Makefile the command: $(INSTALL) -C ... would be expanded as: /usr/bin/install -c -C ... which still won't work. 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/20050217/66515813/attachment.sig>
It works. Thanks! However, although the configuration and installation process doesn't report any error/warning, the llvmc cannot work. It just says: Unexpected unknown exception occurred :( Do you have any clue about that? Feng -----Original Message----- From: Misha Brukman [mailto:brukman at uiuc.edu] Sent: Thursday, February 17, 2005 2:00 PM To: LLVM Developers Mailing List Cc: 'Marcelo D'Amorim'; Feng Chen Subject: Re: [LLVMdev] questions about installing llvm On Thu, Feb 17, 2005 at 11:39:27AM -0800, Reid Spencer wrote:> Actually, Misha, that won't work.Sorry, Reid, but I think it will, for the following reason: I don't really know what the -c (lowercase) option does, but install says it's ignored anyway, so that's irrelevant for GNU install. We're talking about the -C option (uppercase).> The -C option is used directly in docs/Makefile. So the change will have > to go into docs/Makefile. Either that or upgrade install to version 5.docs/Makefile uses $(INSTALL) -C (uppercase). My point is that /usr/dcs/..../ginstall doesn't accept -C but /usr/bin/install does. Changing it in Makefile.config will do the trick. -- Misha Brukman :: http://misha.brukman.net :: http://llvm.cs.uiuc.edu
On Fri, Feb 18, 2005 at 11:30:45AM -0600, Feng Chen wrote:> However, although the configuration and installation process doesn't > report any error/warning, the llvmc cannot work. It just says: > Unexpected unknown exception occurred :( > > Do you have any clue about that?Have you compiled and installed llvm-gcc/llvm-g++? llvmc is not a compiler, it's just a compiler driver, so it expects all the tools to be in the path (llvm-gcc, gccas, gccld, opt, etc.) Furthermore, if llvmc does not work for you, just use llvm-gcc directly, assuming the rest of llvm tools are in your path. -- Misha Brukman :: http://misha.brukman.net :: http://llvm.cs.uiuc.edu
Yes. I forgot to mention that the frontend (llvm-gcc, llvm-g++) works well :) I will try other tools later. Thanks! Feng -----Original Message----- From: Misha Brukman [mailto:brukman at uiuc.edu] Sent: Friday, February 18, 2005 11:39 AM To: Feng Chen Cc: 'LLVM Developers Mailing List'; 'Marcelo D'Amorim' Subject: Re: [LLVMdev] questions about installing llvm On Fri, Feb 18, 2005 at 11:30:45AM -0600, Feng Chen wrote:> However, although the configuration and installation process doesn't > report any error/warning, the llvmc cannot work. It just says: > Unexpected unknown exception occurred :( > > Do you have any clue about that?Have you compiled and installed llvm-gcc/llvm-g++? llvmc is not a compiler, it's just a compiler driver, so it expects all the tools to be in the path (llvm-gcc, gccas, gccld, opt, etc.) Furthermore, if llvmc does not work for you, just use llvm-gcc directly, assuming the rest of llvm tools are in your path. -- Misha Brukman :: http://misha.brukman.net :: http://llvm.cs.uiuc.edu