<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
{font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline}
span.EmailStyle17
{font-family:"Calibri","sans-serif";
color:windowtext}
.MsoChpDefault
{font-family:"Calibri","sans-serif"}
@page WordSection1
{margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.WordSection1
{}
-->
</style>
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">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.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Reading the README and the INSTALL file from within the tar.gz file I can see that I need to run</p>
<p class="MsoNormal">./configure</p>
<p class="MsoNormal">make</p>
<p class="MsoNormal">make install</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">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.</p>
<p class="MsoNormal">Now the configure.log tells me I don’t have make installed. I installed that via yum, and on we go.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Now configure seems to be going along like the clappers, quicker than I can read the output to look for errors.</p>
<p class="MsoNormal">I then ran make, which also seemed to go along just fine.</p>
<p class="MsoNormal">Then make install, and likewise, nothing obviously wrong.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">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.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Looking back through and grepping config.log for ‘error’ I see the following:</p>
<p class="MsoNormal">conftest.c:8:28: error: ac_nonexistent.h: No such file or directory</p>
<p class="MsoNormal">conftest.c:8:28: error: ac_nonexistent.h: No such file or directory</p>
<p class="MsoNormal">conftest.c:16: error: size of array 'off_t_is_large' is negative</p>
<p class="MsoNormal">conftest.c:26: error: 'not' undeclared (first use in this function)</p>
<p class="MsoNormal">conftest.c:26: error: (Each undeclared identifier is reported only once</p>
<p class="MsoNormal">conftest.c:26: error: for each function it appears in.)</p>
<p class="MsoNormal">conftest.c:26: error: expected ';' before 'big'</p>
<p class="MsoNormal">| /* Override any GCC internal prototype to avoid an error.</p>
<p class="MsoNormal">| /* Override any GCC internal prototype to avoid an error.</p>
<p class="MsoNormal">| /* Override any GCC internal prototype to avoid an error.</p>
<p class="MsoNormal">| /* Override any GCC internal prototype to avoid an error.</p>
<p class="MsoNormal">| /* Override any GCC internal prototype to avoid an error.</p>
<p class="MsoNormal">| /* Override any GCC internal prototype to avoid an error.</p>
<p class="MsoNormal">| /* Override any GCC internal prototype to avoid an error.</p>
<p class="MsoNormal">| /* Override any GCC internal prototype to avoid an error.</p>
<p class="MsoNormal">| /* Override any GCC internal prototype to avoid an error.</p>
<p class="MsoNormal">| /* Override any GCC internal prototype to avoid an error.</p>
<p class="MsoNormal">| /* Override any GCC internal prototype to avoid an error.</p>
<p class="MsoNormal">| /* Override any GCC internal prototype to avoid an error.</p>
<p class="MsoNormal">| /* Override any GCC internal prototype to avoid an error.</p>
<p class="MsoNormal">| /* Override any GCC internal prototype to avoid an error.</p>
<p class="MsoNormal">| /* Override any GCC internal prototype to avoid an error.</p>
<p class="MsoNormal">| /* Override any GCC internal prototype to avoid an error.</p>
<p class="MsoNormal">| /* Override any GCC internal prototype to avoid an error.</p>
<p class="MsoNormal">| /* Override any GCC internal prototype to avoid an error.</p>
<p class="MsoNormal">| /* Override any GCC internal prototype to avoid an error.</p>
<p class="MsoNormal">| /* Override any GCC internal prototype to avoid an error.</p>
<p class="MsoNormal">conftest.c:66:22: error: resource.h: No such file or directory</p>
<p class="MsoNormal">conftest.c:33:22: error: resource.h: No such file or directory</p>
<p class="MsoNormal">conftest.c:83:21: error: winsock.h: No such file or directory</p>
<p class="MsoNormal">conftest.c:50:21: error: winsock.h: No such file or directory</p>
<p class="MsoNormal">conftest.c:85:26: error: sys/security.h: No such file or directory</p>
<p class="MsoNormal">conftest.c:52:26: error: sys/security.h: No such file or directory</p>
<p class="MsoNormal">conftest.c:90:18: error: prot.h: No such file or directory</p>
<p class="MsoNormal">conftest.c:57:18: error: prot.h: No such file or directory</p>
<p class="MsoNormal">conftest.c:94:17: error: sia.h: No such file or directory</p>
<p class="MsoNormal">conftest.c:61:17: error: sia.h: No such file or directory</p>
<p class="MsoNormal">conftest.c:94:18: error: siad.h: No such file or directory</p>
<p class="MsoNormal">conftest.c:61:18: error: siad.h: No such file or directory</p>
<p class="MsoNormal">| /* Override any GCC internal prototype to avoid an error.</p>
<p class="MsoNormal">| /* Override any GCC internal prototype to avoid an error.</p>
<p class="MsoNormal">| /* Override any GCC internal prototype to avoid an error.</p>
<p class="MsoNormal">| /* Override any GCC internal prototype to avoid an error.</p>
<p class="MsoNormal">conftest.c:102: error: void value not ignored as it ought to be</p>
<p class="MsoNormal">conftest.c:109: error: 'struct utmpx' has no member named 'ut_xtime'</p>
<p class="MsoNormal">| /* Override any GCC internal prototype to avoid an error.</p>
<p class="MsoNormal">| /* Override any GCC internal prototype to avoid an error.</p>
<p class="MsoNormal">conftest.c:114: error: too many arguments to function 'ctime_r'</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">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?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Cheers in advance for any help.</p>
<p class="MsoNormal">Andi</p>
</div>
<hr>
<br>
>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. <b>Please could you ensure that all of your contact records and databases are updated to reflect this change.</b> Further information can be found on the website
<a href="http://www3.uwic.ac.uk/English/News/Pages/UWIC-Name-Change.aspx">here.</a>
<br>
<br>
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. <b>Gwnewch yn siwr eich bod yn diweddaru eich cofnodion cyswllt a'ch cronfeydd data i adlewyrchu hyn.</b> Gellir cael rhagor o wybodaeth ar y wefan
<a href="http://www3.uwic.ac.uk/English/News/Pages/UWIC-Name-Change.aspx">yma.</a>
<br>
<br>
</body>
</html>