Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Dec 2014 07:41:41 +0300
From:      Odhiambo Washington <odhiambo@gmail.com>
To:        Joshua Lokken <joshua@joshualokken.com>
Cc:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: How to manually compile on FreeBSD 10.x
Message-ID:  <CAAdA2WN=2q%2BdhdoEHbZ7Dn-5H0aoKAJAwi9gCBct79j_cG0Lxg@mail.gmail.com>
In-Reply-To: <20141203164555.GA74507@satellite.workgroup.local>
References:  <CAAdA2WO2g7e48kJc8=oQ=pKYUDNwX2obV5WnzupC8gmT5xiPFQ@mail.gmail.com> <20141203164555.GA74507@satellite.workgroup.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3 December 2014 at 19:45, Joshua Lokken <joshua@joshualokken.com> wrote:

> 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@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
> >
> >
> >
> > [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/Makefile
> > [root@admin ~/Exim]# cd exim-4.85_RC2
> > [root@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
>


Sure. After installing gcc49 from the ports!

Thank you.

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
"I can't hear you -- I'm using the scrambler."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAdA2WN=2q%2BdhdoEHbZ7Dn-5H0aoKAJAwi9gCBct79j_cG0Lxg>