I am quite pleased to report I have, with minimal discomfort, version 1.1.3 running on Solaris 10.<br><br>The source actually compiles perfectly once OS dependencies etc. are met.<br>I will share a few tips here for any who may be attempting the same.
<br>My main goal was LDAP functionality. Other bells and whistles might require additional steps.<br>Please forgive the Solaris info here, it is dangerously close to being off-topic... except that you need it to install freeradius.
<br><br>-------------------------------<br>Solaris System Headers<br><br>Solaris 10 will likely require you to fix the system headers.<br><br><a href="http://sunfreeware.com/indexsparc10.html">http://sunfreeware.com/indexsparc10.html
</a>.<br>
<br>
Commands as root:<br>
<b>cd /usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/install-tools/<br><span style="font-weight: bold;">vi </span><span style="font-weight: bold;"></span>mkheaders.conf</b><br>
- Then put the line "SHELL=/bin/sh" on the first line of the mkheaders.conf<br>
file.<br>
- It should look something like the following:<br>
SHELL=/bin/sh<br>
SYSTEM_HEADER_DIR="/usr/include"<br>
OTHER_FIXINCLUDES_DIRS=""<br>
FIXPROTO_DEFINES=""<br>
STMP_FIXPROTO="stmp-fixproto"<br>
STMP_FIXINC="stmp-fixinc"<br>
<br>
Then you run the following command as root. It may take several minutes to rebuild the headers.<br>
<b>./mkheaders<br><br></b>-------------------------------<br>Solaris Packages<br><br>Solaris 10 has versions of openssl and openLDAP installed I believe with the system. They do not fulfill the compile requirements for freeradius functionality.
<br>you should go to <a href="http://sunfreeware.com/">http://sunfreeware.com/</a> and get the packages there, and also resolve any unmet dependencies.<br><br>If you have other modules you are concerned with that are not building correctly, don't trust the OS packages. Look for equiv packages and try the build with them installed as well.
<br>download package<br><span style="font-weight: bold;">gunzip packagename.gz</span><br style="font-weight: bold;"><span style="font-weight: bold;">sudo pkgadd -d packagename</span><br style="font-weight: bold;"><br>-------------------------------
<br>Installing FreeRadius<br>Installing actually went off without a hitch. ./configure, make, sudo make install<br>No problems except I needed the packages so rlm_ldap would compile properly.<br><br>-------------------------------
<br>RunTime Environment<br><br>In order for the ldap queries to work, the following needs to be set
as an environmental variable, OR if you're handy with compiler flags
you can take care of it during the compile with the `-RLIBDIR' linker
flag.<br>
<br>
<b>export LD_LIBRARY_PATH="/usr/local/lib/;/usr/local/freeradius-1.1.3/lib"</b><br>
<br>
The two locations in the above path are for access to the libgcc_s.so.1 libraries and the rlm_ldap libraries respectively.<br>