From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16652 invoked by alias); 10 Mar 2009 12:26:30 -0000 Received: (qmail 16641 invoked by uid 22791); 10 Mar 2009 12:26:29 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_44 X-Spam-Check-By: sourceware.org Received: from smtp2.cc.ic.ac.uk (HELO smtp2.cc.ic.ac.uk) (155.198.5.156) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 10 Mar 2009 12:26:20 +0000 Received: from icexp4.cc.ic.ac.uk ([155.198.3.44] helo=icexp4.ic.ac.uk) by smtp2.cc.ic.ac.uk with smtp (Exim 4.67) (envelope-from ) id 1Lh12H-0007vb-DC; Tue, 10 Mar 2009 12:26:17 +0000 Received: from icex1.ic.ac.uk ([155.198.3.1]) by icexp4.ic.ac.uk with Microsoft SMTPSVC(6.0.3790.3959); Tue, 10 Mar 2009 12:25:55 +0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: installing GCC Date: Tue, 10 Mar 2009 12:26:00 -0000 Message-ID: <2CB39EAF0E0EFF498ADEDA636B8C999F06A5CD35@icex1.ic.ac.uk> In-Reply-To: <49B55A79.2010603@redhat.com> References: <22404231.post@talk.nabble.com> <49B44FFF.6080104@sbcglobal.net> <22404413.post@talk.nabble.com> <2CB39EAF0E0EFF498ADEDA636B8C999F06A5CCFA@icex1.ic.ac.uk> <49B55A79.2010603@redhat.com> From: "Atwood, Robert C" To: "Andrew Haley" , "dan hitt" Cc: "e-karim" , Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2009-03/txt/msg00102.txt.bz2 I thought the OP simply did not realize that a C compiler is necessary to build the gcc! =20 I think the OP might find that other packages that are required might also be missing in a CD-sized distribution, and hopefully this project's Prerequisites page is up-to-date and inclusive enough. =20 http://gcc.gnu.org/install/prerequisites.html=20 (it does mention that a C compiler is necessary, and gives some more detail about which type of C compiler, I see)=20 Indeed though I'm not really a newbie anymore to the variosu distributions, having used several, I still find it sometimes confusing to figure out what the name of the PACKAGE that contains a certain program or utility actually is, especailly when several utilities are rolled into one package (like "build-essential"). But, most distros have some sort of package searching web utility.=20 Debian and friends (no doubt including Ubuntu) have an 'apt-get build-dep' and, probably, issuing (as root or via sudo) 'apt-get build-essential' and 'apt-get build-dep gcc' should pull all the necessary tools to build the version of gcc that is included in the distro. If these dependencies differ between that version and the one the user is actually trying to build, then the user must address these differences. I've been using plain Debian but also pure:dyne (debian-derived cd or usb live distro for music and visual art) and indeed gcc got left off that one though it is nto clear to me if that was intentional or not! ( a recent pre-release had a BROKEN gcc due to incomplete or incorrect dependency specifications, for example)=20 =20 =20 =20 > -----Original Message----- > From: Andrew Haley [mailto:aph@redhat.com]=20 > Sent: 09 March 2009 18:06 > To: dan hitt > Cc: Atwood, Robert C; e-karim; gcc-help@gcc.gnu.org > Subject: Re: installing GCC >=20 > dan hitt wrote: > > Hi Robert, > >=20 > > I think the issue is that for somebody new to ubuntu, it is > > very, very surprising that there's no compiler. It certainly > > was to me. > >=20 > > And the answer to your reasonable question can be either: > > (1) that whoever is doing it does not yet know the > > command sequence > > sudo apt-get install gcc >=20 > Or (for newbies, OK) >=20 > System>Administration>Synaptic Package Manager >=20 > Click the package "gcc" and "mark for installation". >=20 > > (2) that whoever is doing it has a lousy internet connection, so > > that these apt-get commands take so long they are not really > > feasible. > >=20 > > (And even though this is getting afield from gcc, ubuntu is free > > software, and it is popular, so it comes up.) >=20 > Yeah, and Ubuntu comes as standard with a very cut-down=20 > installer that'll > fit on a CDR, so you have to install most packages=20 > afterwards. At least, > it's only a CD image that I see on their getubuntu page. >=20 > Andrew. >=20