Building RPMs

Matthew Newton mcn4 at leicester.ac.uk
Fri Jul 22 00:43:27 CEST 2016


On Thu, Jul 21, 2016 at 11:32:11PM +0100, Matthew Newton wrote:
> On Thu, Jul 21, 2016 at 06:24:25PM -0400, Arran Cudbard-Bell wrote:
> > 
> > > On 21 Jul 2016, at 18:04, Bruce Bauman <bbauman at oit.rutgers.edu> wrote:
> > > 
> > > I think getting a modern compiler will be the trickiest part
> > 
> > That’s actually not so bad :)
> > 
> > http://wiki.freeradius.org/building/Build#building-from-source_building-on-rhel7
> 
> Hmm. That's what I did to get it working in Scientific Linux.
> 
> Doesn't seem to be there in CentOS 7 :(.

OK, this is tedious.

So you can do

  # yum install centos-release-scl-rh

which seems to add some repositories, so you can then get
devtoolset-3-gcc (gcc 4.9) and devtoolset-4-gcc (gcc 5).

Then you do, as Adam said,

  # yum install epel-release

and you then get freetds-devel and hiredis-devel available.

Then you have to

  $ scl enable devtoolset-3 bash

to get gcc available.

And people pay to go through this.

Thanks all - I'll be able to move forward a bit now. Maybe all
that needs updating is the build documentation.

Matthew


-- 
Matthew Newton, Ph.D. <mcn4 at leicester.ac.uk>

Systems Specialist, Infrastructure Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom

For IT help contact helpdesk extn. 2253, <ithelp at le.ac.uk>


More information about the Freeradius-Devel mailing list