<div dir="ltr"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">thekat wrote:<br>
> rlm_sql_oracle is not compiling<br>
<br>
</div>  The "configure" scripts are just for ease of use.  They solve common<br>
problems.<br>
<br>
  It *is* possible to edit the Makefiles directly.  Just go to the<br>
rlm_sql_oracle/Makefile, and edit it so that the module builds.  You<br>
will have to define "TARGET = rlm_sql_oracle", and then edit the clfags<br>
&& libs to point to the Oracle directories.<br>
<font color="#888888"><br>
  Alan DeKok.<br>
-<br></font></blockquote><div>FreeRadius 2.05<br> <br></div><div>I have been away and came back to this .<br>I did get the configure to run.<br><br>./configure \<br>--prefix=/usr/local/freeradius \<br>--with-openssl=yes \<br>
--with-openssl-dir=/usr/local/ssl \<br>--with-openssl-includes=/usr/local/ssl/include \<br>--with-openssl-libraries=/usr/local/ssl/lib \<br>--with-oracle-lib-dir=/u007/app/oracle/product/10.2.0/client_1/lib \<br>--with-oracle-home-dir=/u007/app/oracle/product/10.2.0/client_1/rdbms/public<br>
<br>(Regarding oracle, I have both the client and the database installed, using<br>the client or the database for the dependencies result in the same output)<br><br>WARNINGS<br><br>configure: WARNING: pcap library not found, silently disabling the RADIUS sniffer.<br>
config.status: WARNING:  ./<a href="http://Make.inc.in">Make.inc.in</a> seems to ignore the --datarootdir setting<br>config.status: WARNING:  ./src/include/<a href="http://build-radpaths-h.in">build-radpaths-h.in</a> seems to ignore the --datarootdir setting<br>
chmod: WARNING: can't access check-radiusd-config<br>configure: WARNING: silently not building rlm_eap_ikev2.<br>configure: WARNING: FAILURE: rlm_eap_ikev2 requires:  libeap-ikev2 EAPIKEv2/connector.h.<br>configure: WARNING: the TNCS library isn't found!<br>
configure: WARNING: silently not building rlm_eap_tnc.<br>configure: WARNING: FAILURE: rlm_eap_tnc requires:  -lTNCS.<br>configure: WARNING: neither krb5 'k5crypto' nor 'crypto' libraries are found!<br>configure: WARNING: the comm_err library isn't found!<br>
configure: WARNING: silently not building rlm_krb5.<br>configure: WARNING: FAILURE: rlm_krb5 requires:  krb5.h.<br>configure: WARNING: silently not building rlm_ldap.<br>configure: WARNING: FAILURE: rlm_ldap requires:  libldap_r.<br>
configure: WARNING: openssl/des.h: accepted by the compiler, rejected by the preprocessor!<br>configure: WARNING: openssl/des.h: proceeding with the compiler's result<br>configure: WARNING: openssl/hmac.h: accepted by the compiler, rejected by the preprocessor!<br>
configure: WARNING: openssl/hmac.h: proceeding with the compiler's result<br>configure: WARNING: openssl/md4.h: accepted by the compiler, rejected by the preprocessor!<br>configure: WARNING: openssl/md4.h: proceeding with the compiler's result<br>
configure: WARNING: openssl/md5.h: accepted by the compiler, rejected by the preprocessor!<br>configure: WARNING: openssl/md5.h: proceeding with the compiler's result<br>configure: WARNING: openssl/sha.h: accepted by the compiler, rejected by the preprocessor!<br>
configure: WARNING: openssl/sha.h: proceeding with the compiler's result<br>configure: WARNING: silently not building rlm_perl.<br>configure: WARNING: FAILURE: rlm_perl requires:  EXTERN.h perl.h libperl.so.<br>configure: WARNING: silently not building rlm_python.<br>
configure: WARNING: FAILURE: rlm_python requires:  Python.h libpython2.3.<br>configure: WARNING: silently not building rlm_sql_iodbc.<br>configure: WARNING: FAILURE: rlm_sql_iodbc requires: libiodbc isql.h.<br>configure: WARNING: silently not building rlm_sql_unixodbc.<br>
configure: WARNING: FAILURE: rlm_sql_unixodbc requires: libodbc sql.h.<br><br>the rlm_sql_oracle does configure.<br><br>I get this error (at the end) when running:<br><br># make all<br><br> gcc -g -O2 -D_LIBRADIUS -I/export/packages/freeradius-server-2.0.5/src -c dhcp.c -o dhcp.o >/dev/null 2>&1<br>
/export/packages/freeradius-server-2.0.5/libtool --mode=link gcc -release 2.0.5 \<br> -export-dynamic -o <a href="http://libfreeradius-radius.la">libfreeradius-radius.la</a> -rpath /usr/local/freeradius/lib dict.lo filters.lo hash.lo hmac.lo hmacsha1.lo isaac.lo log.lo misc.lo missing.lo md4.lo md5.lo print.lo radius.lo rbtree.lo sha1.lo snprintf.lo strlcat.lo strlcpy.lo token.lo udpfromto.lo valuepair.lo fifo.lo packet.lo event.lo getaddrinfo.lo vqp.lo heap.lo dhcp.lo<br>
gcc -shared -Wl,-h -Wl,<a href="http://libfreeradius-radius-2.0.5.so">libfreeradius-radius-2.0.5.so</a> -o .libs/<a href="http://libfreeradius-radius-2.0.5.so">libfreeradius-radius-2.0.5.so</a>  .libs/dict.o .libs/filters.o .libs/hash.o .libs/hmac.o .libs/hmacsha1.o .libs/isaac.o .libs/log.o .libs/misc.o .libs/missing.o .libs/md4.o .libs/md5.o .libs/print.o .libs/radius.o .libs/rbtree.o .libs/sha1.o .libs/snprintf.o .libs/strlcat.o .libs/strlcpy.o .libs/token.o .libs/udpfromto.o .libs/valuepair.o .libs/fifo.o .libs/packet.o .libs/event.o .libs/getaddrinfo.o .libs/vqp.o .libs/heap.o .libs/dhcp.o  -lc <br>
(cd .libs && rm -f libfreeradius-radius.so && ln -s <a href="http://libfreeradius-radius-2.0.5.so">libfreeradius-radius-2.0.5.so</a> libfreeradius-radius.so)<br>false cru .libs/libfreeradius-radius.a  dict.o filters.o hash.o hmac.o hmacsha1.o isaac.o log.o misc.o missing.o md4.o md5.o print.o radius.o rbtree.o sha1.o snprintf.o strlcat.o strlcpy.o token.o udpfromto.o valuepair.o fifo.o packet.o event.o getaddrinfo.o vqp.o heap.o dhcp.o<br>
gmake[4]: *** [<a href="http://libfreeradius-radius.la">libfreeradius-radius.la</a>] Error 1<br>gmake[4]: Leaving directory `/export/packages/freeradius-server-2.0.5/src/lib'<br>gmake[3]: *** [common] Error 2<br>gmake[3]: Leaving directory `/export/packages/freeradius-server-2.0.5/src'<br>
gmake[2]: *** [all] Error 2<br>gmake[2]: Leaving directory `/export/packages/freeradius-server-2.0.5/src'<br>gmake[1]: *** [common] Error 2<br>gmake[1]: Leaving directory `/export/packages/freeradius-server-2.0.5'<br>
make: *** [all] Error 2<br><br><br> Thx<br>Charles<br></div></div></div>