How to manually compile on FreeBSD 10.x

Odhiambo Washington odhiambo at gmail.com
Wed Dec 3 15:23:33 UTC 2014


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'?


>
> For simple ports, changing the version in the Makefile and recreating the
> checksum file is enough.  Exim is likely not that simple.  There are lots
> of FreeBSD patch files for the 4.84 version.  Some of those might need to
> be changed or deleted.  Still, the port is a good reference for what will
> be needed.
>

I am used to doing that a lot, but I did not want to do it this time. When
running test versions, I am always comfortable doing it the way I am doing.
For instance for exim I manually make my Local/Makefile for the tarball (cp
src/EDITME Local/Makefile). For other applications, I always have a file I
name build-local-vXX.sh which has my favorite options to pass to configure
(./configure --opt --opt2 --optN). Life has been a little easier on earlier
versions of FreeBSD until 10 came.






-- 
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