>Number: 9105 >Category: other >Synopsis: gcc-3.2.1/gcc/intl/Makefile gets incorrect INSTALL variable path >Confidential: no >Severity: non-critical >Priority: medium >Responsible: unassigned >State: open >Class: support >Submitter-Id: net >Arrival-Date: Mon Dec 30 05:06:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Vic Abell >Release: 3,2,1 >Organization: >Environment: Solaris 9, Ultra 10 >Description: When gcc/configure can't locate a BSD-comptible install program and chooses to use install-sh, it places an incorrect path to it in ./intl/Makefile, ./../install-sh. There is no install-sh in intl's ./.. (gcc); it's in ./../../, the grandparent of intl, gcc-3.2.1. That causes the install rule in gcc/Makefile to fail when it invokes the install rule in ./intl/Makefile. >How-To-Repeat: Attempt to install on a Solaris 9 system that has no BSD-compatible install program. >Fix: Hand edit gcc/inst/Makefile and correct the path to install-sh or copy gcc-3.2.1/install-sh to gcc-3.2.1/gcc. >Release-Note: >Audit-Trail: >Unformatted:
The following reply was made to PR other/9105; it has been noted by GNATS. From: Phil Edwards <phil@jaj.com> To: abe@purdue.edu Cc: gcc-gnats@gcc.gnu.org Subject: Re: other/9105: gcc-3.2.1/gcc/intl/Makefile gets incorrect INSTALL variable path Date: Mon, 30 Dec 2002 09:32:31 -0500 On Mon, Dec 30, 2002 at 01:04:38PM -0000, abe@purdue.edu wrote: > >Environment: > Solaris 9, Ultra 10 > >Description: > When gcc/configure can't locate a BSD-comptible install program and chooses > to use install-sh, it places an incorrect path to it in ./intl/Makefile, > ./../install-sh. There is no install-sh in intl's ./.. (gcc); it's in > ./../../, the grandparent of intl, gcc-3.2.1. That causes the install rule > in gcc/Makefile to fail when it invokes the install rule in ./intl/Makefile. Did you see the installation instructions regarding 1) strongly recommending building in a seperate directory, and 2) special steps for Solaris systems? If you didn't, please try again after doing so, and let us know whether you still experience problems. -- I would therefore like to posit that computing's central challenge, viz. "How not to make a mess of it," has /not/ been met. - Edsger Dijkstra, 1930-2002
The following reply was made to PR other/9105; it has been noted by GNATS. From: "Vic Abell" <abe@purdue.edu> To: "Phil Edwards" <phil@jaj.com> Cc: <gcc-gnats@gcc.gnu.org>, "vicabell" <abe@vic.cc.purdue.edu> Subject: RE: other/9105: gcc-3.2.1/gcc/intl/Makefile gets incorrect INSTALL variable path Date: Mon, 30 Dec 2002 10:02:26 -0500 Phil, You write: > > Did you see the installation instructions regarding > > 1) strongly recommending building in a seperate directory, and I'm not sure what you mean. I built gcc-3.2.1 in a separate directory. Do you mean I should have built only gcc/intl in a separate directory? Where are those instructions? > 2) special steps for Solaris systems? I read everything I could find under Solaris (any case) in the configure.html and build.html files. Where else should I have looked? > If you didn't, please try again after doing so, and let us know > whether you > still experience problems. I don't find anything I should change in the way I built gcc-3.2.1, but I may be missing some references. Could you please identify those? Vic
The following reply was made to PR other/9105; it has been noted by GNATS. From: Phil Edwards <phil@jaj.com> To: Vic Abell <abe@purdue.edu> Cc: gcc-gnats@gcc.gnu.org, vicabell <abe@vic.cc.purdue.edu> Subject: Re: other/9105: gcc-3.2.1/gcc/intl/Makefile gets incorrect INSTALL variable path Date: Mon, 30 Dec 2002 10:07:15 -0500 On Mon, Dec 30, 2002 at 10:02:26AM -0500, Vic Abell wrote: > > I don't find anything I should change in the way I built > gcc-3.2.1, but I may be missing some references. Could you please > identify those? Start at http://gcc.gnu.org/install/ and go from there. There have been bugs with in-source-dir configuration in the past, but if you've not done that then all should be well... hmm. Phil -- I would therefore like to posit that computing's central challenge, viz. "How not to make a mess of it," has /not/ been met. - Edsger Dijkstra, 1930-2002
The following reply was made to PR other/9105; it has been noted by GNATS. From: Dara Hazeghi <dhazeghi@yahoo.com> To: abe@purdue.edu, gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org Cc: Subject: Re: other/9105: gcc-3.2.1/gcc/intl/Makefile gets incorrect INSTALL variable path Date: Wed, 14 May 2003 12:42:45 -0700 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit- trail&database=gcc&pr=9105 Hello, as previously noted, in source builds have had problems in the past. However, I have yet to experience any with gcc 3.3. Would it be possible for you to test under gcc 3.3, and determine if this problem is still present? Thanks, Dara
The following reply was made to PR other/9105; it has been noted by GNATS. From: Dara Hazeghi <dhazeghi@yahoo.com> To: abe@purdue.edu Cc: gcc-gnats@gcc.gnu.org Subject: RE: other/9105: gcc-3.2.1/gcc/intl/Makefile gets incorrect INSTALL variable path Date: Wed, 14 May 2003 14:59:18 -0700 (PDT) > You may have to wait a while for results. I'm > leaving town > for a few days. I'll have to download 3.3 and do > the testing > when I get back, probably some time next week. Fair enough. Have a good trip! Dara __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com
Synopsis: gcc-3.2.1/gcc/intl/Makefile gets incorrect INSTALL variable path State-Changed-From-To: open->feedback State-Changed-By: bangerth State-Changed-When: Thu May 15 04:36:14 2003 State-Changed-Why: Waiting for feedback... http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9105
The following reply was made to PR other/9105; it has been noted by GNATS. From: "Vic Abell" <abe@purdue.edu> To: "Dara Hazeghi" <dhazeghi@yahoo.com> Cc: <gcc-gnats@gcc.gnu.org>, <nobody@gcc.gnu.org>, "vicabell" <abe@vic.cc.purdue.edu> Subject: RE: other/9105: gcc-3.2.1/gcc/intl/Makefile gets incorrect INSTALL variable path Date: Mon, 19 May 2003 08:50:49 -0500 Dara, You write: > > as previously noted, in source builds have had problems in the past. > However, I have yet to experience any with gcc 3.3. Would it be > possible for you to test under gcc 3.3, and determine if this problem > is still present? Thanks, I configured gcc 3.3 three ways and can't see any difference in the results when compared to gcc 3.2.1 configuration. In my three gcc 3.3 configure runs only one that used an absolute path to the configure script in the gcc 3.3 source subdirectory from a subdirectory outside gcc-3.3 properly set the INSTALL string of .../gcc/intl/Makefile. The two relative path configure runs I made, in-source and relative-to-source, both produced the same incorrect path in the INSTALL string of .../gcc/intl/Makefile. More specifically, here's what I tried: 1. I downloaded gcc-3.3.tar.gz on Thursday May 15. It has these ls and md5 footprints: -rw-r--r-- 1 abe pucc 31046469 May 15 10:55 gcc-3.3.tar.gz MD5 (gcc-3.3.tar.gz) = 59a99a15c24a1519d057a7b94f00e8f2 2. I gunzip'd and extracted the 3.3 archive, changed to the extracted directory and ran `./configure ...`. Here is the incorrect INSTALL string from gcc-3.3/gcc/intl/Makefile: $ grep "^INSTALL = " gcc/intl/Makefile INSTALL = ./../install-sh -c $ (cd gcc/intl; ls -l ./../install-sh) ./../install-sh: No such file or directory Note: in addition to `./configure ...` I also tried simply `configure ...` and there was no difference in the INSTALL string of gcc/intl/Makefile. 3. I gunzip'd and extracted the 3.3 archive again, made a gcc-3.3-exrel subdirectory ("exrel" for outside the source directory, relative path to configure) and ran `./gcc-3.3/configure ...`. Here is the incorrect INSTALL string from gcc-3.3-exrel/gcc/intl/Makefile: $ grep "^INSTALL = " gcc/intl/Makefile INSTALL = ../../gcc-3.3/gcc/../install-sh -c $ (cd gcc/intl; ls -l ../../gcc-3.3/gcc/../install-sh) ../../gcc-3.3/gcc/../install-sh: No such file or directory 4. I gunzip'd and extracted the 3.3 archive again, made a gcc-3.3-exabs subdirectory ("exabs" for outside the source directory, absolute path to configure) and ran `/export/home/abe/gnu/gcc-3.3/configure ...`. Here is the correct INSTALL string from /export/home/abe/gnu/gcc-3.3-exabs/intl/Makefile: $ grep "^INSTALL = " gcc/intl/Makefile INSTALL = /export/home/abe/gnu/gcc-3.3/gcc/../install-sh -c $ ls -l /export/home/abe/gnu/gcc-3.3/gcc/../install-sh -rwxr-xr-x 1 abe pucc 5598 Jan 25 2002 \ /export/home/abe/gnu/gcc-3.3/gcc/../install-sh* I have script(1) output for each configure attempt, should you want it. What other information can I supply? Vic
The following reply was made to PR other/9105; it has been noted by GNATS. From: "Christian Ehrhardt" <ehrhardt@mathematik.uni-ulm.de> To: gcc-prs@gcc.gnu.org, abe@purdue.edu, gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org Cc: Subject: Re: other/9105: gcc-3.2.1/gcc/intl/Makefile gets incorrect INSTALL variable path Date: Wed, 21 May 2003 11:27:19 +0200 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9105 Did you set CONFIG_SHELL in your environment as recommended by http://gcc.gnu.org/install/specific.html#*-*-solaris2*. Please try CONFIG_SHELL=/bin/ksh SHELL=bin/ksh /path/to/sources/configure .... regards Christian -- THAT'S ALL FOLKS!
The following reply was made to PR other/9105; it has been noted by GNATS. From: "Vic Abell" <abe@purdue.edu> To: "'Christian Ehrhardt'" <ehrhardt@mathematik.uni-ulm.de>, <gcc-prs@gcc.gnu.org>, <gcc-bugs@gcc.gnu.org>, <gcc-gnats@gcc.gnu.org>, <nobody@gcc.gnu.org> Cc: Subject: RE: other/9105: gcc-3.2.1/gcc/intl/Makefile gets incorrect INSTALL variable path Date: Wed, 21 May 2003 05:05:45 -0500 Christian writes: > > Please try > > CONFIG_SHELL=/bin/ksh SHELL=bin/ksh /path/to/sources/configure .... > > regards Christian Yes. No difference. The INSTALL string in gcc/intl/Makefile is wrong if "/path/to/sources/configure" is relative; correct, if it is absolute.
The following reply was made to PR other/9105; it has been noted by GNATS. From: Eric Botcazou <ebotcazou@libertysurf.fr> To: <abe@purdue.edu> Cc: "'Christian Ehrhardt'" <ehrhardt@mathematik.uni-ulm.de>, <gcc-bugs@gcc.gnu.org>, <gcc-gnats@gcc.gnu.org> Subject: Re: other/9105: gcc-3.2.1/gcc/intl/Makefile gets incorrect INSTALL variable path Date: Wed, 21 May 2003 12:27:09 +0200 > Yes. No difference. The INSTALL string in gcc/intl/Makefile > is wrong if "/path/to/sources/configure" is relative; correct, > if it is absolute. So everything works fine unless you build in the src directory, doesn't it? -- Eric Botcazou
The following reply was made to PR other/9105; it has been noted by GNATS. From: "Vic Abell" <abe@purdue.edu> To: "Eric Botcazou" <ebotcazou@libertysurf.fr> Cc: "'Christian Ehrhardt'" <ehrhardt@mathematik.uni-ulm.de>, <gcc-bugs@gcc.gnu.org>, <gcc-gnats@gcc.gnu.org> Subject: RE: other/9105: gcc-3.2.1/gcc/intl/Makefile gets incorrect INSTALL variable path Date: Wed, 21 May 2003 06:22:56 -0500 Erc, You write: > > I wrote: > > > > Yes. No difference. The INSTALL string in gcc/intl/Makefile > > is wrong if "/path/to/sources/configure" is relative; correct, > > if it is absolute. > > So everything works fine unless you build in the src directory, > doesn't it? No. It makes no difference if the configure step is run in-source or ex-source. If done ex-source with a relative path, the gcc/intl/Makefile's INSTALL string is missing one "../" component.