Problem on installing Version 1.0.3 on RedHat 9.0

classic Classic list List threaded Threaded
2 messages Options
| Threaded
Open this post in threaded view
|

Problem on installing Version 1.0.3 on RedHat 9.0

TeemX
Here is part of the message i got, when i MAKE.


Making dynamic in rlm_eap_peap...
gmake[10]: Entering directory
`/root/freeradius/src/modules/rlm_eap/types/rlm_eap_peap'
gmake[10]: Leaving directory
`/root/freeradius/src/modules/rlm_eap/types/rlm_eap_peap'
Making dynamic in rlm_eap_sim...
gmake[10]: Entering directory
`/root/freeradius/src/modules/rlm_eap/types/rlm_eap_sim'
gmake[10]: Leaving directory
`/root/freeradius/src/modules/rlm_eap/types/rlm_eap_sim'
Making dynamic in rlm_eap_tls...
gmake[10]: Entering directory
`/root/freeradius/src/modules/rlm_eap/types/rlm_eap_tls'
gmake[10]: Leaving directory
`/root/freeradius/src/modules/rlm_eap/types/rlm_eap_tls'
Making dynamic in rlm_eap_ttls...
gmake[10]: Entering directory
`/root/freeradius/src/modules/rlm_eap/types/rlm_eap_ttls'
gmake[10]: Leaving directory
`/root/freeradius/src/modules/rlm_eap/types/rlm_eap_ttls'
gmake[9]: Leaving directory `/root/freeradius/src/modules/rlm_eap/types'
gmake[8]: Leaving directory `/root/freeradius/src/modules/rlm_eap/types'
gmake[7]: Leaving directory `/root/freeradius/src/modules/rlm_eap'
gmake[6]: Leaving directory `/root/freeradius/src/modules/rlm_eap'
Making static dynamic in rlm_exec...
gmake[6]: Entering directory `/root/freeradius/src/modules/rlm_exec'
gmake[6]: Leaving directory `/root/freeradius/src/modules/rlm_exec'
Making static dynamic in rlm_expr...
gmake[6]: Entering directory `/root/freeradius/src/modules/rlm_expr'
gmake[6]: Leaving directory `/root/freeradius/src/modules/rlm_expr'
Making static dynamic in rlm_fastusers...
gmake[6]: Entering directory `/root/freeradius/src/modules/rlm_fastusers'
gmake[6]: Leaving directory `/root/freeradius/src/modules/rlm_fastusers'
Making static dynamic in rlm_files...
gmake[6]: Entering directory `/root/freeradius/src/modules/rlm_files'
gmake[6]: Leaving directory `/root/freeradius/src/modules/rlm_files'
Making static dynamic in rlm_ippool...
gmake[6]: Entering directory `/root/freeradius/src/modules/rlm_ippool'
gmake[6]: Leaving directory `/root/freeradius/src/modules/rlm_ippool'
Making static dynamic in rlm_krb5...
gmake[6]: Entering directory `/root/freeradius/src/modules/rlm_krb5'
gmake[6]: Nothing to be done for `static'.
gmake[6]: Nothing to be done for `dynamic'.
gmake[6]: Leaving directory `/root/freeradius/src/modules/rlm_krb5'
Making static dynamic in rlm_ldap...
gmake[6]: Entering directory `/root/freeradius/src/modules/rlm_ldap'
gmake[6]: Leaving directory `/root/freeradius/src/modules/rlm_ldap'
Making static dynamic in rlm_mschap...
gmake[6]: Entering directory `/root/freeradius/src/modules/rlm_mschap'
gmake[6]: Leaving directory `/root/freeradius/src/modules/rlm_mschap'
Making static dynamic in rlm_ns_mta_md5...
gmake[6]: Entering directory `/root/freeradius/src/modules/rlm_ns_mta_md5'
gmake[6]: Leaving directory `/root/freeradius/src/modules/rlm_ns_mta_md5'
Making static dynamic in rlm_pam...
gmake[6]: Entering directory `/root/freeradius/src/modules/rlm_pam'
gmake[6]: Leaving directory `/root/freeradius/src/modules/rlm_pam'
Making static dynamic in rlm_pap...
gmake[6]: Entering directory `/root/freeradius/src/modules/rlm_pap'
gmake[6]: Leaving directory `/root/freeradius/src/modules/rlm_pap'
Making static dynamic in rlm_passwd...
gmake[6]: Entering directory `/root/freeradius/src/modules/rlm_passwd'
gmake[6]: Leaving directory `/root/freeradius/src/modules/rlm_passwd'
Making static dynamic in rlm_preprocess...
gmake[6]: Entering directory `/root/freeradius/src/modules/rlm_preprocess'
gmake[6]: Leaving directory `/root/freeradius/src/modules/rlm_preprocess'
Making static dynamic in rlm_radutmp...
gmake[6]: Entering directory `/root/freeradius/src/modules/rlm_radutmp'
gmake[6]: Leaving directory `/root/freeradius/src/modules/rlm_radutmp'
Making static dynamic in rlm_realm...
gmake[6]: Entering directory `/root/freeradius/src/modules/rlm_realm'
gmake[6]: Leaving directory `/root/freeradius/src/modules/rlm_realm'
Making static dynamic in rlm_sql...
gmake[6]: Entering directory `/root/freeradius/src/modules/rlm_sql'
gmake[7]: Entering directory `/root/freeradius/src/modules/rlm_sql'
Making static in drivers...
gmake[8]: Entering directory `/root/freeradius/src/modules/rlm_sql/drivers'
/usr/bin/gmake -w WHAT_TO_MAKE=static common
gmake[9]: Entering directory `/root/freeradius/src/modules/rlm_sql/drivers'
Making static in rlm_sql_iodbc...
gmake[10]: Entering directory
`/root/freeradius/src/modules/rlm_sql/drivers/rlm_sql_iodbc'
gmake[10]: Nothing to be done for `static'.
gmake[10]: Leaving directory
`/root/freeradius/src/modules/rlm_sql/drivers/rlm_sql_iodbc'
Making static in rlm_sql_mysql...
gmake[10]: Entering directory
`/root/freeradius/src/modules/rlm_sql/drivers/rlm_sql_mysql'
gcc  -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5
 -Wall -D_GNU_SOURCE -DNDEBUG  -I../.. -I../../../../include
-I'/usr/include'  -c sql_mysql.c -o sql_mysql.o
sql_mysql.c:39:20: errmsg.h: No such file or directory
sql_mysql.c:40:19: mysql.h: No such file or directory
sql_mysql.c:47: parse error before "MYSQL"
sql_mysql.c:47: warning: no semicolon at end of struct or union
sql_mysql.c:48: warning: type defaults to `int' in declaration of `sock'
sql_mysql.c:48: warning: data definition has no type or storage class
sql_mysql.c:49: parse error before '*' token
sql_mysql.c:49: warning: type defaults to `int' in declaration of `result'
sql_mysql.c:49: warning: data definition has no type or storage class
sql_mysql.c:51: parse error before '}' token
sql_mysql.c:51: warning: type defaults to `int' in declaration of
`rlm_sql_mysql_sock'
sql_mysql.c:51: warning: data definition has no type or storage class
sql_mysql.c: In function `sql_init_socket':
sql_mysql.c:62: `mysql_sock' undeclared (first use in this function)
sql_mysql.c:62: (Each undeclared identifier is reported only once
sql_mysql.c:62: for each function it appears in.)
sql_mysql.c:65: parse error before ')' token

sql_mysql.c:76: warning: implicit declaration of function `mysql_init'
sql_mysql.c:77: warning: implicit declaration of function `mysql_real_connect'
sql_mysql.c:84: `CLIENT_FOUND_ROWS' undeclared (first use in this function)
sql_mysql.c:86: warning: implicit declaration of function `mysql_error'
sql_mysql.c:86: warning: format argument is not a pointer (arg 3)
sql_mysql.c: In function `sql_check_error':
sql_mysql.c:122: `CR_SERVER_GONE_ERROR' undeclared (first use in this function)
sql_mysql.c:123: `CR_SERVER_LOST' undeclared (first use in this function)
sql_mysql.c:131: `CR_OUT_OF_MEMORY' undeclared (first use in this function)
sql_mysql.c:132: `CR_COMMANDS_OUT_OF_SYNC' undeclared (first use in
this function)
sql_mysql.c:133: `CR_UNKNOWN_ERROR' undeclared (first use in this function)
sql_mysql.c: In function `sql_query':
sql_mysql.c:151: `mysql_sock' undeclared (first use in this function)
sql_mysql.c:160: warning: implicit declaration of function `mysql_query'
sql_mysql.c:161: warning: implicit declaration of function `mysql_errno'
sql_mysql.c: In function `sql_store_result':
sql_mysql.c:175: `mysql_sock' undeclared (first use in this function)
sql_mysql.c:181: warning: implicit declaration of function `mysql_store_result'
sql_mysql.c:184: warning: format argument is not a pointer (arg 3)
sql_mysql.c: In function `sql_num_fields':
sql_mysql.c:202: `mysql_sock' undeclared (first use in this function)
sql_mysql.c:207: warning: implicit declaration of function `mysql_num_fields'
sql_mysql.c:211: warning: format argument is not a pointer (arg 3)
sql_mysql.c: In function `sql_num_rows':
sql_mysql.c:257: `mysql_sock' undeclared (first use in this function)
sql_mysql.c:260: warning: implicit declaration of function `mysql_num_rows'
sql_mysql.c: In function `sql_fetch_row':
sql_mysql.c:277: `mysql_sock' undeclared (first use in this function)
sql_mysql.c:286: warning: implicit declaration of function `mysql_fetch_row'

sql_mysql.c:286: warning: assignment makes pointer from integer without a cast
sql_mysql.c: In function `sql_free_result':
sql_mysql.c:305: `mysql_sock' undeclared (first use in this function)
sql_mysql.c:308: warning: implicit declaration of function `mysql_free_result'
sql_mysql.c: In function `sql_error':
sql_mysql.c:327: `mysql_sock' undeclared (first use in this function)
sql_mysql.c:332: warning: return makes pointer from integer without a cast
sql_mysql.c: In function `sql_close':
sql_mysql.c:346: `mysql_sock' undeclared (first use in this function)
sql_mysql.c:349: warning: implicit declaration of function `mysql_close'
sql_mysql.c: In function `sql_affected_rows':
sql_mysql.c:395: `mysql_sock' undeclared (first use in this function)
sql_mysql.c:397: warning: implicit declaration of function `mysql_affected_rows'
gmake[10]: *** [sql_mysql.o] Error 1
gmake[10]: Leaving directory
`/root/freeradius/src/modules/rlm_sql/drivers/rlm_sql_mysql'
gmake[9]: *** [common] Error 2
gmake[9]: Leaving directory `/root/freeradius/src/modules/rlm_sql/drivers'
gmake[8]: *** [static] Error 2
gmake[8]: Leaving directory `/root/freeradius/src/modules/rlm_sql/drivers'
gmake[7]: *** [common] Error 2
gmake[7]: Leaving directory `/root/freeradius/src/modules/rlm_sql'
gmake[6]: *** [static] Error 2
gmake[6]: Leaving directory `/root/freeradius/src/modules/rlm_sql'
gmake[5]: *** [common] Error 2
gmake[5]: Leaving directory `/root/freeradius/src/modules'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory `/root/freeradius/src/modules'
gmake[3]: *** [common] Error 2
gmake[3]: Leaving directory `/root/freeradius/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/root/freeradius/src'
gmake[1]: *** [common] Error 2
gmake[1]: Leaving directory `/root/freeradius'
make: *** [all] Error 2

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
| Threaded
Open this post in threaded view
|

Re: Problem on installing Version 1.0.3 on RedHat 9.0

Stefan.Neis@t-online.de
              Hi,

> gcc  -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5
> -Wall -D_GNU_SOURCE -DNDEBUG  -I../.. -I../../../../include
> -I'/usr/include'  -c sql_mysql.c -o sql_mysql.o
> sql_mysql.c:39:20: errmsg.h: No such file or directory
> sql_mysql.c:40:19: mysql.h: No such file or directory

- There's 1.0.4, what's the point in using 1.0.3,  especially, if you're
   compiling yourself.
- Have a look in this mailing list's archives, there's a bunch of
messages
  about RedHat installing MySQL (and possibly other) headers in strange
  locations and how to work around it...

        Regards,
                     Stefan


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