How to manually compile on FreeBSD 10.x
Joshua Lokken
joshua at joshualokken.com
Wed Dec 3 17:06:32 UTC 2014
On Dec/03 02:09PM, Odhiambo Washington wrote:
> Hi guys,
>
> 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
>
>
>
> [root at admin ~/Exim]# cp Makefile-Exim-4.85x.txt exim-4.85_RC2/L
> LICENCE LICENSE.opendmarc Local/
> [root at admin ~/Exim]# cp Makefile-Exim-4.85x.txt exim-4.85_RC2/Local/Makefile
> [root at admin ~/Exim]# cd exim-4.85_RC2
> [root at admin ~/Exim/exim-4.85_RC2]# make
> /bin/sh scripts/source_checks
>
> >>> 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
>
> */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*
>
> Stop.
> make[1]: stopped in /root/Exim/exim-4.85_RC2/build-FreeBSD-i386
> *** Error code 1
>
> Stop.
> make: stopped in /root/Exim/exim-4.85_RC2
Short answer,
# ln -s /usr/local/bin/gcc48 /usr/local/bin/gcc
should get the job done.
--
Joshua
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20141203/12bde0d8/attachment.sig>
More information about the freebsd-questions
mailing list