How to manually compile on FreeBSD 10.x

Mehmet Erol Sanliturk m.e.sanliturk at gmail.com
Wed Dec 3 14:03:07 UTC 2014


On Wed, Dec 3, 2014 at 5:57 AM, Odhiambo Washington <odhiambo at gmail.com>
wrote:

> Hi Mehmet,
>
> You perhaps did not understand my question or I wasn't clear.
>
> On previous versions of FreeBSD, issues with compilers have never been an
> issue. However from FreeBSD 10, a lot has changed and it appears someone
> needs to manually install a compiler.
>
> I went around my problem by:
>
> cd /usr/bin
> ln -s clang++ gcc
>
> Then I went into my tarball and did the configure/make/make install but
> the compiler made so much noise that I am not even sure the application
> will run as expected.
> This is what i am trying to grasp from the people familiar with and using
> FreeBSD 10.x. I did not need all those wikipedia entries:)
>
>
>
>
> On 3 December 2014 at 16:52, Mehmet Erol Sanliturk <
> m.e.sanliturk at gmail.com> wrote:
>
>>
>>
>> On Wed, Dec 3, 2014 at 5:37 AM, Odhiambo Washington <odhiambo at gmail.com>
>> wrote:
>>
>>>
>>> On 3 December 2014 at 16:33, Mehmet Erol Sanliturk <
>>> m.e.sanliturk at gmail.com> wrote:
>>>
>>>> On Wed, Dec 3, 2014 at 3:09 AM, 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
>>>> >
>>>> >
>>>> >
>>>> > --
>>>> > Best regards,
>>>> > Odhiambo WASHINGTON,
>>>> > Nairobi,KE
>>>> > +254733744121/+254722743223
>>>> > "I can't hear you -- I'm using the scrambler."
>>>> >
>>>>
>>>>
>>>> What does
>>>>
>>>> "compile stuff by hand"
>>>>
>>>> mean ?
>>>>
>>>>
>>> Download tarball
>>> Extract tarball
>>> ./configure --with-your-favorite-opts
>>> make
>>> make install
>>>
>>>
>>>>
>>>
>>>
>>> --
>>> Best regards,
>>> Odhiambo WASHINGTON,
>>> Nairobi,KE
>>> +254733744121/+254722743223
>>> "I can't hear you -- I'm using the scrambler."
>>>
>>
>>
>>
>> http://en.wikipedia.org/wiki/Build_automation
>> http://en.wikipedia.org/wiki/List_of_build_automation_software
>> http://en.wikipedia.org/wiki/Category:Build_automation
>>
>>
>> If a suitable software exists for you in the Ports/Packages you may use
>> it ,
>> otherwise it may be necessary to download related sources of your
>> selected software
>> and compile and use it .
>>
>> For some projects supplying tarballs , they may also supply a Version
>> Control Facility
>> such as Subversion or Git which you may continuously upgrade your system
>> incrementally by using a clone of their Version Control Facility.
>>
>>
>> Thank you very much .
>>
>> Mehmet Erol Sanliturk
>>
>>
>>
>>
>>
>
>
> --
> Best regards,
> Odhiambo WASHINGTON,
> Nairobi,KE
> +254733744121/+254722743223
> "I can't hear you -- I'm using the scrambler."
>


Now your question is very clear .
My response was not to that question .

I am very sorry my wrong understanding .


Thank you very much .

Mehmet Erol Sanliturk


More information about the freebsd-questions mailing list