RE: [Suspected Spam]Re: Install error

2008-10-08 Thread Greg Woods
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



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


Re: Install error

2008-10-08 Thread Roldanis Pozo Disotuar®

  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

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

RE: [Suspected Spam]Re: Install error

2008-10-08 Thread Olavo Dietrich
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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
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:[EMAIL PROTECTED]> <[EMAIL PROTECTED]>

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

Re: Install error

2008-10-08 Thread John Dennis

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 <[EMAIL PROTECTED]>

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

Re: Install error

2008-10-08 Thread John Dennis

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 <[EMAIL PROTECTED]>

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


Re: Install error

2008-10-08 Thread Greg Woods
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


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


Re: Install error

2008-10-08 Thread Madwifi Wireless

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

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


Re: Install error

2008-10-08 Thread Madwifi Wireless

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


Re: Install error

2008-10-08 Thread John Dennis

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 <[EMAIL PROTECTED]>

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


RE: Install error

2008-10-08 Thread Olavo Dietrich
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: 
> [EMAIL PROTECTED]
dius.org [mailto:freeradius-users->
[EMAIL PROTECTED] 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  
> % 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 <[EMAIL PROTECTED]>
> 
> -
> List info/subscribe/unsubscribe? See 
> http://www.freeradius.org/list/users.html
> 

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


Re: Install error

2008-10-08 Thread John Dennis

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 

% 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 <[EMAIL PROTECTED]>

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


Re: Install error

2008-10-08 Thread A . L . M . Buxey
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=.
> configure: WARNING: MySQL headers not found. Use
> --with-mysql-include-dir=.
> 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=.
> 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
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


RE: Install error

2008-10-08 Thread Olavo Dietrich
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: 
> [EMAIL PROTECTED]
dius.org [mailto:freeradius-users->
[EMAIL PROTECTED] 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 <[EMAIL PROTECTED]>
> 
> -
> List info/subscribe/unsubscribe? See 
> http://www.freeradius.org/list/users.html
> 

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


Re: Install error

2008-10-08 Thread John Dennis

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 <[EMAIL PROTECTED]>

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


RE: Install error

2008-10-08 Thread Olavo Dietrich
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=.
configure: WARNING: MySQL headers not found. Use
--with-mysql-include-dir=.
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=.
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: 
> [EMAIL PROTECTED]
dius.org [mailto:freeradius-users->
[EMAIL PROTECTED] 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
> 


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

Re: Install error

2008-10-08 Thread Nicolas Goutte


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