Building RPMs
Bruce Bauman
bbauman at oit.rutgers.edu
Fri Jul 22 00:04:28 CEST 2016
I think getting a modern compiler will be the trickiest part
Sent from my iPhone
> On Jul 21, 2016, at 5:59 PM, Adam Bishop <Adam.Bishop at jisc.ac.uk> wrote:
>
> On my phone so a slightly terse reply - iirc hiredis is in epel - on centos install epel-release.
>
> Adam Bishop
>
>> On 21 Jul 2016, at 23:54, Matthew Newton <mcn4 at leicester.ac.uk> wrote:
>>
>> Hi,
>>
>> Thought I'd have a look at building FreeRADIUS RPMs. I advanced
>> from RedHat to Debian over 15 years ago, so not at all familiar
>> with their repositories etc now. So apologies if the below is just
>> me being stupid.
>>
>> With CentOS 7 (which I believe is equivalent enough to RedHat) I get
>>
>> $ rpmbuild -bb redhat/freeradius.spec
>> error: Failed build dependencies:
>> hiredis-devel >= 0.10 is needed by freeradius-3.1.0-1.el7.centos.x86_64
>> freetds-devel is needed by freeradius-3.1.0-1.el7.centos.x86_64
>> $
>>
>> Neither of these two packages seem to be in the standard CentOS
>> repositories. Same issue on Scientific Linux, which is also
>> RedHat based.
>>
>> The README is rather unhelpful, pointing to a (IMHO) far too long
>> and unwieldy Red Hat FAQ on the wiki, which goes into all sorts of
>> generic discussion about Red Hat, and not about building
>> FreeRADIUS RPMs. The essential and unuseful gist being "don't
>> build your own RPMs, use ours".
>>
>> Which would be fine if RedHat weren't stuck in the dark ages, and
>> actually provided a recent FR. (I guess they're slightly up on
>> Debian though.)
>>
>> I think there should be an easy way for people to build RPMs, like
>> you can .debs.
>>
>> Firstly, have I missed something? Are the two missing packages in
>> the official repositories, and I just need to know something to
>> get them available?
>>
>> If not, I'm guessing you have to add unofficial repositories?
>> Seems crazy they don't support FreeTDS and REDIS though?
>>
>> Thoughts -
>>
>> - building RPMs should be as simple as possible for anyone;
>>
>> - you shouldn't have to add extra unofficial repositories to do so;
>>
>> - if other features not in the official repositories are needed,
>> maybe a second "-extra" spec file with instructions on how to
>> add the extra required repos;
>>
>> - the RedHat page on the wiki needs seriously sorting out in to
>> separate pages of useful: "How to build FreeRADIUS RPMs for
>> RedHat systems" and not useful: "Why you should pay RedHat for
>> their own support and not use the FreeRADIUS source to build
>> your own RPMs".
>>
>> Comments?
>>
>> Thanks,
>>
>> Matthew
>>
>> (getting totally fed up of "I'm using 2.1.12 or 3.0.4" on -users,
>> and wanting something useful and easy to point people at...)
>>
>>
>> --
>> 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>
>> -
>> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
>
> Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc’s registered office is: One Castlepark, Tower Hill, Bristol, BS2 0JA. T 0203 697 5800.
>
> Jisc Services Limited is a wholly owned Jisc subsidiary and a company limited by guarantee which is registered in England under company number 2881024, VAT number GB 197 0632 86. The registered office is: One Castle Park, Tower Hill, Bristol BS2 0JA. T 0203 697 5800.
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
More information about the Freeradius-Devel
mailing list