Hi, I tried to install LLVM in our server, but after successfully compiling it, the installation failed. The reported error is: 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. gmake[1]: *** [install-html] Error 1 gmake[1]: Leaving directory `/home/software/llvm/docs' gmake: *** [install] Error 1 I am wondering if some specific version of the install program is required. Please help me to check out what is going wrong here. Thanks! Feng -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20050217/a456633d/attachment.html>
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. -- Misha Brukman :: http://misha.brukman.net :: http://llvm.cs.uiuc.edu
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>