From owner-freebsd-questions@FreeBSD.ORG Wed Dec 3 14:03:07 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 33172740; Wed, 3 Dec 2014 14:03:07 +0000 (UTC) Received: from mail-yk0-x232.google.com (mail-yk0-x232.google.com [IPv6:2607:f8b0:4002:c07::232]) (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 DD8D3CC8; Wed, 3 Dec 2014 14:03:06 +0000 (UTC) Received: by mail-yk0-f178.google.com with SMTP id 20so6889704yks.37 for ; Wed, 03 Dec 2014 06:03:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=blxjeU9M2qzsbqIB75qOlWjeDBbfAu+Bj/bkYdIqVH4=; b=BDJjnU5rxoIfp1SxDoVopPL6YaCl3tDbryxAs0kp+KsVaq+KKx00r6Sn4miZ7AciTh nN4xkUvpd6rf1Tne4S9AvmPFXOX8HPyHmnk/erteTMhJ6kGNMPMkiwy4LFWY+lOyKlho GSx0dBRbzyVXPIyQtxNkRq/gMsy0gNLeq8hAK+kMFRJTup1lp60DIUb8UgEFPBKwfVuo kr6I8f3AURnszjzPQ3O7Fn0ywlC1OUbkiL7mlG2V2kgNz8GFVd7nQzTPbfDScrlIqwKI wj6B51WKmkse9KPoH1GxOZAg6N8htGFu/aqC6mUM1cywIRHNE+ls94U/PLMnEATGvgo/ xinw== MIME-Version: 1.0 X-Received: by 10.170.90.68 with SMTP id h65mr6591101yka.94.1417615386079; Wed, 03 Dec 2014 06:03:06 -0800 (PST) Received: by 10.170.90.131 with HTTP; Wed, 3 Dec 2014 06:03:05 -0800 (PST) In-Reply-To: References: Date: Wed, 3 Dec 2014 06:03:05 -0800 Message-ID: Subject: Re: How to manually compile on FreeBSD 10.x From: Mehmet Erol Sanliturk To: Odhiambo Washington Content-Type: text/plain; charset=UTF-8 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 14:03:07 -0000 On Wed, Dec 3, 2014 at 5:57 AM, Odhiambo Washington 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@gmail.com> 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." > 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