From owner-freebsd-ports@FreeBSD.ORG Tue Oct 5 12:06:45 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C47C01065693 for ; Tue, 5 Oct 2010 12:06:45 +0000 (UTC) (envelope-from chetan.shukla@aricent.com) Received: from jaguar.aricent.com (jaguar.aricent.com [180.151.2.24]) by mx1.freebsd.org (Postfix) with ESMTP id F37E98FC13 for ; Tue, 5 Oct 2010 12:06:44 +0000 (UTC) Received: from jaguar.aricent.com (localhost [127.0.0.1]) by postfix.imss71 (Postfix) with ESMTP id 976EF36B70; Tue, 5 Oct 2010 17:35:16 +0530 (IST) Received: from GUREXHT01.ASIAN.AD.ARICENT.COM (gurexht01.asian.ad.aricent.com [10.203.171.136]) by jaguar.aricent.com (Postfix) with ESMTP id 8188F36B3A; Tue, 5 Oct 2010 17:35:16 +0530 (IST) Received: from GUREXMB01.asian.ad.aricent.com ([10.203.171.130]) by GUREXHT01.ASIAN.AD.ARICENT.COM ([10.203.171.137]) with mapi; Tue, 5 Oct 2010 17:36:42 +0530 From: Chetan Shukla To: Jeremy Chadwick Date: Tue, 5 Oct 2010 17:36:41 +0530 Thread-Topic: Issues in installing Gmake and Gcc on FreeBSD Thread-Index: ActkgosVSNq2wHDjRs2DwM2dDMVSOwAAxDtw Message-ID: References: <20101005114326.GA31432@icarus.home.lan> In-Reply-To: <20101005114326.GA31432@icarus.home.lan> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "freebsd-ports@freebsd.org" Subject: RE: Issues in installing Gmake and Gcc on FreeBSD X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Oct 2010 12:06:45 -0000 Thanks Jeremy, Started work on ur guidance :) Regards, Chetan -----Original Message----- From: Jeremy Chadwick [mailto:freebsd@jdc.parodius.com] Sent: Tuesday, October 05, 2010 5:13 PM To: Chetan Shukla Cc: freebsd-ports@freebsd.org Subject: Re: Issues in installing Gmake and Gcc on FreeBSD On Tue, Oct 05, 2010 at 05:02:08PM +0530, Chetan Shukla wrote: > I am trying to install GCC and Gmake on FreeBSd machine and faced follow= ing issues: > GCC: > > Steps: > 1)At directory gcc-3.3.2 I ran ./configure -enable-obsolete > 2)error returned: > Please update *-*-freebsd* in gcc/config.gcc > Configure in /usr/home/iptk/gcc-3.3.2/gcc failed, exiting. > > 3)I have included this string in gcc/config.gcc with architecture string = as i386 but still facing same issue. > > The configuration and version details: > Machine arch:i386 > FreeBSD version: FreeBSD 8.0-RELEASE #0: > GCC version :gcc-3.3.2 > > Gmake: > > Steps: > 1)I have un tarred the gmake-3.79.1.tgz but it did not create any gmake-3= .79.1 directory. > 2)Hence I am unable to run ./configure and make and make install. > > The hardware details remain same. > The system is not connected to Internet so I cannot use pkg-add. > > To give backdrop all this is needed to port linux code to FreeBSD. > > Please let me know your inputs on the above, > Also please excuse me if it is wrong mailing list and please redirect it > to the correct one. GCC on FreeBSD is "special" in the sense that you should either use the version that's included in the base system (4.2.1 as of 8.0-RELEASE), or if you need an older/different version, install it from ports/packages. The same goes for gmake. You managed to get the source code to both gcc and gmake on a system which isn't connected to the Internet, so surely you could download the binary versions of the FreeBSD packages and install those...? Take a peek in: ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-release/All/ Look for gcc* and gmake*. These are probably what you want: -rw-r--r-- 1 110 1002 351139 Oct 20 2009 gmake-3.81_3.tbz -rw-r--r-- 1 110 1002 14269507 Oct 20 2009 gcc-3.4.6_3,1.tbz If you download these packages, you can get them onto the machine however possible and simply pkg_add the files (literally: "pkg_add xxx.tbz"). You might have to download some dependency packages, but pkg_add should tell you what those are if needed. -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | "DISCLAIMER: This message is proprietary to Aricent and is intended solely = for the use of the individual to whom it is addressed. It may contain privi= leged or confidential information and should not be circulated or used for = any purpose other than for what it is intended. If you have received this m= essage in error, please notify the originator immediately. If you are not t= he intended recipient, you are notified that you are strictly prohibited fr= om using, copying, altering, or disclosing the contents of this message. Ar= icent accepts no responsibility for loss or damage arising from the use of = the information transmitted by this email including damage from virus."