Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Dec 2014 15:09:27 +0100
From:      Julien Cigar <jcigar@ulb.ac.be>
To:        Odhiambo Washington <odhiambo@gmail.com>
Cc:        questions <questions@freebsd.org>, User Questions <freebsd-questions@freebsd.org>
Subject:   Re: How to manually compile on FreeBSD 10.x
Message-ID:  <20141203140927.GC23042@mordor.lan>
In-Reply-To: <CAAdA2WOJpqHkVe9dea-8_AXEWOYKwNRtr9ZQ6hei7X1pvZbD7g@mail.gmail.com>
References:  <CAAdA2WO2g7e48kJc8=oQ=pKYUDNwX2obV5WnzupC8gmT5xiPFQ@mail.gmail.com> <CAOgwaMtPFsNNM9reg5iRSjO5At09dbU7V-Kg=D9hcHxtEi3znw@mail.gmail.com> <CAAdA2WMFi2p_sOraRTM1HSMt_bfUj3ragaGtm7NrZnPgwaMtMg@mail.gmail.com> <CAOgwaMtmVixcEXHq1Y2wat1p2XWY5JE1ytaFzBnew8198cK%2Btg@mail.gmail.com> <CAAdA2WOJpqHkVe9dea-8_AXEWOYKwNRtr9ZQ6hei7X1pvZbD7g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--WfZ7S8PLGjBY9Voh
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Dec 03, 2014 at 04:57:58PM +0300, Odhiambo Washington wrote:
> Hi Mehmet,
>=20
> You perhaps did not understand my question or I wasn't clear.
>=20
> 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.

GCC has been removed from BASE in FreeBSD 10+ (and replaced by CLANG)

>=20
> I went around my problem by:
>=20
> cd /usr/bin
> ln -s clang++ gcc

that's a very bad idea.. You should install gcc from ports or force=20
CXX=3Dclang++ in the Makefile (or in the env).

also I don't understand why you're not using the port (mail/exim) ?

>=20
> Then I went into my tarball and did the configure/make/make install but t=
he
> 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:)
>=20
>=20
>=20
>=20
> On 3 December 2014 at 16:52, Mehmet Erol Sanliturk <m.e.sanliturk@gmail.c=
om>
> wrote:
>=20
> >
> >
> > On Wed, Dec 3, 2014 at 5:37 AM, Odhiambo Washington <odhiambo@gmail.com>
> > 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 <odhiambo@gmail.c=
om>
> >>> 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 make=
file
> >>> >
> >>> > */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 selec=
ted
> > 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
> >
> >
> >
> >
> >
>=20
>=20
> --=20
> Best regards,
> Odhiambo WASHINGTON,
> Nairobi,KE
> +254733744121/+254722743223
> "I can't hear you -- I'm using the scrambler."
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o=
rg"

--=20
Julien Cigar
Belgian Biodiversity Platform (http://www.biodiversity.be)
PGP fingerprint: EEF9 F697 4B68 D275 7B11  6A25 B2BB 3710 A204 23C0
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.

--WfZ7S8PLGjBY9Voh
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAABCgAGBQJUfxmXAAoJEAi2KiTKQR5pPTAP/1+alYBzo8aTCVQ/b2YnQfiV
bs1MNj6EnUl8yM8zFy4FVeg3GKB/OfR8vwa900TnON5Oq3egsVgQ8aq/mcs9Gl2A
R492E8b5snDvebEldliN+yRF/In2UWIdnG6yvyCCQ1+UJAGC31Kh2jZR/oVRVWI6
lYgWRaS8yPv9DPbdUyzBT+PkVukLat5HoF5rK0A4PvVPghinwLh2RdPB1IPh4GTi
vVXJqzXwgypzqim8r487yiwh5+ttYAc3cVrMx1e3cBGSzrEMNGIeFJeGbto70+6X
20ZVCe1piqVNjRyh5A10KwtFtKjyr1e3mVWHBq4u+7MFPct1pQeakmmlEHo0RMCB
EH0JrFBEURLUDpgoS5xlhMnqfPmJBx2SOkT+g3JG3eGthcnAYEjXttIBPUtU17tc
zyO3GeRm1Kxw0T7pL7JIp8tEeDT5tYpDhj4jvXCpROyxvGhCYGdg/M3T6Ip6H5Vo
0RWke45lznHOP+pMjUqUROWxH86vhcCdFGOIEPbqHy7OBHLjNA+HCep8suwlo285
Pj0AW+Rihlr+AiKKjk9FAaYjcUMoQssC45ck3JaEFV1i07ZibDxR6quuzPq8f4l+
MvcZ1yTBEuZhpJa57FxDzmcHaGYWwe9ZChrCC955I6ZWB0GCKg0hOy+fFQHkxR41
HlhI0NSRwrBaFtBAEiYw
=rrW9
-----END PGP SIGNATURE-----

--WfZ7S8PLGjBY9Voh--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141203140927.GC23042>