How to manually compile on FreeBSD 10.x

Odhiambo Washington odhiambo at gmail.com
Wed Dec 3 15:04:20 UTC 2014


On 3 December 2014 at 17:31, Eduardo Morras <emorrasg at yahoo.es> wrote:

> On Wed, 3 Dec 2014 14:09:31 +0300
> Odhiambo Washington <odhiambo at gmail.com> 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
>
> FreeBSD 10 has a new make, bmake, before we used pmake and both use a
> different syntax to gnu make. Try using gmake instead make.
>
> If gmake isn't installed, go to /usr/ports/devel/gmake as root, and type
> 'make install' to install it.
>


[root at admin ~/Exim/exim-4.85_RC2]# make clean

*** "make clean" just removes all .o and .a files
*** Use "make makefile" to force a rebuild of the makefile

cd build-${build:-`/bin/sh scripts/os-type`-`/bin/sh scripts/arch-type`};
 /bin/rm -f *.o lookups/*.o lookups/*.a auths/*.o auths/*.a  routers/*.
o routers/*.a transports/*.o transports/*.a  pdkim/*.o pdkim/*.a

[root at admin ~/Exim/exim-4.85_RC2]# gmake
/bin/sh scripts/source_checks
`Makefile' is up to date.

gmake[1]: Entering directory '/root/Exim/exim-4.85_RC2/build-FreeBSD-i386'
Makefile:44: *** missing separator.  Stop.
gmake[1]: Leaving directory '/root/Exim/exim-4.85_RC2/build-FreeBSD-i386'
Makefile:29: recipe for target 'all' failed
gmake: *** [all] Error 2


So that is NOT helping still..



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


More information about the freebsd-questions mailing list