From owner-freebsd-questions@FreeBSD.ORG Wed Dec 3 13:58:41 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BEC05396; Wed, 3 Dec 2014 13:58:41 +0000 (UTC) Received: from mail-la0-x236.google.com (mail-la0-x236.google.com [IPv6:2a00:1450:4010:c03::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2A4BFBE2; Wed, 3 Dec 2014 13:58:41 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id pv20so7680313lab.41 for ; Wed, 03 Dec 2014 05:58:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=XybsI8jAhaMz/TGo1wxzS1M/zEGQ+icu/f6PofDW+rE=; b=AKSDeObxqt6FKehW+qQxhEAKl8FJBC/hd4vnqhGgIV1BoQeyy5pcfFx18SYqzQOllE tPvMHBPWvDJNS6DQwzKNJyEM2JO08WxE/ZG82KI+7NjeG5vCJR4PTVb/Qqc6lpjlfBeW biw6GCCGJqhi94PSLg69khrxi+wiH4/SWz1aRYy/sObQ45QvJuQr18hiR++ZVrCY6mrO 060lwwi/sJ8zyjr/fEaWKYogR8od7jIx7eqQcNjC+QTE0PzjJOGqpbOVF6d8KVEMuR8d QhmJkYrlzNC7eNuRTX0VlEqRJfinjiCV29fNbIxusHrNonI9Le52ePdawwd4vSoEuk43 vkqQ== X-Received: by 10.153.7.170 with SMTP id dd10mr4420825lad.44.1417615119157; Wed, 03 Dec 2014 05:58:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.53.72 with HTTP; Wed, 3 Dec 2014 05:57:58 -0800 (PST) In-Reply-To: References: From: Odhiambo Washington Date: Wed, 3 Dec 2014 16:57:58 +0300 Message-ID: Subject: Re: How to manually compile on FreeBSD 10.x To: Mehmet Erol Sanliturk Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: questions , User Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2014 13:58:42 -0000 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 wrote: > > > On Wed, Dec 3, 2014 at 5:37 AM, Odhiambo Washington > wrote: > >> >> On 3 December 2014 at 16:33, Mehmet Erol Sanliturk < >> m.e.sanliturk@gmail.com> wrote: >> >>> On Wed, Dec 3, 2014 at 3:09 AM, 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 >>> > >>> > >>> > >>> > -- >>> > 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."