From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23746 invoked by alias); 27 Sep 2004 12:20:31 -0000 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 Received: (qmail 23523 invoked from network); 27 Sep 2004 12:20:13 -0000 Received: from unknown (HELO mail.uni-magdeburg.de) (141.44.1.10) by sourceware.org with SMTP; 27 Sep 2004 12:20:13 -0000 Received: from sunny.urz.uni-magdeburg.de ([141.44.8.7]) by mail.uni-magdeburg.de with esmtp (EXIM Version 4.41) for id 1CBuUD-0003fF-9w; Mon, 27 Sep 2004 14:20:12 +0200 Received: from connect3.urz.uni-magdeburg.de (IDENT:s6nb/8f5Rj6viSQbdua32n5f/SLfd8UM@connect3.URZ.Uni-Magdeburg.DE [141.44.11.4]) by sunny.urz.uni-magdeburg.de (8.12.10/8.12.10) with ESMTP id i8RCJFcZ029255 for ; Mon, 27 Sep 2004 14:19:15 +0200 Received: (from bley@localhost) by connect3.urz.uni-magdeburg.de (8.11.6/8.11.6) id i8RCJFa03543 for gcc-help@gcc.gnu.org; Mon, 27 Sep 2004 14:19:15 +0200 Date: Mon, 27 Sep 2004 12:20:00 -0000 From: Claudio Bley To: gcc-help@gcc.gnu.org Subject: Re: Problem installing gcc 3.4.2 on Solaris 9 Message-ID: <20040927121915.GB3013@connect3.urz.uni-magdeburg.de> Mail-Followup-To: Claudio Bley , gcc-help@gcc.gnu.org References: <200409271207.i8RC6vg7002005@prinz.cs.uni-magdeburg.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200409271207.i8RC6vg7002005@prinz.cs.uni-magdeburg.de> User-Agent: Mutt/1.4.2.1i X-Spam-Score: -4.9 (----) X-Spam-Report: ---- Start SpamAssassin results -4.9 points, 5.0 required; -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] ---- End of SpamAssassin results X-Scan-Signature: 2f255716d114fd33a6975e7c663eba49 X-SW-Source: 2004-09/txt/msg00299.txt.bz2 Hello Ryan, On Mon, Sep 27, 2004 at 08:06:36AM -0400, Ryan McFall wrote: > Hi: > > I've downloaded the full sources for gcc and unpacked them somewhere into my > home directory. This results in a subdirectory of my home directory called > gcc-3.4.2. I then did the following: > > mkdir objdir > cd objdir > /home/mcfall/dept/sysadmin/gcc-3.4.2/configure --prefix=/opt/gnu2 > --with-local-prefix=/opt/gnu2 --enable-threads=solaris > --enable-version-specific-runtime-libs --enable-languages=c,c++,f77 > make bootstrap > make install > > Without specifying the full path to configure, I got problems running make > install, complaining about install-sh not being found in a relative path > name. I found the suggestion to use a full path name on another post. > > This series of commands worked without make returning any errors that I > could see. However, there is nothing in the /opt/gnu2/include directory, > and this makes compiling anything useful obviously difficult. When it is empty why did you specify --with-local-prefix then??? >From the install docs: "--with-local-prefix=dirname Specify the installation directory for local include files. The default is /usr/local. Specify this option if you want the compiler to search directory dirname/include for locally installed header files *instead* of /usr/local/include." [...] Indications are that people who use this option use it based on mistaken ideas of what it is for. People use it as if it specified where to install part of GCC. Perhaps they make this assumption because installing GCC creates the directory." > Did I miss something here? I've looked through all the installation docs > and I don't see anything that I should have done differently or > additionally. Really?! ;-) -- Claudio