FreeRadius and MySql custom attributes
Hello, I work in the NOC of an isp. Currently we have VIRCOM Radius servers set up to authenticate against a MySql server cluster, but we'd like to switch to FreeRadius. There is a profiles column that contains a few different service definitions (slip for SlipStream, newsgroups, a combo slip-news, etc.) What I can't figure out how to do is have the Radius server evaluate that column for the authenticated user, and send a reply so that the client knows that the user is authenticated for that specific service. Currently, I'm just trying to get the slip service to work. I have created a dictionary.slipstream file with the following: VENDOR Slipstream 7000 ATTRIBUTE SlipStream-Auth True string Slipstream However, that will not authenticate the slip client. If I "hardcode" the attribute into the auth_reply query, the client is then authenticated. (Query = authorize_reply_query = "SELECT '','Slipstream-Auth','true',':-' FROM radius_auth WHERE Username = '%{SQL-User-Name}'" Any ideas where to go to get this working correctly?
have created a dictionary.slipstream file with the following:
VENDOR Slipstream 7000 ATTRIBUTE SlipStream-Auth True string Slipstream
However, that will not authenticate the slip client. If I "hardcode" the attribute into the auth_reply query, the client is then authenticated. (Query = authorize_reply_query = "SELECT '','Slipstream-Auth','true',':-' FROM radius_auth WHERE Username = '%{SQL-User-Name}'"
Any ideas where to go to get this working correctly?
Post the output of radiusd -X.
Posting relevant sections along with an explanation - I was doing some fiddling in between posting and responding here. Here is the current setup, as I was trying to make it work: dictionary.slipstream - VENDOR Slipstream 7000 ATTRIBUTE Profile 1 string Slipstream reply query in mssql.conf - authorize_reply_query = "SELECT '',Username,'Profile',Profiles,':=' FROM radius_auth WHERE Username = '%{SQL-User-Name}'" Relevant output when running radiusd -X - Processing the authorize section of radiusd.conf modcall: entering group authorize for request 0 modcall[authorize]: module "preprocess" returns ok for request 0 rlm_realm: Looking up realm "evenlink.com" for User-Name = "aseibert@evenlink.com" rlm_realm: No such realm "evenlink.com" modcall[authorize]: module "suffix" returns noop for request 0 radius_xlat: 'aseibert@evenlink.com' rlm_sql (sql): sql_set_user escaped user --> 'aseibert@evenlink.com' radius_xlat: 'SELECT '',Username,'Cleartext-Password',Password,':=' FROM radius_auth WHERE Username = 'aseibert@evenlink.com'' rlm_sql (sql): Reserving sql socket id: 4 query: SELECT '',Username,'Cleartext-Password',Password,':=' FROM radius_auth WHERE Username = 'aseibert@evenlink.com' radius_xlat: '' radius_xlat: 'SELECT '',Username,'Profile',Profiles,':=' FROM radius_auth WHERE Username = 'aseibert@evenlink.com'' query: SELECT '',Username,'Profile',Profiles,':=' FROM radius_auth WHERE Username = 'aseibert@evenlink.com' radius_xlat: '' rlm_sql (sql): Released sql socket id: 4 modcall[authorize]: module "sql" returns ok for request 0 modcall: leaving group authorize (returns ok) for request 0 auth: type Local auth: user supplied User-Password matches local User-Password Sending Access-Accept of id 46 to 206.174.130.217 port 40278 Profile := "Slip" Finished request 0 Going to the next request --- Walking the entire request list --- Waking up in 6 seconds... --- Walking the entire request list --- Cleaning up request 0 ID 46 with timestamp 4911f770 Nothing to do. Sleeping until we see a request. This doesn't allow the slip user to connect to the slip service. However, if I change everything to the following: dictionary.slipstream: VENDOR Slipstream 7000 ATTRIBUTE Slipstream-Auth 1 string Slipstream mssql query: authorize_reply_query = "SELECT '',Username,'Slipstream-Auth','true',':=' FROM radius_auth WHERE Username = '%{SQL-User-Name}'" Output: Processing the authorize section of radiusd.conf modcall: entering group authorize for request 0 modcall[authorize]: module "preprocess" returns ok for request 0 rlm_realm: Looking up realm "evenlink.com" for User-Name = "aseibert@evenlink.com" rlm_realm: No such realm "evenlink.com" modcall[authorize]: module "suffix" returns noop for request 0 radius_xlat: 'aseibert@evenlink.com' rlm_sql (sql): sql_set_user escaped user --> 'aseibert@evenlink.com' radius_xlat: 'SELECT '',Username,'Cleartext-Password',Password,':=' FROM radius_auth WHERE Username = 'aseibert@evenlink.com'' rlm_sql (sql): Reserving sql socket id: 4 query: SELECT '',Username,'Cleartext-Password',Password,':=' FROM radius_auth WHERE Username = 'aseibert@evenlink.com' radius_xlat: '' radius_xlat: 'SELECT '',Username,'Slipstream-Auth','true',':=' FROM radius_auth WHERE Username = 'aseibert@evenlink.com'' query: SELECT '',Username,'Slipstream-Auth','true',':=' FROM radius_auth WHERE Username = 'aseibert@evenlink.com' radius_xlat: '' rlm_sql (sql): Released sql socket id: 4 modcall[authorize]: module "sql" returns ok for request 0 modcall: leaving group authorize (returns ok) for request 0 auth: type Local auth: user supplied User-Password matches local User-Password Sending Access-Accept of id 230 to 206.174.130.217 port 56427 Slipstream-Auth := "true" Finished request 0 Going to the next request --- Walking the entire request list --- Waking up in 6 seconds... --- Walking the entire request list --- Cleaning up request 0 ID 230 with timestamp 4911fa44 Nothing to do. Sleeping until we see a request. As you can see, what I need to do is basically say if the Profiles column in the sql database has a value of Slip, then Slipstream-Auth = "true" needs to be passed back in the reply query. I just can't figure out how to do that... On Wed, 2008-11-05 at 13:56 -0500, Stephen Bowman wrote:
have created a dictionary.slipstream file with the following:
VENDOR Slipstream 7000 ATTRIBUTE SlipStream-Auth True string Slipstream
However, that will not authenticate the slip client. If I "hardcode" the attribute into the auth_reply query, the client is then authenticated. (Query = authorize_reply_query = "SELECT '','Slipstream-Auth','true',':-' FROM radius_auth WHERE Username = '%{SQL-User-Name}'"
Any ideas where to go to get this working correctly?
Post the output of radiusd -X. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
authorize_reply_query = "SELECT '',Username,'Profile',Profiles,':=' FROM radius_auth WHERE Username = '%{SQL-User-Name}'"
It's doing exactly what you tell it to do.
query: SELECT '',Username,'Profile',Profiles,':=' FROM radius_auth WHERE Username = 'aseibert@evenlink.com'
There's the query as you defined it above...
Sending Access-Accept of id 46 to 206.174.130.217 port 40278 Profile := "Slip"
And there's the access-accept with a reply attribute of Profile := "Slip". In your database you clearly have a column titled 'Profile' in radius_auth with value of "Slip" for the row for the username "aseibert@evenlink.com" To get what you want, you would need a column titled "Slipstream-Auth" with a value of "True" for the row for the username "aseibert@evenlink.com". But all this is actually a bit horkie. It makes little sense to have to add a column everytime you want a random check/reply attribute. It's bad practice and going to be terribly inefficient by any database backend. Why is it that you don't want to follow the provided schema (in 2.x raddb/sql/mysql/) and predefined queries?
Becuase the database is already established with thousands of customers.... We're looking to migrate from an existing VOPRadius system. The MsSql database is tied into our account management system as well On Wed, 2008-11-05 at 16:45 -0500, Stephen Bowman wrote:
authorize_reply_query = "SELECT '',Username,'Profile',Profiles,':=' FROM radius_auth WHERE Username = '%{SQL-User-Name}'"
It's doing exactly what you tell it to do.
query: SELECT '',Username,'Profile',Profiles,':=' FROM radius_auth WHERE Username = 'aseibert@evenlink.com'
There's the query as you defined it above...
Sending Access-Accept of id 46 to 206.174.130.217 port 40278 Profile := "Slip"
And there's the access-accept with a reply attribute of Profile := "Slip". In your database you clearly have a column titled 'Profile' in radius_auth with value of "Slip" for the row for the username "aseibert@evenlink.com"
To get what you want, you would need a column titled "Slipstream-Auth" with a value of "True" for the row for the username "aseibert@evenlink.com".
But all this is actually a bit horkie. It makes little sense to have to add a column everytime you want a random check/reply attribute. It's bad practice and going to be terribly inefficient by any database backend.
Why is it that you don't want to follow the provided schema (in 2.x raddb/sql/mysql/) and predefined queries?
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
You can extend the rlm_sql module to read from your schema though it is some work. Alternatively you can go with perl and scripting. I believe extending rlm_sql module to read your schema and generate AVP's will give better performance, but I might be wrong. I have taken this path for a custom database. Regards, Venkatesh K On Thu, Nov 6, 2008 at 3:17 AM, Aaron Seibert <aaron@awseibert.net> wrote:
Becuase the database is already established with thousands of customers.... We're looking to migrate from an existing VOPRadius system. The MsSql database is tied into our account management system as well
On Wed, 2008-11-05 at 16:45 -0500, Stephen Bowman wrote:
authorize_reply_query = "SELECT '',Username,'Profile',Profiles,':=' FROM radius_auth WHERE Username = '%{SQL-User-Name}'"
It's doing exactly what you tell it to do.
query: SELECT '',Username,'Profile',Profiles,':=' FROM radius_auth WHERE Username = 'aseibert@evenlink.com'
There's the query as you defined it above...
Sending Access-Accept of id 46 to 206.174.130.217 port 40278 Profile := "Slip"
And there's the access-accept with a reply attribute of Profile := "Slip". In your database you clearly have a column titled 'Profile' in radius_auth with value of "Slip" for the row for the username "aseibert@evenlink.com"
To get what you want, you would need a column titled "Slipstream-Auth" with a value of "True" for the row for the username "aseibert@evenlink.com".
But all this is actually a bit horkie. It makes little sense to have to add a column everytime you want a random check/reply attribute. It's bad practice and going to be terribly inefficient by any database backend.
Why is it that you don't want to follow the provided schema (in 2.x raddb/sql/mysql/) and predefined queries?
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Venkatesh. K
I think what I'll do is just change the reply query to pull from the Profiles table so the query would look like id,username,profiles,'true',';='. Then I'll change the dictionary file so the "Slip" profile gets the correct attributes, and "true" will be passed tith each of the account types.... On Thu, 2008-11-06 at 04:15 +0530, Venkatesh K wrote:
You can extend the rlm_sql module to read from your schema though it is some work. Alternatively you can go with perl and scripting.
I believe extending rlm_sql module to read your schema and generate AVP's will give better performance, but I might be wrong. I have taken this path for a custom database.
Regards,
Venkatesh K
On Thu, Nov 6, 2008 at 3:17 AM, Aaron Seibert <aaron@awseibert.net> wrote:
Becuase the database is already established with thousands of customers.... We're looking to migrate from an existing VOPRadius system. The MsSql database is tied into our account management system as well
On Wed, 2008-11-05 at 16:45 -0500, Stephen Bowman wrote:
authorize_reply_query = "SELECT '',Username,'Profile',Profiles,':=' FROM radius_auth WHERE Username = '%{SQL-User-Name}'"
It's doing exactly what you tell it to do.
query: SELECT '',Username,'Profile',Profiles,':=' FROM radius_auth WHERE Username = 'aseibert@evenlink.com'
There's the query as you defined it above...
Sending Access-Accept of id 46 to 206.174.130.217 port 40278 Profile := "Slip"
And there's the access-accept with a reply attribute of Profile := "Slip". In your database you clearly have a column titled 'Profile' in radius_auth with value of "Slip" for the row for the username "aseibert@evenlink.com"
To get what you want, you would need a column titled "Slipstream-Auth" with a value of "True" for the row for the username "aseibert@evenlink.com".
But all this is actually a bit horkie. It makes little sense to have to add a column everytime you want a random check/reply attribute. It's bad practice and going to be terribly inefficient by any database backend.
Why is it that you don't want to follow the provided schema (in 2.x raddb/sql/mysql/) and predefined queries?
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
I'll also add that the dictionary.slipstream is included in the dictionary file. FreeRadius running on freeBSD On Wed, 2008-11-05 at 12:14 -0500, Aaron Seibert wrote:
Hello,
I work in the NOC of an isp. Currently we have VIRCOM Radius servers set up to authenticate against a MySql server cluster, but we'd like to switch to FreeRadius. There is a profiles column that contains a few different service definitions (slip for SlipStream, newsgroups, a combo slip-news, etc.) What I can't figure out how to do is have the Radius server evaluate that column for the authenticated user, and send a reply so that the client knows that the user is authenticated for that specific service. Currently, I'm just trying to get the slip service to work. I have created a dictionary.slipstream file with the following:
VENDOR Slipstream 7000 ATTRIBUTE SlipStream-Auth True string Slipstream
However, that will not authenticate the slip client. If I "hardcode" the attribute into the auth_reply query, the client is then authenticated. (Query = authorize_reply_query = "SELECT '','Slipstream-Auth','true',':-' FROM radius_auth WHERE Username = '%{SQL-User-Name}'"
Any ideas where to go to get this working correctly?
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hi, I'm trying to compile 2.1.1 on debian using the git version (the standard package stops at the beginning due to the problem with the patches for debian), and in the middle of the checking part it stopped with a message about "INSTALL_LTDL"not being definded (full output below). Could someone please give me a help? A quick googling didn't come up with anyting useable.... Thanks, Roberto dpkg-buildpackage: source package is freeradius dpkg-buildpackage: source version is 2.1.1-0 dpkg-buildpackage: source changed by Alan DeKok <aland@freeradius.org> dpkg-buildpackage: host architecture i386 dpkg-buildpackage: source version without epoch 2.1.1-0 debian/rules clean dpatch deapply-all 02-dialupadmin-help not applied to ./ . 01-radiusd-to-freeradius not applied to ./ . rm -rf patch-stamp patch-stampT debian/patched dh_testdir dh_clean rm -f build-arch-stamp build-indep-stamp libltdl/stamp-h1 rm -f install-arch-stamp install-indep-stamp configure-stamp [ -f Make.inc ] && make distclean || true # The make clean forgets to remove this build directory [ -d src/modules/lib ] && rm -fr src/modules/lib || true # Put the original autotools files back in place [ -f config.sub.dist ] && rm config.sub && mv config.sub.dist config.sub || true [ -f config.guess.dist ] && rm config.guess && mv config.guess.dist config.guess || true debian/rules build test -d debian/patched || install -d debian/patched dpatch apply-all applying patch 01-radiusd-to-freeradius to ./ ... ok. applying patch 02-dialupadmin-help to ./ ... ok. dpatch cat-all >>patch-stampT mv -f patch-stampT patch-stamp dh_testdir # Update the autotools files if necessary # Force Build-Depends on autotools-dev for /usr/share/misc/config.* if [ -e config.sub.dist ]; then rm config.sub; else mv config.sub config.sub.dist; fi if [ -e config.guess.dist ]; then rm config.guess; else mv config.guess config.guess.dist; fi ln -s /usr/share/misc/config.sub config.sub ln -s /usr/share/misc/config.guess config.guess ./configure \ --build i486-linux-gnu \ --config-cache \ --prefix=/usr \ --exec-prefix=/usr \ --mandir=/usr/share/man \ --sysconfdir=/etc \ --libdir=/usr/lib/freeradius \ --datadir=/usr/share \ --localstatedir=/var \ --with-raddbdir=/etc/freeradius \ --with-logdir=/var/log/freeradius \ --with-system-libtool --disable-ltdl-install \ --with-large-files --with-udpfromto --with-edir \ --enable-developer \ --with-rlm-sql-postgresql-lib-dir=`pg_config --libdir` \ --with-rlm-sql-postgresql-include-dir=`pg_config --includedir` configure: creating cache config.cache checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for AIX... no checking whether gcc needs -traditional... no checking whether we are using SUNPro C... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking for gmake... no checking for make... /usr/bin/make checking for lt_dlinit in -lltdl... yes configure: WARNING: not overwriting libltdl at /usr, force with `--enable-ltdl-install' checking build system type... i486-pc-linux-gnu checking host system type... i486-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 98304 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... (cached) no checking whether g++ accepts -g... (cached) no checking which extension is used for runtime loadable modules... checking which variable specifies run-time module search path... checking for the default library search path... checking for library containing dlopen... -ldl checking for dlerror... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dld_link in -ldld... no checking for _ prefix in compiled symbols... no checking whether deplibs are loaded by dlopen... yes checking for argz.h... yes checking for error_t... yes checking for argz_add... yes checking for argz_append... yes checking for argz_count... yes checking for argz_create_sep... yes checking for argz_insert... yes checking for argz_next... yes checking for argz_stringify... yes checking if argz actually works... yes checking whether libtool supports -dlopen/-dlpreopen... yes checking for libtool... /usr/bin/libtool checking docdir... ${datadir}/doc/freeradius checking logdir... /var/log/freeradius checking radacctdir... ${logdir}/radacct checking raddbdir... /etc/freeradius checking for perl... /usr/bin/perl checking for snmpget... /usr/bin/snmpget checking for snmpwalk... /usr/bin/snmpwalk checking for rusers... /usr/bin/rusers checking for locate... /usr/bin/locate checking for dirname... /usr/bin/dirname checking for grep... (cached) /bin/grep checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_create in -lpthread... yes checking for library containing sem_init... none required checking for getsockname in -lsocket... no checking for inet_aton in -lresolv... yes checking for inet_ntoa in -lnsl... yes checking for DH_new in -lcrypto... yes checking for SSL_new in -lssl... yes checking for htonl in -lws2_32... no checking for pcap_open_live in -lpcap... yes checking for a readline compatible library... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for unistd.h... (cached) yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking resource.h usability... no checking resource.h presence... no checking for resource.h... no checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking utmp.h usability... yes checking utmp.h presence... yes checking for utmp.h... yes checking utmpx.h usability... yes checking utmpx.h presence... yes checking for utmpx.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking semaphore.h usability... yes checking semaphore.h presence... yes checking for semaphore.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for sys/types.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking winsock.h usability... no checking winsock.h presence... no checking for winsock.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/wait.h... (cached) yes checking sys/security.h usability... no checking sys/security.h presence... no checking for sys/security.h... no checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/fcntl.h usability... yes checking sys/fcntl.h presence... yes checking for sys/fcntl.h... yes checking sys/prctl.h usability... yes checking sys/prctl.h presence... yes checking for sys/prctl.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking prot.h usability... no checking prot.h presence... no checking for prot.h... no checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking sia.h usability... no checking sia.h presence... no checking for sia.h... no checking siad.h usability... no checking siad.h presence... no checking for siad.h... no checking for net/if.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking openssl/crypto.h usability... yes checking openssl/crypto.h presence... yes checking for openssl/crypto.h... yes checking openssl/err.h usability... yes checking openssl/err.h presence... yes checking for openssl/err.h... yes checking openssl/evp.h usability... yes checking openssl/evp.h presence... yes checking for openssl/evp.h... yes checking openssl/engine.h usability... yes checking openssl/engine.h presence... yes checking for openssl/engine.h... yes checking for OpenSSL version >= 0.9.7... yes checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for socklen_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for struct in6_addr... yes checking for struct sockaddr_storage... yes checking for struct sockaddr_in6... yes checking for struct addrinfo... yes checking for getopt_long... yes checking for lockf... yes checking for strsignal... yes checking for sigaction... yes checking for sigprocmask... yes checking for pthread_sigmask... yes checking for snprintf... yes checking for vsnprintf... yes checking for setsid... yes checking for strncasecmp... yes checking for strcasecmp... yes checking for localtime_r... yes checking for ctime_r... yes checking for gmtime_r... yes checking for strsep... yes checking for inet_aton... yes checking for inet_pton... yes checking for inet_ntop... yes checking for setlinebuf... yes checking for setvbuf... yes checking for getusershell... yes checking for initgroups... yes checking for getaddrinfo... yes checking for getnameinfo... yes checking for closefrom... no checking for gettimeofday... yes checking for getpeereid... no checking for strlcat... no checking for strlcpy... no checking whether crypt must be declared... no checking whether strncasecmp must be declared... no checking whether strcasecmp must be declared... no checking whether inet_aton must be declared... no checking whether setlinebuf must be declared... no checking whether getusershell must be declared... no checking whether endusershell must be declared... no checking return type of signal handlers... void checking for ut_xtime in struct utmpx... no checking for ipi_addr in struct in_pktinfo... yes checking for ipi6_addr in struct in6_pktinfo... yes checking for an ANSI C-conforming const... yes checking type of OS... Linux checking for developer gcc flags... yes. Using -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef checking for TLS... yes checking for crypt in -lcrypt... yes checking for setkey in -lcipher... no checking gethostbyaddr_r() syntax... GNU-style checking gethostbyname_r() syntax... GNU-style checking ctime_r() syntax... POSIX-style top_builddir=/root/radiusd configure: updating cache config.cache configure: error: conditional "INSTALL_LTDL" was never defined. Usually this means the macro was only invoked conditionally. make: *** [configure-stamp] Error 1 -- ----------------------------------------------------- Marcos Roberto Greiner Os otimistas acham que estamos no melhor dos mundos Os pessimistas tem medo de que isto seja verdade Murphy -----------------------------------------------------
try compiling using bundled libtools remove "--with-system-libtool" from debian/rules then relaunch dpkg-builpackages Le 05.11.2008 09:53, rgreiner a écrit :
Hi,
I'm trying to compile 2.1.1 on debian using the git version (the standard package stops at the beginning due to the problem with the patches for debian), and in the middle of the checking part it stopped with a message about "INSTALL_LTDL"not being definded (full output below). Could someone please give me a help? A quick googling didn't come up with anyting useable....
Thanks,
Roberto
dpkg-buildpackage: source package is freeradius dpkg-buildpackage: source version is 2.1.1-0 dpkg-buildpackage: source changed by Alan DeKok <aland@freeradius.org> dpkg-buildpackage: host architecture i386 dpkg-buildpackage: source version without epoch 2.1.1-0 debian/rules clean dpatch deapply-all 02-dialupadmin-help not applied to ./ . 01-radiusd-to-freeradius not applied to ./ . rm -rf patch-stamp patch-stampT debian/patched dh_testdir dh_clean rm -f build-arch-stamp build-indep-stamp libltdl/stamp-h1 rm -f install-arch-stamp install-indep-stamp configure-stamp [ -f Make.inc ] && make distclean || true # The make clean forgets to remove this build directory [ -d src/modules/lib ] && rm -fr src/modules/lib || true # Put the original autotools files back in place [ -f config.sub.dist ] && rm config.sub && mv config.sub.dist config.sub || true [ -f config.guess.dist ] && rm config.guess && mv config.guess.dist config.guess || true debian/rules build test -d debian/patched || install -d debian/patched dpatch apply-all applying patch 01-radiusd-to-freeradius to ./ ... ok. applying patch 02-dialupadmin-help to ./ ... ok. dpatch cat-all >>patch-stampT mv -f patch-stampT patch-stamp dh_testdir # Update the autotools files if necessary # Force Build-Depends on autotools-dev for /usr/share/misc/config.* if [ -e config.sub.dist ]; then rm config.sub; else mv config.sub config.sub.dist; fi if [ -e config.guess.dist ]; then rm config.guess; else mv config.guess config.guess.dist; fi ln -s /usr/share/misc/config.sub config.sub ln -s /usr/share/misc/config.guess config.guess ./configure \ --build i486-linux-gnu \ --config-cache \ --prefix=/usr \ --exec-prefix=/usr \ --mandir=/usr/share/man \ --sysconfdir=/etc \ --libdir=/usr/lib/freeradius \ --datadir=/usr/share \ --localstatedir=/var \ --with-raddbdir=/etc/freeradius \ --with-logdir=/var/log/freeradius \ --with-system-libtool --disable-ltdl-install \ --with-large-files --with-udpfromto --with-edir \ --enable-developer \ --with-rlm-sql-postgresql-lib-dir=`pg_config --libdir` \ --with-rlm-sql-postgresql-include-dir=`pg_config --includedir` configure: creating cache config.cache checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for AIX... no checking whether gcc needs -traditional... no checking whether we are using SUNPro C... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking for gmake... no checking for make... /usr/bin/make checking for lt_dlinit in -lltdl... yes configure: WARNING: not overwriting libltdl at /usr, force with `--enable-ltdl-install' checking build system type... i486-pc-linux-gnu checking host system type... i486-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 98304 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... (cached) no checking whether g++ accepts -g... (cached) no checking which extension is used for runtime loadable modules... checking which variable specifies run-time module search path... checking for the default library search path... checking for library containing dlopen... -ldl checking for dlerror... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dld_link in -ldld... no checking for _ prefix in compiled symbols... no checking whether deplibs are loaded by dlopen... yes checking for argz.h... yes checking for error_t... yes checking for argz_add... yes checking for argz_append... yes checking for argz_count... yes checking for argz_create_sep... yes checking for argz_insert... yes checking for argz_next... yes checking for argz_stringify... yes checking if argz actually works... yes checking whether libtool supports -dlopen/-dlpreopen... yes checking for libtool... /usr/bin/libtool checking docdir... ${datadir}/doc/freeradius checking logdir... /var/log/freeradius checking radacctdir... ${logdir}/radacct checking raddbdir... /etc/freeradius checking for perl... /usr/bin/perl checking for snmpget... /usr/bin/snmpget checking for snmpwalk... /usr/bin/snmpwalk checking for rusers... /usr/bin/rusers checking for locate... /usr/bin/locate checking for dirname... /usr/bin/dirname checking for grep... (cached) /bin/grep checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_create in -lpthread... yes checking for library containing sem_init... none required checking for getsockname in -lsocket... no checking for inet_aton in -lresolv... yes checking for inet_ntoa in -lnsl... yes checking for DH_new in -lcrypto... yes checking for SSL_new in -lssl... yes checking for htonl in -lws2_32... no checking for pcap_open_live in -lpcap... yes checking for a readline compatible library... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for unistd.h... (cached) yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking resource.h usability... no checking resource.h presence... no checking for resource.h... no checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking utmp.h usability... yes checking utmp.h presence... yes checking for utmp.h... yes checking utmpx.h usability... yes checking utmpx.h presence... yes checking for utmpx.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking semaphore.h usability... yes checking semaphore.h presence... yes checking for semaphore.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for sys/types.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking winsock.h usability... no checking winsock.h presence... no checking for winsock.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/wait.h... (cached) yes checking sys/security.h usability... no checking sys/security.h presence... no checking for sys/security.h... no checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/fcntl.h usability... yes checking sys/fcntl.h presence... yes checking for sys/fcntl.h... yes checking sys/prctl.h usability... yes checking sys/prctl.h presence... yes checking for sys/prctl.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking prot.h usability... no checking prot.h presence... no checking for prot.h... no checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking sia.h usability... no checking sia.h presence... no checking for sia.h... no checking siad.h usability... no checking siad.h presence... no checking for siad.h... no checking for net/if.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking openssl/crypto.h usability... yes checking openssl/crypto.h presence... yes checking for openssl/crypto.h... yes checking openssl/err.h usability... yes checking openssl/err.h presence... yes checking for openssl/err.h... yes checking openssl/evp.h usability... yes checking openssl/evp.h presence... yes checking for openssl/evp.h... yes checking openssl/engine.h usability... yes checking openssl/engine.h presence... yes checking for openssl/engine.h... yes checking for OpenSSL version >= 0.9.7... yes checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for socklen_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for struct in6_addr... yes checking for struct sockaddr_storage... yes checking for struct sockaddr_in6... yes checking for struct addrinfo... yes checking for getopt_long... yes checking for lockf... yes checking for strsignal... yes checking for sigaction... yes checking for sigprocmask... yes checking for pthread_sigmask... yes checking for snprintf... yes checking for vsnprintf... yes checking for setsid... yes checking for strncasecmp... yes checking for strcasecmp... yes checking for localtime_r... yes checking for ctime_r... yes checking for gmtime_r... yes checking for strsep... yes checking for inet_aton... yes checking for inet_pton... yes checking for inet_ntop... yes checking for setlinebuf... yes checking for setvbuf... yes checking for getusershell... yes checking for initgroups... yes checking for getaddrinfo... yes checking for getnameinfo... yes checking for closefrom... no checking for gettimeofday... yes checking for getpeereid... no checking for strlcat... no checking for strlcpy... no checking whether crypt must be declared... no checking whether strncasecmp must be declared... no checking whether strcasecmp must be declared... no checking whether inet_aton must be declared... no checking whether setlinebuf must be declared... no checking whether getusershell must be declared... no checking whether endusershell must be declared... no checking return type of signal handlers... void checking for ut_xtime in struct utmpx... no checking for ipi_addr in struct in_pktinfo... yes checking for ipi6_addr in struct in6_pktinfo... yes checking for an ANSI C-conforming const... yes checking type of OS... Linux checking for developer gcc flags... yes. Using -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef checking for TLS... yes checking for crypt in -lcrypt... yes checking for setkey in -lcipher... no checking gethostbyaddr_r() syntax... GNU-style checking gethostbyname_r() syntax... GNU-style checking ctime_r() syntax... POSIX-style top_builddir=/root/radiusd configure: updating cache config.cache configure: error: conditional "INSTALL_LTDL" was never defined. Usually this means the macro was only invoked conditionally. make: *** [configure-stamp] Error 1
Thanks for the tip, but in the mean time I found out why the default 2.1.1 package did not compile. In the debian/patches/01-radiusd-to-freeradius.dpatch file, on line 38, the following line: -pidfile = ${run_dir}/radiusd.pid Must be changed to -pidfile = ${run_dir}/${name}.pid Doing that, the standard 2.1.1 package compiles fine. Thank you for your help, Roberto Alexandre Chapellon wrote:
try compiling using bundled libtools remove "--with-system-libtool" from debian/rules then relaunch dpkg-builpackages
Le 05.11.2008 09:53, rgreiner a écrit :
Hi,
I'm trying to compile 2.1.1 on debian using the git version (the standard package stops at the beginning due to the problem with the patches for debian), and in the middle of the checking part it stopped with a message about "INSTALL_LTDL"not being definded (full output below). Could someone please give me a help? A quick googling didn't come up with anyting useable....
Thanks,
Roberto
dpkg-buildpackage: source package is freeradius dpkg-buildpackage: source version is 2.1.1-0 dpkg-buildpackage: source changed by Alan DeKok <aland@freeradius.org> dpkg-buildpackage: host architecture i386 dpkg-buildpackage: source version without epoch 2.1.1-0 debian/rules clean dpatch deapply-all 02-dialupadmin-help not applied to ./ . 01-radiusd-to-freeradius not applied to ./ . rm -rf patch-stamp patch-stampT debian/patched dh_testdir dh_clean rm -f build-arch-stamp build-indep-stamp libltdl/stamp-h1 rm -f install-arch-stamp install-indep-stamp configure-stamp [ -f Make.inc ] && make distclean || true # The make clean forgets to remove this build directory [ -d src/modules/lib ] && rm -fr src/modules/lib || true # Put the original autotools files back in place [ -f config.sub.dist ] && rm config.sub && mv config.sub.dist config.sub || true [ -f config.guess.dist ] && rm config.guess && mv config.guess.dist config.guess || true debian/rules build test -d debian/patched || install -d debian/patched dpatch apply-all applying patch 01-radiusd-to-freeradius to ./ ... ok. applying patch 02-dialupadmin-help to ./ ... ok. dpatch cat-all >>patch-stampT mv -f patch-stampT patch-stamp dh_testdir # Update the autotools files if necessary # Force Build-Depends on autotools-dev for /usr/share/misc/config.* if [ -e config.sub.dist ]; then rm config.sub; else mv config.sub config.sub.dist; fi if [ -e config.guess.dist ]; then rm config.guess; else mv config.guess config.guess.dist; fi ln -s /usr/share/misc/config.sub config.sub ln -s /usr/share/misc/config.guess config.guess ./configure \ --build i486-linux-gnu \ --config-cache \ --prefix=/usr \ --exec-prefix=/usr \ --mandir=/usr/share/man \ --sysconfdir=/etc \ --libdir=/usr/lib/freeradius \ --datadir=/usr/share \ --localstatedir=/var \ --with-raddbdir=/etc/freeradius \ --with-logdir=/var/log/freeradius \ --with-system-libtool --disable-ltdl-install \ --with-large-files --with-udpfromto --with-edir \ --enable-developer \ --with-rlm-sql-postgresql-lib-dir=`pg_config --libdir` \ --with-rlm-sql-postgresql-include-dir=`pg_config --includedir` configure: creating cache config.cache checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for AIX... no checking whether gcc needs -traditional... no checking whether we are using SUNPro C... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking for gmake... no checking for make... /usr/bin/make checking for lt_dlinit in -lltdl... yes configure: WARNING: not overwriting libltdl at /usr, force with `--enable-ltdl-install' checking build system type... i486-pc-linux-gnu checking host system type... i486-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 98304 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... (cached) no checking whether g++ accepts -g... (cached) no checking which extension is used for runtime loadable modules... checking which variable specifies run-time module search path... checking for the default library search path... checking for library containing dlopen... -ldl checking for dlerror... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dld_link in -ldld... no checking for _ prefix in compiled symbols... no checking whether deplibs are loaded by dlopen... yes checking for argz.h... yes checking for error_t... yes checking for argz_add... yes checking for argz_append... yes checking for argz_count... yes checking for argz_create_sep... yes checking for argz_insert... yes checking for argz_next... yes checking for argz_stringify... yes checking if argz actually works... yes checking whether libtool supports -dlopen/-dlpreopen... yes checking for libtool... /usr/bin/libtool checking docdir... ${datadir}/doc/freeradius checking logdir... /var/log/freeradius checking radacctdir... ${logdir}/radacct checking raddbdir... /etc/freeradius checking for perl... /usr/bin/perl checking for snmpget... /usr/bin/snmpget checking for snmpwalk... /usr/bin/snmpwalk checking for rusers... /usr/bin/rusers checking for locate... /usr/bin/locate checking for dirname... /usr/bin/dirname checking for grep... (cached) /bin/grep checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_create in -lpthread... yes checking for library containing sem_init... none required checking for getsockname in -lsocket... no checking for inet_aton in -lresolv... yes checking for inet_ntoa in -lnsl... yes checking for DH_new in -lcrypto... yes checking for SSL_new in -lssl... yes checking for htonl in -lws2_32... no checking for pcap_open_live in -lpcap... yes checking for a readline compatible library... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for unistd.h... (cached) yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking resource.h usability... no checking resource.h presence... no checking for resource.h... no checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking utmp.h usability... yes checking utmp.h presence... yes checking for utmp.h... yes checking utmpx.h usability... yes checking utmpx.h presence... yes checking for utmpx.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking semaphore.h usability... yes checking semaphore.h presence... yes checking for semaphore.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for sys/types.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking winsock.h usability... no checking winsock.h presence... no checking for winsock.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/wait.h... (cached) yes checking sys/security.h usability... no checking sys/security.h presence... no checking for sys/security.h... no checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/fcntl.h usability... yes checking sys/fcntl.h presence... yes checking for sys/fcntl.h... yes checking sys/prctl.h usability... yes checking sys/prctl.h presence... yes checking for sys/prctl.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking prot.h usability... no checking prot.h presence... no checking for prot.h... no checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking sia.h usability... no checking sia.h presence... no checking for sia.h... no checking siad.h usability... no checking siad.h presence... no checking for siad.h... no checking for net/if.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking openssl/crypto.h usability... yes checking openssl/crypto.h presence... yes checking for openssl/crypto.h... yes checking openssl/err.h usability... yes checking openssl/err.h presence... yes checking for openssl/err.h... yes checking openssl/evp.h usability... yes checking openssl/evp.h presence... yes checking for openssl/evp.h... yes checking openssl/engine.h usability... yes checking openssl/engine.h presence... yes checking for openssl/engine.h... yes checking for OpenSSL version >= 0.9.7... yes checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for socklen_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for struct in6_addr... yes checking for struct sockaddr_storage... yes checking for struct sockaddr_in6... yes checking for struct addrinfo... yes checking for getopt_long... yes checking for lockf... yes checking for strsignal... yes checking for sigaction... yes checking for sigprocmask... yes checking for pthread_sigmask... yes checking for snprintf... yes checking for vsnprintf... yes checking for setsid... yes checking for strncasecmp... yes checking for strcasecmp... yes checking for localtime_r... yes checking for ctime_r... yes checking for gmtime_r... yes checking for strsep... yes checking for inet_aton... yes checking for inet_pton... yes checking for inet_ntop... yes checking for setlinebuf... yes checking for setvbuf... yes checking for getusershell... yes checking for initgroups... yes checking for getaddrinfo... yes checking for getnameinfo... yes checking for closefrom... no checking for gettimeofday... yes checking for getpeereid... no checking for strlcat... no checking for strlcpy... no checking whether crypt must be declared... no checking whether strncasecmp must be declared... no checking whether strcasecmp must be declared... no checking whether inet_aton must be declared... no checking whether setlinebuf must be declared... no checking whether getusershell must be declared... no checking whether endusershell must be declared... no checking return type of signal handlers... void checking for ut_xtime in struct utmpx... no checking for ipi_addr in struct in_pktinfo... yes checking for ipi6_addr in struct in6_pktinfo... yes checking for an ANSI C-conforming const... yes checking type of OS... Linux checking for developer gcc flags... yes. Using -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef checking for TLS... yes checking for crypt in -lcrypt... yes checking for setkey in -lcipher... no checking gethostbyaddr_r() syntax... GNU-style checking gethostbyname_r() syntax... GNU-style checking ctime_r() syntax... POSIX-style top_builddir=/root/radiusd configure: updating cache config.cache configure: error: conditional "INSTALL_LTDL" was never defined. Usually this means the macro was only invoked conditionally. make: *** [configure-stamp] Error 1
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- ----------------------------------------------------- Marcos Roberto Greiner Os otimistas acham que estamos no melhor dos mundos Os pessimistas tem medo de que isto seja verdade Murphy -----------------------------------------------------
Weired because it has been corrected for weeks in the git repository. maybe you should just update your git tree. Le 06.11.2008 01:32, rgreiner a écrit :
Thanks for the tip, but in the mean time I found out why the default 2.1.1 package did not compile.
In the debian/patches/01-radiusd-to-freeradius.dpatch file, on line 38, the following line:
-pidfile = ${run_dir}/radiusd.pid
Must be changed to
-pidfile = ${run_dir}/${name}.pid
Doing that, the standard 2.1.1 package compiles fine.
Thank you for your help,
Roberto
Alexandre Chapellon wrote:
try compiling using bundled libtools remove "--with-system-libtool" from debian/rules then relaunch dpkg-builpackages
Le 05.11.2008 09:53, rgreiner a écrit :
Hi,
I'm trying to compile 2.1.1 on debian using the git version (the standard package stops at the beginning due to the problem with the patches for debian), and in the middle of the checking part it stopped with a message about "INSTALL_LTDL"not being definded (full output below). Could someone please give me a help? A quick googling didn't come up with anyting useable....
Thanks,
Roberto
dpkg-buildpackage: source package is freeradius dpkg-buildpackage: source version is 2.1.1-0 dpkg-buildpackage: source changed by Alan DeKok <aland@freeradius.org> dpkg-buildpackage: host architecture i386 dpkg-buildpackage: source version without epoch 2.1.1-0 debian/rules clean dpatch deapply-all 02-dialupadmin-help not applied to ./ . 01-radiusd-to-freeradius not applied to ./ . rm -rf patch-stamp patch-stampT debian/patched dh_testdir dh_clean rm -f build-arch-stamp build-indep-stamp libltdl/stamp-h1 rm -f install-arch-stamp install-indep-stamp configure-stamp [ -f Make.inc ] && make distclean || true # The make clean forgets to remove this build directory [ -d src/modules/lib ] && rm -fr src/modules/lib || true # Put the original autotools files back in place [ -f config.sub.dist ] && rm config.sub && mv config.sub.dist config.sub || true [ -f config.guess.dist ] && rm config.guess && mv config.guess.dist config.guess || true debian/rules build test -d debian/patched || install -d debian/patched dpatch apply-all applying patch 01-radiusd-to-freeradius to ./ ... ok. applying patch 02-dialupadmin-help to ./ ... ok. dpatch cat-all >>patch-stampT mv -f patch-stampT patch-stamp dh_testdir # Update the autotools files if necessary # Force Build-Depends on autotools-dev for /usr/share/misc/config.* if [ -e config.sub.dist ]; then rm config.sub; else mv config.sub config.sub.dist; fi if [ -e config.guess.dist ]; then rm config.guess; else mv config.guess config.guess.dist; fi ln -s /usr/share/misc/config.sub config.sub ln -s /usr/share/misc/config.guess config.guess ./configure \ --build i486-linux-gnu \ --config-cache \ --prefix=/usr \ --exec-prefix=/usr \ --mandir=/usr/share/man \ --sysconfdir=/etc \ --libdir=/usr/lib/freeradius \ --datadir=/usr/share \ --localstatedir=/var \ --with-raddbdir=/etc/freeradius \ --with-logdir=/var/log/freeradius \ --with-system-libtool --disable-ltdl-install \ --with-large-files --with-udpfromto --with-edir \ --enable-developer \ --with-rlm-sql-postgresql-lib-dir=`pg_config --libdir` \ --with-rlm-sql-postgresql-include-dir=`pg_config --includedir` configure: creating cache config.cache checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for AIX... no checking whether gcc needs -traditional... no checking whether we are using SUNPro C... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking for gmake... no checking for make... /usr/bin/make checking for lt_dlinit in -lltdl... yes configure: WARNING: not overwriting libltdl at /usr, force with `--enable-ltdl-install' checking build system type... i486-pc-linux-gnu checking host system type... i486-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 98304 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... (cached) no checking whether g++ accepts -g... (cached) no checking which extension is used for runtime loadable modules... checking which variable specifies run-time module search path... checking for the default library search path... checking for library containing dlopen... -ldl checking for dlerror... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dld_link in -ldld... no checking for _ prefix in compiled symbols... no checking whether deplibs are loaded by dlopen... yes checking for argz.h... yes checking for error_t... yes checking for argz_add... yes checking for argz_append... yes checking for argz_count... yes checking for argz_create_sep... yes checking for argz_insert... yes checking for argz_next... yes checking for argz_stringify... yes checking if argz actually works... yes checking whether libtool supports -dlopen/-dlpreopen... yes checking for libtool... /usr/bin/libtool checking docdir... ${datadir}/doc/freeradius checking logdir... /var/log/freeradius checking radacctdir... ${logdir}/radacct checking raddbdir... /etc/freeradius checking for perl... /usr/bin/perl checking for snmpget... /usr/bin/snmpget checking for snmpwalk... /usr/bin/snmpwalk checking for rusers... /usr/bin/rusers checking for locate... /usr/bin/locate checking for dirname... /usr/bin/dirname checking for grep... (cached) /bin/grep checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_create in -lpthread... yes checking for library containing sem_init... none required checking for getsockname in -lsocket... no checking for inet_aton in -lresolv... yes checking for inet_ntoa in -lnsl... yes checking for DH_new in -lcrypto... yes checking for SSL_new in -lssl... yes checking for htonl in -lws2_32... no checking for pcap_open_live in -lpcap... yes checking for a readline compatible library... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for unistd.h... (cached) yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking resource.h usability... no checking resource.h presence... no checking for resource.h... no checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking utmp.h usability... yes checking utmp.h presence... yes checking for utmp.h... yes checking utmpx.h usability... yes checking utmpx.h presence... yes checking for utmpx.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking semaphore.h usability... yes checking semaphore.h presence... yes checking for semaphore.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for sys/types.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking winsock.h usability... no checking winsock.h presence... no checking for winsock.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/wait.h... (cached) yes checking sys/security.h usability... no checking sys/security.h presence... no checking for sys/security.h... no checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/fcntl.h usability... yes checking sys/fcntl.h presence... yes checking for sys/fcntl.h... yes checking sys/prctl.h usability... yes checking sys/prctl.h presence... yes checking for sys/prctl.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking prot.h usability... no checking prot.h presence... no checking for prot.h... no checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking sia.h usability... no checking sia.h presence... no checking for sia.h... no checking siad.h usability... no checking siad.h presence... no checking for siad.h... no checking for net/if.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking openssl/crypto.h usability... yes checking openssl/crypto.h presence... yes checking for openssl/crypto.h... yes checking openssl/err.h usability... yes checking openssl/err.h presence... yes checking for openssl/err.h... yes checking openssl/evp.h usability... yes checking openssl/evp.h presence... yes checking for openssl/evp.h... yes checking openssl/engine.h usability... yes checking openssl/engine.h presence... yes checking for openssl/engine.h... yes checking for OpenSSL version >= 0.9.7... yes checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for socklen_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for struct in6_addr... yes checking for struct sockaddr_storage... yes checking for struct sockaddr_in6... yes checking for struct addrinfo... yes checking for getopt_long... yes checking for lockf... yes checking for strsignal... yes checking for sigaction... yes checking for sigprocmask... yes checking for pthread_sigmask... yes checking for snprintf... yes checking for vsnprintf... yes checking for setsid... yes checking for strncasecmp... yes checking for strcasecmp... yes checking for localtime_r... yes checking for ctime_r... yes checking for gmtime_r... yes checking for strsep... yes checking for inet_aton... yes checking for inet_pton... yes checking for inet_ntop... yes checking for setlinebuf... yes checking for setvbuf... yes checking for getusershell... yes checking for initgroups... yes checking for getaddrinfo... yes checking for getnameinfo... yes checking for closefrom... no checking for gettimeofday... yes checking for getpeereid... no checking for strlcat... no checking for strlcpy... no checking whether crypt must be declared... no checking whether strncasecmp must be declared... no checking whether strcasecmp must be declared... no checking whether inet_aton must be declared... no checking whether setlinebuf must be declared... no checking whether getusershell must be declared... no checking whether endusershell must be declared... no checking return type of signal handlers... void checking for ut_xtime in struct utmpx... no checking for ipi_addr in struct in_pktinfo... yes checking for ipi6_addr in struct in6_pktinfo... yes checking for an ANSI C-conforming const... yes checking type of OS... Linux checking for developer gcc flags... yes. Using -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef checking for TLS... yes checking for crypt in -lcrypt... yes checking for setkey in -lcipher... no checking gethostbyaddr_r() syntax... GNU-style checking gethostbyname_r() syntax... GNU-style checking ctime_r() syntax... POSIX-style top_builddir=/root/radiusd configure: updating cache config.cache configure: error: conditional "INSTALL_LTDL" was never defined. Usually this means the macro was only invoked conditionally. make: *** [configure-stamp] Error 1
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Yes, the version in git does have this correction. With default 2.1.1, I meant the 2.1.1 version in the ftp/http. Roberto Alexandre Chapellon wrote:
Weired because it has been corrected for weeks in the git repository. maybe you should just update your git tree.
Le 06.11.2008 01:32, rgreiner a écrit :
Thanks for the tip, but in the mean time I found out why the default 2.1.1 package did not compile.
In the debian/patches/01-radiusd-to-freeradius.dpatch file, on line 38, the following line:
-pidfile = ${run_dir}/radiusd.pid
Must be changed to
-pidfile = ${run_dir}/${name}.pid
Doing that, the standard 2.1.1 package compiles fine.
Thank you for your help,
Roberto
Alexandre Chapellon wrote:
try compiling using bundled libtools remove "--with-system-libtool" from debian/rules then relaunch dpkg-builpackages
Le 05.11.2008 09:53, rgreiner a écrit :
Hi,
I'm trying to compile 2.1.1 on debian using the git version (the standard package stops at the beginning due to the problem with the patches for debian), and in the middle of the checking part it stopped with a message about "INSTALL_LTDL"not being definded (full output below). Could someone please give me a help? A quick googling didn't come up with anyting useable....
Thanks,
Roberto
dpkg-buildpackage: source package is freeradius dpkg-buildpackage: source version is 2.1.1-0 dpkg-buildpackage: source changed by Alan DeKok <aland@freeradius.org> dpkg-buildpackage: host architecture i386 dpkg-buildpackage: source version without epoch 2.1.1-0 debian/rules clean dpatch deapply-all 02-dialupadmin-help not applied to ./ . 01-radiusd-to-freeradius not applied to ./ . rm -rf patch-stamp patch-stampT debian/patched dh_testdir dh_clean rm -f build-arch-stamp build-indep-stamp libltdl/stamp-h1 rm -f install-arch-stamp install-indep-stamp configure-stamp [ -f Make.inc ] && make distclean || true # The make clean forgets to remove this build directory [ -d src/modules/lib ] && rm -fr src/modules/lib || true # Put the original autotools files back in place [ -f config.sub.dist ] && rm config.sub && mv config.sub.dist config.sub || true [ -f config.guess.dist ] && rm config.guess && mv config.guess.dist config.guess || true debian/rules build test -d debian/patched || install -d debian/patched dpatch apply-all applying patch 01-radiusd-to-freeradius to ./ ... ok. applying patch 02-dialupadmin-help to ./ ... ok. dpatch cat-all >>patch-stampT mv -f patch-stampT patch-stamp dh_testdir # Update the autotools files if necessary # Force Build-Depends on autotools-dev for /usr/share/misc/config.* if [ -e config.sub.dist ]; then rm config.sub; else mv config.sub config.sub.dist; fi if [ -e config.guess.dist ]; then rm config.guess; else mv config.guess config.guess.dist; fi ln -s /usr/share/misc/config.sub config.sub ln -s /usr/share/misc/config.guess config.guess ./configure \ --build i486-linux-gnu \ --config-cache \ --prefix=/usr \ --exec-prefix=/usr \ --mandir=/usr/share/man \ --sysconfdir=/etc \ --libdir=/usr/lib/freeradius \ --datadir=/usr/share \ --localstatedir=/var \ --with-raddbdir=/etc/freeradius \ --with-logdir=/var/log/freeradius \ --with-system-libtool --disable-ltdl-install \ --with-large-files --with-udpfromto --with-edir \ --enable-developer \ --with-rlm-sql-postgresql-lib-dir=`pg_config --libdir` \ --with-rlm-sql-postgresql-include-dir=`pg_config --includedir` configure: creating cache config.cache checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for AIX... no checking whether gcc needs -traditional... no checking whether we are using SUNPro C... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking for gmake... no checking for make... /usr/bin/make checking for lt_dlinit in -lltdl... yes configure: WARNING: not overwriting libltdl at /usr, force with `--enable-ltdl-install' checking build system type... i486-pc-linux-gnu checking host system type... i486-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 98304 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... (cached) no checking whether g++ accepts -g... (cached) no checking which extension is used for runtime loadable modules... checking which variable specifies run-time module search path... checking for the default library search path... checking for library containing dlopen... -ldl checking for dlerror... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dld_link in -ldld... no checking for _ prefix in compiled symbols... no checking whether deplibs are loaded by dlopen... yes checking for argz.h... yes checking for error_t... yes checking for argz_add... yes checking for argz_append... yes checking for argz_count... yes checking for argz_create_sep... yes checking for argz_insert... yes checking for argz_next... yes checking for argz_stringify... yes checking if argz actually works... yes checking whether libtool supports -dlopen/-dlpreopen... yes checking for libtool... /usr/bin/libtool checking docdir... ${datadir}/doc/freeradius checking logdir... /var/log/freeradius checking radacctdir... ${logdir}/radacct checking raddbdir... /etc/freeradius checking for perl... /usr/bin/perl checking for snmpget... /usr/bin/snmpget checking for snmpwalk... /usr/bin/snmpwalk checking for rusers... /usr/bin/rusers checking for locate... /usr/bin/locate checking for dirname... /usr/bin/dirname checking for grep... (cached) /bin/grep checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_create in -lpthread... yes checking for library containing sem_init... none required checking for getsockname in -lsocket... no checking for inet_aton in -lresolv... yes checking for inet_ntoa in -lnsl... yes checking for DH_new in -lcrypto... yes checking for SSL_new in -lssl... yes checking for htonl in -lws2_32... no checking for pcap_open_live in -lpcap... yes checking for a readline compatible library... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for unistd.h... (cached) yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking resource.h usability... no checking resource.h presence... no checking for resource.h... no checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking utmp.h usability... yes checking utmp.h presence... yes checking for utmp.h... yes checking utmpx.h usability... yes checking utmpx.h presence... yes checking for utmpx.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking semaphore.h usability... yes checking semaphore.h presence... yes checking for semaphore.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for sys/types.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking winsock.h usability... no checking winsock.h presence... no checking for winsock.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/wait.h... (cached) yes checking sys/security.h usability... no checking sys/security.h presence... no checking for sys/security.h... no checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/fcntl.h usability... yes checking sys/fcntl.h presence... yes checking for sys/fcntl.h... yes checking sys/prctl.h usability... yes checking sys/prctl.h presence... yes checking for sys/prctl.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking prot.h usability... no checking prot.h presence... no checking for prot.h... no checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking sia.h usability... no checking sia.h presence... no checking for sia.h... no checking siad.h usability... no checking siad.h presence... no checking for siad.h... no checking for net/if.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking openssl/crypto.h usability... yes checking openssl/crypto.h presence... yes checking for openssl/crypto.h... yes checking openssl/err.h usability... yes checking openssl/err.h presence... yes checking for openssl/err.h... yes checking openssl/evp.h usability... yes checking openssl/evp.h presence... yes checking for openssl/evp.h... yes checking openssl/engine.h usability... yes checking openssl/engine.h presence... yes checking for openssl/engine.h... yes checking for OpenSSL version >= 0.9.7... yes checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for socklen_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for struct in6_addr... yes checking for struct sockaddr_storage... yes checking for struct sockaddr_in6... yes checking for struct addrinfo... yes checking for getopt_long... yes checking for lockf... yes checking for strsignal... yes checking for sigaction... yes checking for sigprocmask... yes checking for pthread_sigmask... yes checking for snprintf... yes checking for vsnprintf... yes checking for setsid... yes checking for strncasecmp... yes checking for strcasecmp... yes checking for localtime_r... yes checking for ctime_r... yes checking for gmtime_r... yes checking for strsep... yes checking for inet_aton... yes checking for inet_pton... yes checking for inet_ntop... yes checking for setlinebuf... yes checking for setvbuf... yes checking for getusershell... yes checking for initgroups... yes checking for getaddrinfo... yes checking for getnameinfo... yes checking for closefrom... no checking for gettimeofday... yes checking for getpeereid... no checking for strlcat... no checking for strlcpy... no checking whether crypt must be declared... no checking whether strncasecmp must be declared... no checking whether strcasecmp must be declared... no checking whether inet_aton must be declared... no checking whether setlinebuf must be declared... no checking whether getusershell must be declared... no checking whether endusershell must be declared... no checking return type of signal handlers... void checking for ut_xtime in struct utmpx... no checking for ipi_addr in struct in_pktinfo... yes checking for ipi6_addr in struct in6_pktinfo... yes checking for an ANSI C-conforming const... yes checking type of OS... Linux checking for developer gcc flags... yes. Using -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef checking for TLS... yes checking for crypt in -lcrypt... yes checking for setkey in -lcipher... no checking gethostbyaddr_r() syntax... GNU-style checking gethostbyname_r() syntax... GNU-style checking ctime_r() syntax... POSIX-style top_builddir=/root/radiusd configure: updating cache config.cache configure: error: conditional "INSTALL_LTDL" was never defined. Usually this means the macro was only invoked conditionally. make: *** [configure-stamp] Error 1
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
------------------------------------------------------------------------
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- ----------------------------------------------------- Marcos Roberto Greiner Os otimistas acham que estamos no melhor dos mundos Os pessimistas tem medo de que isto seja verdade Murphy -----------------------------------------------------
participants (5)
-
Aaron Seibert -
Alexandre Chapellon -
rgreiner -
Stephen Bowman -
Venkatesh K