How to manually compile on FreeBSD 10.x

Warren Block wblock at wonkity.com
Wed Dec 3 15:28:04 UTC 2014


On Wed, 3 Dec 2014, Odhiambo Washington wrote:

> 
> 
> On 3 December 2014 at 18:16, Warren Block <wblock at 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 at 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 at 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.


More information about the freebsd-questions mailing list