Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Dec 2014 08:28:02 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        Odhiambo Washington <odhiambo@gmail.com>
Cc:        questions <questions@freebsd.org>
Subject:   Re: How to manually compile on FreeBSD 10.x
Message-ID:  <alpine.BSF.2.11.1412030825230.84718@wonkity.com>
In-Reply-To: <CAAdA2WPz5fJpEBG6610BQ865ecDxaQcMRG2GHeCyswaU7R2=PA@mail.gmail.com>
References:  <CAAdA2WO2g7e48kJc8=oQ=pKYUDNwX2obV5WnzupC8gmT5xiPFQ@mail.gmail.com> <alpine.BSF.2.11.1412030810440.84718@wonkity.com> <CAAdA2WPz5fJpEBG6610BQ865ecDxaQcMRG2GHeCyswaU7R2=PA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 3 Dec 2014, Odhiambo Washington wrote:

> 
> 
> On 3 December 2014 at 18:16, Warren Block <wblock@wonkity.com> 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: <owner-freebsd-questions@FreeBSD.ORG>
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 <freebsd-questions@freebsd.org>; 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 <freebsd-questions@freebsd.org>; 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 <joshua@joshualokken.com>) 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 <joshua@joshualokken.com>
To: freebsd-questions@freebsd.org
Subject: Re: How to manually compile on FreeBSD 10.x
Message-ID: <20141203164555.GA74507@satellite.workgroup.local>
References: <CAAdA2WO2g7e48kJc8=oQ=pKYUDNwX2obV5WnzupC8gmT5xiPFQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="EeQfGwPcQSOJBaQU"
Content-Disposition: inline
In-Reply-To: <CAAdA2WO2g7e48kJc8=oQ=pKYUDNwX2obV5WnzupC8gmT5xiPFQ@mail.gmail.com>
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 <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.11.1412030825230.84718>