Date: Wed, 3 Dec 2014 18:22:49 +0300 From: Odhiambo Washington <odhiambo@gmail.com> To: Warren Block <wblock@wonkity.com> Cc: questions <questions@freebsd.org> Subject: Re: How to manually compile on FreeBSD 10.x Message-ID: <CAAdA2WPz5fJpEBG6610BQ865ecDxaQcMRG2GHeCyswaU7R2=PA@mail.gmail.com> In-Reply-To: <alpine.BSF.2.11.1412030810440.84718@wonkity.com> References: <CAAdA2WO2g7e48kJc8=oQ=pKYUDNwX2obV5WnzupC8gmT5xiPFQ@mail.gmail.com> <alpine.BSF.2.11.1412030810440.84718@wonkity.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 3 December 2014 at 18:16, Warren Block <wblock@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@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 >> > > 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."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAdA2WPz5fJpEBG6610BQ865ecDxaQcMRG2GHeCyswaU7R2=PA>