Upgrade to 2.2.0

Morris, Andi amorris at cardiffmet.ac.uk
Tue Oct 9 16:23:44 CEST 2012


I've just updated my freeradius servers from 2.1.7 to 2.1.12 via yum update and it worked like a charm, I'd always been a little nervous to do this until now.  This has given me the confidence to look into upgrading the servers from the source files to get up to 2.2.0.

Reading the README and the INSTALL file from within the tar.gz file I can see that I need to run
./configure
make
make install

Firstly running ./configure failed because my server (CentOS 5.5) didn't have a C compiler installed.  I installed GCC via yum, and on we go.
Now the configure.log tells me I don't have make installed.  I installed that via yum, and on we go.

Now configure seems to be going along like the clappers, quicker than I can read the output to look for errors.
I then ran make, which also seemed to go along just fine.
Then make install, and likewise, nothing obviously wrong.

However when I ran the service in debug mode I can see that it hasn't been touched by the installer and is still running version 2.1.12, and working.

Looking back through and grepping config.log for 'error' I see the following:
conftest.c:8:28: error: ac_nonexistent.h: No such file or directory
conftest.c:8:28: error: ac_nonexistent.h: No such file or directory
conftest.c:16: error: size of array 'off_t_is_large' is negative
conftest.c:26: error: 'not' undeclared (first use in this function)
conftest.c:26: error: (Each undeclared identifier is reported only once
conftest.c:26: error: for each function it appears in.)
conftest.c:26: error: expected ';' before 'big'
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
conftest.c:66:22: error: resource.h: No such file or directory
conftest.c:33:22: error: resource.h: No such file or directory
conftest.c:83:21: error: winsock.h: No such file or directory
conftest.c:50:21: error: winsock.h: No such file or directory
conftest.c:85:26: error: sys/security.h: No such file or directory
conftest.c:52:26: error: sys/security.h: No such file or directory
conftest.c:90:18: error: prot.h: No such file or directory
conftest.c:57:18: error: prot.h: No such file or directory
conftest.c:94:17: error: sia.h: No such file or directory
conftest.c:61:17: error: sia.h: No such file or directory
conftest.c:94:18: error: siad.h: No such file or directory
conftest.c:61:18: error: siad.h: No such file or directory
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
conftest.c:102: error: void value not ignored as it ought to be
conftest.c:109: error: 'struct utmpx' has no member named 'ut_xtime'
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
conftest.c:114: error: too many arguments to function 'ctime_r'

I guess there's something here to show what's wrong?  Is there any log created by make and make install?  Do I need to specify an installation directory or does the code know where my existing installation is?

Cheers in advance for any help.
Andi
________________________________

>From 1st November 2011 UWIC changed its title to Cardiff Metropolitan University. From the 6th December 2011, as part of this change, all email addresses which included @uwic.ac.uk have changed to @cardiffmet.ac.uk. All emails sent from Cardiff Metropolitan University will now be sent from the new @cardiffmet.ac.uk address. Please could you ensure that all of your contact records and databases are updated to reflect this change. Further information can be found on the website here.<http://www3.uwic.ac.uk/English/News/Pages/UWIC-Name-Change.aspx>

Ar Dachwedd y 1af 2011 newidiodd UWIC ei henw i Brifysgol Fetropolitan Caerdydd. O Ragfyr 6ed, fel rhan o'r newid yma, bydd pob cyfeiriad e-bost sy'n cynnwys @uwic.ac.uk yn newid i @cardiffmet.ac.uk. Bydd yr holl ebyst a ddanfonir o Brifysgol Fetropolitan Caerdydd yn cael eu danfon o'r cyfeiriad @cardiffmet.ac.uk newydd. Gwnewch yn siwr eich bod yn diweddaru eich cofnodion cyswllt a'ch cronfeydd data i adlewyrchu hyn. Gellir cael rhagor o wybodaeth ar y wefan yma.<http://www3.uwic.ac.uk/English/News/Pages/UWIC-Name-Change.aspx>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20121009/2b9ad1c6/attachment.html>


More information about the Freeradius-Users mailing list