From owner-freebsd-questions@FreeBSD.ORG Wed Dec 3 15:28:04 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 85CBF59F for ; Wed, 3 Dec 2014 15:28:04 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 19F7497D for ; Wed, 3 Dec 2014 15:28:03 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id sB3FS2Hk003817 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 3 Dec 2014 08:28:02 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id sB3FS2cl003814; Wed, 3 Dec 2014 08:28:02 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 3 Dec 2014 08:28:02 -0700 (MST) From: Warren Block To: Odhiambo Washington Subject: Re: How to manually compile on FreeBSD 10.x In-Reply-To: Message-ID: References: User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Wed, 03 Dec 2014 08:28:02 -0700 (MST) Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2014 15:28:04 -0000 On Wed, 3 Dec 2014, Odhiambo Washington wrote: > > > On 3 December 2014 at 18:16, Warren Block wrote: > On Wed, 3 Dec 2014, Odhiambo Washington wrote: > > What do I need to install on FreeBSD 10 to enable me compile stuff by hand? > > [root@admin ~/Exim/exim-4.85_RC2]# uname -a > FreeBSD admin.cnet.co.za 10.0-RELEASE-p12 FreeBSD 10.0-RELEASE-p12 #0: Tue > Nov  4 04:15:03 UTC 2014 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC > i386 > > > I would suggest using the mail/exim port as a framework.  'make missing' in that port will show all the dependencies that are not already installed. > > > Thanks for that clue. I will use it next time because now I am already installing gcc49. I initially installed mail/exim port and then did make deinstall. I had hoped that would fix the > issues around the compiler but it didn't. Isn't it supposed to have done done when I did 'make install'? It will install all the dependencies, but they have to be called as they would from the port. gmake instead of make, for example, or gcc48 instead of cc or gcc, that type of thing. Some of what the port does might be hidden because so much is done by the Makefiles in /usr/ports/Mk. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 3 17:06:32 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4F8993D9 for ; Wed, 3 Dec 2014 17:06:32 +0000 (UTC) Received: from planemo.joshualokken.com (planemo.joshualokken.com [192.184.92.135]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 34259CB5 for ; Wed, 3 Dec 2014 17:06:31 +0000 (UTC) Received: from 0019cb2ce9ff.click-network.com ([131.191.16.14] helo=localhost) by planemo.joshualokken.com with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.84 (FreeBSD)) (envelope-from ) id 1XwD3E-00050H-I1 for freebsd-questions@freebsd.org; Wed, 03 Dec 2014 08:45:18 -0800 Date: Wed, 3 Dec 2014 08:45:55 -0800 From: Joshua Lokken To: freebsd-questions@freebsd.org Subject: Re: How to manually compile on FreeBSD 10.x Message-ID: <20141203164555.GA74507@satellite.workgroup.local> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="EeQfGwPcQSOJBaQU" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2014 17:06:32 -0000 --EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Dec/03 02:09PM, Odhiambo Washington wrote: > Hi guys, >=20 > What do I need to install on FreeBSD 10 to enable me compile stuff by han= d? >=20 > [root@admin ~/Exim/exim-4.85_RC2]# uname -a > FreeBSD admin.cnet.co.za 10.0-RELEASE-p12 FreeBSD 10.0-RELEASE-p12 #0: Tue > Nov 4 04:15:03 UTC 2014 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC > i386 >=20 >=20 >=20 > [root@admin ~/Exim]# cp Makefile-Exim-4.85x.txt exim-4.85_RC2/L > LICENCE LICENSE.opendmarc Local/ > [root@admin ~/Exim]# cp Makefile-Exim-4.85x.txt exim-4.85_RC2/Local/Makef= ile > [root@admin ~/Exim]# cd exim-4.85_RC2 > [root@admin ~/Exim/exim-4.85_RC2]# make > /bin/sh scripts/source_checks >=20 > >>> Creating links to source files... > >>> Creating lookups/Makefile for building dynamic modules > >>> New Makefile & lookups/Makefile installed > >>> Use "make makefile" if you need to force rebuilding of the makefile >=20 > */bin/sh ../scripts/Configure-os.h* > */bin/sh ../scripts/Configure-os.c* > *gcc buildconfig.c* > *make[1]: exec(gcc) failed (No such file or directory)* > **** Error code 1* >=20 > Stop. > make[1]: stopped in /root/Exim/exim-4.85_RC2/build-FreeBSD-i386 > *** Error code 1 >=20 > Stop. > make: stopped in /root/Exim/exim-4.85_RC2 Short answer,=20 # ln -s /usr/local/bin/gcc48 /usr/local/bin/gcc should get the job done. -- Joshua --EeQfGwPcQSOJBaQU Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJUfz5DAAoJELtj8KItreanMZAQAIFiD4rFuOJkBs/cXHWq/XH2 jdnTQuymT07hpCd6HH3qX0rSfVz1E2movvUu2rWbigUTM0OCaHphzcQ6tbzGRWkz jKM0+35iWbU3JGX3zXBC9KhOrppTVdAuXMiX9MmpGix7a2l33gqsf5+c1SzbMfzQ RI6pmH+/D1OvHerARxbrGtF+rw3XVseEolkm8Ij5AeYcUlQORYlh9U3HW5kL8KLF TfYX65mv8ruh22tUXlFw98eKvG3hxFQPcdIkswenkvz/I6JVm/WM2m0Hcb7YgsQs cnhF0RADA2olDv1ij14AkKwT5BFVo/wgRgiMtK27OEaYZQ8+O2jfFOdB0ntl6HN6 47R0jrDGd3eJ8pPbRD5QZmB1ZVvznHjqhiQgXpOCSv0L4ka4TSbCvogmEfsg1RfI NOhcfuA6ceh2HQhynJCoIzV4GUQAxX6Y5MLN6NFqM/ogYNsvrrrxK2Pz5rFU0NTc efpg5a/qMIUPtJ5ygzz9eRrpvhHidfRHlg3MKA/wrCrtJnSlAALuNtruSqFD9x7w Y2YZZxsz91CWl4yhWmSlupbW+k++BpJZ/CHy5z6zbLKlY/0b46/gEctJ/vqtShe2 jxJM7inGf7/uO03WVbN044/JWFU7NiBu+JapO6nq0rQsrLVgqay3hT16HvRo7fos vWOn97zMlDidqVOhnLEV =3D3N -----END PGP SIGNATURE----- --EeQfGwPcQSOJBaQU--