installing v.2.1.1 I got errors. Any clues ? thanks Duan ./configure ... ... gcc version 4.1.2 20071124 (Red Hat 4.1.2-42) configure:3000: $? = 0 configure:3007: g++ -V >&5 g++: '-V' option must have argument configure:3010: $? = 1 configure:3013: checking whether we are using the GNU C++ compiler configure:3042: g++ -c conftest.cpp >&5 configure:3048: $? = 0 configure:3065: result: yes configure:3070: checking whether g++ accepts -g configure:3100: g++ -c -g conftest.cpp >&5 configure:3106: $? = 0 - Ignored: configure:3205: result: yes configure:3235: checking how to run the C preprocessor configure:3275: gcc -E conftest.c configure:3281: $? = 0 configure:3312: gcc -E conftest.c conftest.c:8:28: error: ac_nonexistent.h: No such file or directory configure:3318: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:3351: result: gcc -E configure:3380: gcc -E conftest.c configure:3386: $? = 0 configure:3417: gcc -E conftest.c conftest.c:8:28: error: ac_nonexistent.h: No such file or directory configure:3423: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include <ac_nonexistent.h> ... .. ... configure:4417: checking whether byte ordering is bigendian configure:4450: gcc -c -g -O2 conftest.c >&5 configure:4456: $? = 0 configure:4488: gcc -c -g -O2 conftest.c >&5 conftest.c: In function 'main': conftest.c:25: error: 'not' undeclared (first use in this function) conftest.c:25: error: (Each undeclared identifier is reported only once conftest.c:25: error: for each function it appears in.) conftest.c:25: error: expected ';' before 'big' configure:4494: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include <sys/types.h> | #include <sys/param.h> | | int | main () | { | #if BYTE_ORDER != BIG_ENDIAN | not big endian | #endif | | ; | return 0; | } ... ...
Am 08.10.2008 um 18:22 schrieb Olavo Dietrich:
installing v.2.1.1 I got errors.
Can you be more specific? Can't you configure? Compile? Install? That tests of configure fail is fully expected, so unfortunately you have not given much information (except that your computer is little endian).
Any clues ? thanks
Duan
[...] Nicolas Goutte extragroup GmbH - Karlsruhe Waldstr. 49 76133 Karlsruhe Germany Geschäftsführer: Stephan Mönninghoff, Hans Martin Kern, Tilman Haerdle Registergericht: Amtsgericht Münster / HRB: 5624 Steuer Nr.: 337/5903/0421 / UstID: DE 204607841
Thanks Nicolas I have these "fail" alll over the place in my configure. Attached. Thanks Duan ./configure >> error configure: WARNING: snmpget not found - Simultaneous-Use and checkrad.pl may not work configure: WARNING: snmpwalk not found - Simultaneous-Use and checkrad.pl may not work configure: WARNING: pcap library not found, silently disabling the RADIUS sniffer. config.status: WARNING: ./Make.inc.in seems to ignore the --datarootdir setting config.status: WARNING: ./src/include/build-radpaths-h.in seems to ignore the --datarootdir setting configure: WARNING: the TNCS library isn't found! configure: WARNING: silently not building rlm_eap_tnc. configure: WARNING: FAILURE: rlm_eap_tnc requires: -lTNCS. configure: WARNING: silently not building rlm_eap_ikev2. configure: WARNING: FAILURE: rlm_eap_ikev2 requires: libeap-ikev2 EAPIKEv2/connector.h. configure: WARNING: silently not building rlm_sql_iodbc. configure: WARNING: FAILURE: rlm_sql_iodbc requires: libiodbc isql.h. configure: WARNING: MySQL libraries not found. Use --with-mysql-lib-dir=<path>. configure: WARNING: MySQL headers not found. Use --with-mysql-include-dir=<path>. configure: WARNING: silently not building rlm_sql_mysql. configure: WARNING: FAILURE: rlm_sql_mysql requires: libmysqlclient_r mysql.h. configure: WARNING: silently not building rlm_sql_postgresql. configure: WARNING: FAILURE: rlm_sql_postgresql requires: libpq-fe.h libpq. configure: WARNING: oracle headers not found. Use --with-oracle-home-dir=<path>. configure: WARNING: silently not building rlm_sql_oracle. configure: WARNING: FAILURE: rlm_sql_oracle requires: oci.h. configure: WARNING: silently not building rlm_sql_unixodbc. configure: WARNING: FAILURE: rlm_sql_unixodbc requires: sql.h.
-----Original Message----- From: freeradius-users-bounces+odietrich=cliconnect.com@lists.freera dius.org [mailto:freeradius-users-> bounces+odietrich=cliconnect.com@lists.freeradius.org] On Behalf Of Nicolas Goutte Sent: Wednesday, October 08, 2008 9:48 AM To: FreeRadius users mailing list Subject: Re: Install error
Am 08.10.2008 um 18:22 schrieb Olavo Dietrich:
installing v.2.1.1 I got errors.
Can you be more specific?
Can't you configure? Compile? Install?
That tests of configure fail is fully expected, so unfortunately you have not given much information (except that your computer is little endian).
Any clues ? thanks
Duan
[...]
Nicolas Goutte
extragroup GmbH - Karlsruhe Waldstr. 49 76133 Karlsruhe Germany
Geschäftsführer: Stephan Mönninghoff, Hans Martin Kern, Tilman Haerdle Registergericht: Amtsgericht Münster / HRB: 5624 Steuer Nr.: 337/5903/0421 / UstID: DE 204607841
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Olavo Dietrich wrote:
Thanks Nicolas
I have these "fail" alll over the place in my configure. Attached.
Do you have these dependencies installed? If not then there is nothing wrong other than not preparing your system to perform the build. You need to go back and install the missing dependencies. One advantage of RPM based builds is they declare dependencies and won't run until the dependencies are satisfied. Because the dependencies are specified at the package level it's easy to know which packages to install to satisfy the dependencies. -- John Dennis <jdennis@redhat.com>
All right, Yes, I have tried the rpm and got failed dependencies. Then I tried to install the dependencies and got another failed dependencies. So , I was in a loop, and decided to go with the source. It looks like it won't be as simple as I thought. rpm -ivh freeradius-2.1.1-2.fc10.x86_64.rpm error: Failed dependencies: libcrypto.so.7()(64bit) is needed by freeradius-2.1.1-2.fc10.x86_64 libssl.so.7()(64bit) is needed by freeradius-2.1.1-2.fc10.x86_64 Thank you for your help. I'll try the rpms again. Duan
-----Original Message----- From: freeradius-users-bounces+odietrich=cliconnect.com@lists.freera dius.org [mailto:freeradius-users-> bounces+odietrich=cliconnect.com@lists.freeradius.org] On Behalf Of John Dennis Sent: Wednesday, October 08, 2008 10:46 AM To: FreeRadius users mailing list Subject: Re: Install error
Olavo Dietrich wrote:
Thanks Nicolas
I have these "fail" alll over the place in my configure. Attached.
Do you have these dependencies installed? If not then there is nothing wrong other than not preparing your system to perform the build. You need to go back and install the missing dependencies.
One advantage of RPM based builds is they declare dependencies and won't run until the dependencies are satisfied. Because the dependencies are specified at the package level it's easy to know which packages to install to satisfy the dependencies.
-- John Dennis <jdennis@redhat.com>
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Olavo Dietrich wrote:
All right,
Yes, I have tried the rpm and got failed dependencies. Then I tried to install the dependencies and got another failed dependencies. So , I was in a loop, and decided to go with the source.
It looks like it won't be as simple as I thought.
rpm -ivh freeradius-2.1.1-2.fc10.x86_64.rpm error: Failed dependencies: libcrypto.so.7()(64bit) is needed by freeradius-2.1.1-2.fc10.x86_64 libssl.so.7()(64bit) is needed by freeradius-2.1.1-2.fc10.x86_64
Thank you for your help. I'll try the rpms again.
The problem is you're not using an rpm installer, but trying to install an rpm directly. yum is the rpm installer for fedora and RHEL. % yum --enable-repo fedora-development install freeradius Just be careful, this is "rawhide" the latest bits, to solve dependencies yum might pull in a lot of stuff. You can also do a local build and avoid the issues with pulling in dependencies from rawhide. If rpmbuild is not installed, then install it. % yum install rpm-build Get the latest srpm from http://koji.fedoraproject.org/koji/packageinfo?packageID=298 Click on the latest build, download the srpm and install the srpm via 'rpm -ihv <path to downloaded srpm) % rpmbuild -ba freeradius.spec rpmbuild might complain about missing dependencies, for each missing dependency do a yum install for the missing dependency. This will pull in dependencies for your current OS version, probably what you want (instead of rawhide). -- John Dennis <jdennis@redhat.com>
Thanks John, Do I need a RH subscription for this or the repo name is not right ? # yum --enablerepo fedora-development install freeradius Loading "rhnplugin" plugin Loading "security" plugin This system is not registered with RHN. RHN support will be disabled. Error getting repository data for fedora-development, repository not found Duan
-----Original Message----- From: freeradius-users-bounces+odietrich=cliconnect.com@lists.freera dius.org [mailto:freeradius-users-> bounces+odietrich=cliconnect.com@lists.freeradius.org] On Behalf Of John Dennis Sent: Wednesday, October 08, 2008 11:24 AM To: FreeRadius users mailing list Subject: Re: Install error
Olavo Dietrich wrote:
All right,
Yes, I have tried the rpm and got failed dependencies. Then I tried to install the dependencies and got another failed dependencies. So , I was in a loop, and decided to go with the source.
It looks like it won't be as simple as I thought.
rpm -ivh freeradius-2.1.1-2.fc10.x86_64.rpm error: Failed dependencies: libcrypto.so.7()(64bit) is needed by freeradius-2.1.1-2.fc10.x86_64 libssl.so.7()(64bit) is needed by freeradius-2.1.1-2.fc10.x86_64
Thank you for your help. I'll try the rpms again.
The problem is you're not using an rpm installer, but trying to install an rpm directly. yum is the rpm installer for fedora and RHEL.
% yum --enable-repo fedora-development install freeradius
Just be careful, this is "rawhide" the latest bits, to solve dependencies yum might pull in a lot of stuff.
You can also do a local build and avoid the issues with pulling in dependencies from rawhide.
If rpmbuild is not installed, then install it.
% yum install rpm-build
Get the latest srpm from http://koji.fedoraproject.org/koji/packageinfo?packageID=298
Click on the latest build, download the srpm and install the srpm via 'rpm -ihv <path to downloaded srpm)
% rpmbuild -ba freeradius.spec
rpmbuild might complain about missing dependencies, for each missing dependency do a yum install for the missing dependency. This will pull in dependencies for your current OS version, probably what you want (instead of rawhide).
-- John Dennis <jdennis@redhat.com>
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Olavo Dietrich wrote:
Thanks John,
Do I need a RH subscription for this or the repo name is not right ?
# yum --enablerepo fedora-development install freeradius Loading "rhnplugin" plugin Loading "security" plugin This system is not registered with RHN. RHN support will be disabled.
Error getting repository data for fedora-development, repository not found
You didn't say this was RHEL, Fedora != RHEL, there is no fedora-development repository for RHEL. I suggest you follow the instructions for building from an srpm then. -- John Dennis <jdennis@redhat.com>
Won't it be easier for you to just download the source, compile and install? You will be chasing lot's of rpm dependencies if you don't have all your packages install under RHEL. Just a thought. else, you can check this site for your missing rpm package. http://rpmfine.net if you are lucky, you will find some RHEL package. John Dennis wrote:
Olavo Dietrich wrote:
Thanks John,
Do I need a RH subscription for this or the repo name is not right ?
# yum --enablerepo fedora-development install freeradius Loading "rhnplugin" plugin Loading "security" plugin This system is not registered with RHN. RHN support will be disabled.
Error getting repository data for fedora-development, repository not found You didn't say this was RHEL, Fedora != RHEL, there is no fedora-development repository for RHEL. I suggest you follow the instructions for building from an srpm then.
Oops!! Wrong URL http://rpmfind.net Sorry about that. Madwifi Wireless wrote:
Won't it be easier for you to just download the source, compile and install? You will be chasing lot's of rpm dependencies if you don't have all your packages install under RHEL. Just a thought.
else, you can check this site for your missing rpm package. http://rpmfine.net if you are lucky, you will find some RHEL package.
John Dennis wrote:
Olavo Dietrich wrote:
Thanks John,
Do I need a RH subscription for this or the repo name is not right ?
# yum --enablerepo fedora-development install freeradius Loading "rhnplugin" plugin Loading "security" plugin This system is not registered with RHN. RHN support will be disabled.
Error getting repository data for fedora-development, repository not found You didn't say this was RHEL, Fedora != RHEL, there is no fedora-development repository for RHEL. I suggest you follow the instructions for building from an srpm then.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Wed, 2008-10-08 at 15:25 -0400, Madwifi Wireless wrote:
Won't it be easier for you to just download the source, compile and install? You will be chasing lot's of rpm dependencies if you don't have all your packages install under RHEL.
Compiling from source will end up chasing an equivalent list of dependencies, as we've already seen. There is no way to avoid installing an SQL package if you compile freeradius with SQL support, for example. I personally find installing from packages to be a lot easier, but you can't always do that. For instance, I am using a freeradius compiled from source, and it was a pain to chase down all the -devel packages I needed because all I get from the configure/compile is that some include file wasn't found or some library file is missing. It's not always obvious which -devel package I need. Whereas installing freeradius from yum would automatically bring in all the dependencies. The reason I compiled from source is that the RPM packages do not include the latest version, and I needed the support for clients with dynamic addresses which is only available in freeradius 2.1.1 and beyond. --Greg
Greg Woods wrote:
On Wed, 2008-10-08 at 15:25 -0400, Madwifi Wireless wrote:
Won't it be easier for you to just download the source, compile and install? You will be chasing lot's of rpm dependencies if you don't have all your packages install under RHEL.
Compiling from source will end up chasing an equivalent list of dependencies, as we've already seen. There is no way to avoid installing an SQL package if you compile freeradius with SQL support, for example.
I personally find installing from packages to be a lot easier, but you can't always do that. For instance, I am using a freeradius compiled from source, and it was a pain to chase down all the -devel packages I needed because all I get from the configure/compile is that some include file wasn't found or some library file is missing. It's not always obvious which -devel package I need. That is why using a srpm with a spec file specific to your distribution is your friend because it explicitly lists the *exact* set of dependencies needed to build from the srpm. You can either let rpm-build tell you what is missing or you can open the spec file in an editor and search for "BuildRequires" which is where the rpm's needed to build are listed.
-- John Dennis <jdennis@redhat.com>
Guys, let me make sure I understood your thoughts. I cannot use this <http://koji.fedoraproject.org/koji/buildinfo?buildID=64378> freeradius-2.1.1-2.fc10 from http://koji.fedoraproject.org/koji/packageinfo?packageID=298 because my OS is not fedora , is that right ? So my only option is to use freeradius-server-2.1.1.tar.gz and manually try to satisfy the dependencies from those warnings ? thanks Duan -----Original Message----- From: freeradius-users-bounces+odietrich=cliconnect.com@lists.freeradius.org [mailto:freeradius-users-bounces+odietrich=cliconnect.com@lists.freeradius.o rg] On Behalf Of John Dennis Sent: Wednesday, October 08, 2008 12:43 PM To: FreeRadius users mailing list Subject: [Suspected Spam]Re: Install error Greg Woods wrote: On Wed, 2008-10-08 at 15:25 -0400, Madwifi Wireless wrote: Won't it be easier for you to just download the source, compile and install? You will be chasing lot's of rpm dependencies if you don't have all your packages install under RHEL. Compiling from source will end up chasing an equivalent list of dependencies, as we've already seen. There is no way to avoid installing an SQL package if you compile freeradius with SQL support, for example. I personally find installing from packages to be a lot easier, but you can't always do that. For instance, I am using a freeradius compiled from source, and it was a pain to chase down all the -devel packages I needed because all I get from the configure/compile is that some include file wasn't found or some library file is missing. It's not always obvious which -devel package I need. That is why using a srpm with a spec file specific to your distribution is your friend because it explicitly lists the *exact* set of dependencies needed to build from the srpm. You can either let rpm-build tell you what is missing or you can open the spec file in an editor and search for "BuildRequires" which is where the rpm's needed to build are listed. -- John Dennis <mailto:jdennis@redhat.com> <jdennis@redhat.com>
On Wed, 2008-10-08 at 13:28 -0700, Olavo Dietrich wrote:
Guys,
let me make sure I understood your thoughts.
I cannot use this freeradius-2.1.1-2.fc10 from http://koji.fedoraproject.org/koji/packageinfo?packageID=298 because my OS is not fedora , is that right ?
Correct. This one probably wouldn't even work on Fedora 8 or Fedora 9, it's specific to Fedora 10. The distribution-specific RPM's will have dependencies on versions of packages that come with that distribution. Try to use it on a different distro and you will get unsatisfied dependencies.
So my only option is to use freeradius-server-2.1.1.tar.gz and manually try to satisfy the dependencies from those warnings ?
Or find an RPM that is for your distribution. But if you do compile from source, it will be up to you to find out what -devel packages you need. The configure/compile/link process will probably turn up errors that are due to missing header files (.h) or missing library files (undefined symbols and so forth). Installing the proper -devel package will normally provide the missing files, but it's not always obvious which -devel package you need to fix a given error. Google searches can help here. --Greg
Saludos Estoy instalando freeradius-dialupadmin y nesecito configurarlo para poder trabajar el freeradius via web. Roldanis -- Este mensaje ha sido analizado por MailScanner en busca de virus y otros contenidos peligrosos, y se considera que está limpio. For all your IT requirements visit: http://www.transtec.co.uk
Madwifi Wireless wrote:
Won't it be easier for you to just download the source, compile and install? He did, he was missing (optional) dependencies. The advantage of an rpm spec file is that it tells you exactly what you're missing rather than having to guess. You will be chasing lot's of rpm dependencies if you don't have all your packages install under RHEL. One way or another, there are dependencies, pick your poison. Ain't no such thing as a free lunch either :-)
-- John Dennis <jdennis@redhat.com>
Hi,
I have these "fail" alll over the place in my configure. Attached.
read the WARNINGS - they are only WARNINGS and not failures. do you need any of the following?
./configure >> error configure: WARNING: snmpget not found - Simultaneous-Use and checkrad.pl may not work configure: WARNING: snmpwalk not found - Simultaneous-Use and checkrad.pl may not work
do you want simulatneous-use etc? if so, install snmp-utils
configure: WARNING: pcap library not found, silently disabling the RADIUS sniffer.
do you want to use radsniff? if so, install libpcap and libpcap-devel
configure: WARNING: the TNCS library isn't found! configure: WARNING: silently not building rlm_eap_tnc. configure: WARNING: FAILURE: rlm_eap_tnc requires: -lTNCS.
are you planning on using TNC? if not, then dont worry. if so, then install the latest beta TNC package
configure: WARNING: silently not building rlm_eap_ikev2. configure: WARNING: FAILURE: rlm_eap_ikev2 requires: libeap-ikev2 EAPIKEv2/connector.h.
likewise. are you planning to use IKEv2 ?
configure: WARNING: silently not building rlm_sql_iodbc. configure: WARNING: FAILURE: rlm_sql_iodbc requires: libiodbc isql.h.
wanting to use IODBC? if not, dont worry
configure: WARNING: MySQL libraries not found. Use --with-mysql-lib-dir=<path>. configure: WARNING: MySQL headers not found. Use --with-mysql-include-dir=<path>. configure: WARNING: silently not building rlm_sql_mysql. configure: WARNING: FAILURE: rlm_sql_mysql requires: libmysqlclient_r mysql.h. configure: WARNING: silently not building rlm_sql_postgresql. configure: WARNING: FAILURE: rlm_sql_postgresql requires: libpq-fe.h libpq.
were you planning on using mysql or postgres DB? if so, then install the required mysql-devel or postgres-devel + the relevant server RPM
configure: WARNING: oracle headers not found. Use --with-oracle-home-dir=<path>. configure: WARNING: silently not building rlm_sql_oracle. configure: WARNING: FAILURE: rlm_sql_oracle requires: oci.h.
likewise for oracle
configure: WARNING: silently not building rlm_sql_unixodbc. configure: WARNING: FAILURE: rlm_sql_unixodbc requires: sql.h.
and for unixodbc (install unixodbc + devel package if you want it) aside from the database support (which most people use) very few people want or need TNV or IKEv2 - and likewise, I'd say less than 10% need the SNMP stuff...and very very few people spend time with radsniff (you can tell from some of the debug/error reports we get on this list! ;-) ) alan
participants (7)
-
A.L.M.Buxey@lboro.ac.uk -
Greg Woods -
John Dennis -
Madwifi Wireless -
Nicolas Goutte -
Olavo Dietrich -
Roldanis Pozo Disotuar®