Hmm... would it be possible to have to give *more* output? i.e. start from a 
fresh directory:

$ tar -zxf freeradius-server-2.1.3.tar.gz $ cd freeradius-server 2.1.3 $ 
./configure $ gmake

  And show the errors (not the dozens of lines saying "building foo", or the 
last dozen lines saying "error"), but the real informative errors about 
building dict.c, and what errors were encountered building dict.c.

  The only way I can see that error happening is if the source and/or build 
process is broken.

  Alan DeKok.


>From the beginning:

rm -rf freeradius-server-2.1.3
tar xvf freeradius-server-2.1.3.tar (it's already been unzipped with "gzip -d")
cd freeradius-server-2.1.3
./configure | grep configure

...........Lots of output including:
configure: WARNING: pcap library not found, silently disabling the RADIUS 
sniffer.
config.status: WARNING:  ./Make.inc.in seems to ignore the --datarootdir setting
config.status: WARNING:  ./src/include/build-radpaths-h.in seems to ignore the 
--datarootdir setting
configure: WARNING: silently not building rlm_counter. 
configure: WARNING: FAILURE: rlm_counter requires:  libgdbm.
configure: WARNING: EVP_sha256 not found, may have issues wirh WiMAX 
certificates
configure: WARNING: the TNCS libraryconfigure: WARNING: silently not building 
rlm_ippool.
configure: WARNING: FAILURE: rlm_ippool requires:  libgdbm. isn't found!
configure: WARNING: silently not building rlm_perl.
configure: WARNING: FAILURE: rlm_perl requires:  EXTERN.h perl.h libperl.so.
configure: WARNING: silently not building rlm_eap_tnc.
configure: WARNING: FAILURE: rlm_eap_tnc requires:  -lTNCS.
configure: WARNING: silently not building rlm_eap_ikev2.
configure: WARNING: FAILURE: rlm_eap_ikev2 requires:  libeap-ikev2 
EAPIKEv2/connector.h.
configure: WARNING: the comm_err library isn't found!
configure: WARNING: silently not building rlm_krb5.
configure: WARNING: FAILURE: rlm_krb5 requires:  krb5.h.configure: WARNING: 
silently not building rlm_python.
configure: WARNING: FAILURE: rlm_python requires:  Python.h libpython2.3.
configure: WARNING: silently not building rlm_sql_iodbc.
configure: WARNING: FAILURE: rlm_sql_iodbc requires: libiodbc isql.h.
configure: WARNING: oracle headers not found.  Use 
--with-oracle-home-dir=<path>.
configure: WARNING: silently not building rlm_sql_oracle.
configure: WARNING: FAILURE: rlm_sql_oracle requires: oci.h.
configure: WARNING: silently not building rlm_sql_unixodbc.
configure: WARNING: FAILURE: rlm_sql_unixodbc requires: libodbc sql.h.

Then:

gmake

Got the error about undefined symbol SUN_LEN
Edited src/include/radiusd.h

Gmake

...and it all compiles OK.
Not sure what I did wrong the first time but many thanks for your help.

Leighton
 

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to