Problem with compilation
Steven Carr
steven.carr at sunderland.ac.uk
Fri Jul 24 21:20:20 CEST 2009
On 24/7/09 18:57, Julio Villacis Guevara wrote:
> I see that when executed ./configure display the following warning
>
> checking openssl/ssl.h usability... yes
> checking openssl/ssl.h presence... no
> configure: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the
> preprocessor!
> configure: WARNING: openssl/ssl.h: proceeding with the compiler's result
The OpenSSL you are using is not compatible with FreeRADIUS (the version
shipped with Solaris is broken). You will need to install the version
from Sunfreeware.com and then ensure when you ./configure that you add
in the correct commands to point to the right location of OpenSSL.
I did the following to get FreeRADIUS installed on our Solaris 10 box:
Install the OpenSSL and OpenLDAP packages and their dependencies from
sunfreeware.com
Then I had to do the following to get it to configure:
export PATH=$PATH:/usr/ccs/bin
./configure --with-openssl=yes --with-openssl-dir=/usr/local/ssl
--with-openssl-includes=/usr/local/ssl/include
--with-openssl-libraries=/usr/local/ssl/lib
--with-rlm-ldap-lib-dir=/usr/local/lib
--with-rlm-ldap-include-dir=/usr/local/include
After the configure had completed I could then run "make" to compile
FreeRADIUS.
After it had compiled I ran "make install" to install FreeRADIUS.
I then needed to modify the system library paths so that FreeRADIUS
could load the required libraries without any config file modifications,
this was achieved by running the following command on our system:
crle -u -l /lib:/usr/lib:/usr/local/lib:/usr/local/ssl/lib
Steve
--
Steven Carr
Systems Development Officer
SLS/ITS/Systems - (0191) 515 3953
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20090724/ff6faa79/attachment.pgp>
More information about the Freeradius-Users
mailing list