Compiling FreeRADIUS on Solaris 10
First off you have to configure Solaris 10 as a dev platform if it is not already:
1. Go to sunfreeware.com and download the latest gcc package and any dependent packages.
2. type “pkgadd -d gcc-package-name”
3. If you’re using bash as your shell, just add the following lines into your ~/.bashrc file, or modify any existing lines to include those shown. You should of course, adjust these paths to your system – but for most situations, these will be appropriate:
export PATH=/usr/local/bin:/usr/ccs/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/lib
export MANPATH=/usr/local/man:$MANPATH
export CPPFLAGS=”-I/usr/openwin/share/include/X11/extensions -I/usr/openwin/include”
4. Download the freeradius tarball.
5. Untar/unzip the file.
6. cd freeradius source directory
7. ./configure
8. ./make
9 ./make install