From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23688 invoked by alias); 18 Jul 2006 16:13:24 -0000 Received: (qmail 23458 invoked by uid 22791); 18 Jul 2006 16:13:18 -0000 X-Spam-Check-By: sourceware.org Received: from py-out-1112.google.com (HELO py-out-1112.google.com) (64.233.166.180) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 18 Jul 2006 16:13:09 +0000 Received: by py-out-1112.google.com with SMTP id d80so2319532pyd for ; Tue, 18 Jul 2006 09:13:08 -0700 (PDT) Received: by 10.35.18.18 with SMTP id v18mr5700244pyi; Tue, 18 Jul 2006 09:11:32 -0700 (PDT) Received: by 10.35.64.17 with HTTP; Tue, 18 Jul 2006 09:11:32 -0700 (PDT) Message-ID: <1953a4560607180911j42e243efo4098ecdf6251ce98@mail.gmail.com> Date: Tue, 18 Jul 2006 16:13:00 -0000 From: "Asher Langton" To: "Santosh Sugur" Subject: Re: Error during make bootstrap (gcc-4.1.1) Cc: gcc-help@gcc.gnu.org In-Reply-To: <8d878f150607180726p222e7162t6b6322de9a352e61@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1953a4560607170859k5d8877efy82100f42650fc5dd@mail.gmail.com> <8d878f150607180726p222e7162t6b6322de9a352e61@mail.gmail.com> X-Google-Sender-Auth: b6f757d8fc69086e Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2006-07/txt/msg00235.txt.bz2 On 7/18/06, Santosh Sugur wrote: > On 7/17/06, Asher Langton wrote: > > >Thanks a lot. It went beyond the last error after I used gmake. It ran > > >for a couple of hours and then quit with the following error: > > > > > > > > >/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1/libjava/classpath/configure: > > >syntax error at line 11740: `QT_INCLUDE_DIR=$' unexpected > > >configure: error: /bin/sh > > >'/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1/libjava/classpath/configure' > > >failed for classpath > > > > Are you using Sun's /bin/sh? This is known to fail: > > > > http://gcc.gnu.org/install/specific.html#x-x-solaris2 > > > > > Thanks Asher. However the build still failed after setting > CONFIG_SHELL=/usr/bin/ksh Did you also export CONFIG_SHELL? Or, if you are using /bin/csh, you might need to 'setenv CONFIG_SHELL /usr/bin/ksh'. Try starting from scratch (with a clean object directory), setting CONFIG_SHELL and building with GNU make (gmake). If that doesn't work, post the error messages you are seeing. > One more question, I had gone through the host specific notes and had > not applied them as all of them were for *-*-solaris2*. I am using > SunOS 5.10. Was I wrong? >From what I understand, SunOS and Solaris refer to the same system; SunOS is the kernel, while Solaris is the distribution. In your earlier post, the log file line "checking host system type..." identified the system as Solaris. When in doubt, run the config.guess script in the gcc source directory, and you'll get an idea of what system GCC thinks you have. > Can the variable CONFIG_SHELL be set explicitly in some file because still > /bin/sh is being used. See above. It sounds like CONFIG_SHELL isn't being set. In the shell where you have set CONFIG_SHELL, type 'env'. Does CONFIG_SHELL show up in the listing? -Asher