This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Solved: Installation Issue


Hello, all

I've just tried to build gdb with the same results that I got when
trying to build gcc: "make" builds it fine, but "make install" can't
find install.sh, even though it is there.  Solved it by calling
configure with an absolute path, e.g.

$ /home/ljvr/utils/gcc-3.2.3/configure --prefix=blahblahblah
--enable-whatever

instead of

$ ../gcc-3.2.3/configure --prefix=blahblahblah --enable-whatever

Then it works fine, regardless of the localtion of builddir, srcdir or
installdir.

I don't know if my Solaris platform has anything to do with it, but if
anyone else had the same problem, now you know how to prevent it.

Lourens...



-----Original Message-----
From: Muthukumar Ratty [mailto:muthu@iqmail.net] 
Sent: 21 September 2004 18:20
To: Lourens Janse van Rensburg
Cc: gcc-help@gcc.gnu.org
Subject: RE: Installation Issue

>
> I think someone forgot to update the scripts and makefiles somewhere 
> between versions.  Yes, the manual says do not use builddir = 
> sourcedir etc. etc. but "make install" failed for me too.
>

Hmmm... does this mean, you RTFMed, followed the rabbit and, still got
the problem. It could be worthy of a PR then...

1. Did you check the bug db to see if its reported/fixed in latest
releases?
2. What version you tried?
3. What are the steps?
4. What error you got?
5. Arch?


thanks,
Muthu.





> Theoretically you could tell the scripts where to find install.sh on 
> the command line by saying "make INSTALL=/full/path/to/install.sh
install"
>
> In the end I had to do a search & replace through configure and all 
> makefiles, and replace all the relative references to install.sh with 
> the absolute path.
>
> Try it -- it might help you too.
>
> Lourens Janse van Rensburg...
>
>
>
> -----Original Message-----
> From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] 
> On Behalf Of John Drake
> Sent: 21 September 2004 00:37
> To: gcc-help@gcc.gnu.org
> Subject: Installation Issue
>
> This problem seems to be quite common because I searched for it and 
> there was a lot of forum posts asking for how to solve it but I 
> couldn't find a solution.
>
> I'm running SuSE 9.1 and I downloaded the latest source code release 
> for
> g++ gcc. My problem is when I try to run ./configure in the directory
> libstdc++-v3, it returns the following error:
>
> configure: error: cannot find install-sh or install.sh in ./../..
>
> Thanks, John
>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]