Re: compile with ldap support

2013-04-11 Thread John Dennis

On 04/10/2013 10:24 PM, Alan DeKok wrote:

Chris Taylor wrote:

How do I check that I have them installed I have the openldap rpm installed.


   This is really a question for your OS vendor.  How about man rpm?
Or google?


If you're working on a Fedora/RHEL/CentOS etc. type system then 
yum-builddep is your friend. I know you're trying to build from source 
and not build an RPM but if you have a srpm or spec file you can use 
yum-builddep to get your build dependencies installed. Or you can look 
at a spec file and find all the BuildRequires and install those.


Think of a rpm spec file as a recipe for building. If you're not sure 
what ingredients you need then consult the recipe.



--
John Dennis jden...@redhat.com

Looking to carve out IT costs?
www.redhat.com/carveoutcosts/
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: compile with ldap support

2013-04-10 Thread Arran Cudbard-Bell


On 10 Apr 2013, at 21:12, Chris Taylor chris.tay...@corp.eastlink.ca wrote:

 What are options do I have to use to compile freeradius with ldap support 
 turned on? I tried ./configure –with-ldap but that didn’t seem to work I 
 still get an error about not being able to find rlm_ldap. I checked the mail 
 archives but I couldn’t find anything.

It'll build it by default if you have the libldap headers installed. Check the 
output of configure to verify it's actually building rlm_ldap.

Arran Cudbard-Bell a.cudba...@freeradius.org
FreeRADIUS Development Team

Please contribute documentation:
http://wiki.freeradius.org

Fruity Oaty Bars, make a man out of a mouse. Fruity Oaty Bars, make you bust 
out of your blouse

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


RE: compile with ldap support

2013-04-10 Thread Chris Taylor
How do I check that I have them installed I have the openldap rpm installed. I 
am trying to go from an rpm build to a source build to fix a problem.

Chris


-Original Message-
From: 
freeradius-users-bounces+chris.taylor=corp.eastlink...@lists.freeradius.org 
[mailto:freeradius-users-bounces+chris.taylor=corp.eastlink...@lists.freeradius.org]
 On Behalf Of Arran Cudbard-Bell
Sent: Wednesday, April 10, 2013 10:07 PM
To: FreeRadius users mailing list
Subject: Re: compile with ldap support



On 10 Apr 2013, at 21:12, Chris Taylor chris.tay...@corp.eastlink.ca wrote:

 What are options do I have to use to compile freeradius with ldap support 
 turned on? I tried ./configure -with-ldap but that didn't seem to work I 
 still get an error about not being able to find rlm_ldap. I checked the mail 
 archives but I couldn't find anything.

It'll build it by default if you have the libldap headers installed. Check the 
output of configure to verify it's actually building rlm_ldap.

Arran Cudbard-Bell a.cudba...@freeradius.org FreeRADIUS Development Team

Please contribute documentation:
http://wiki.freeradius.org

Fruity Oaty Bars, make a man out of a mouse. Fruity Oaty Bars, make you bust 
out of your blouse

-
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: compile with ldap support

2013-04-10 Thread Alan DeKok
Chris Taylor wrote:
 How do I check that I have them installed I have the openldap rpm installed.

  This is really a question for your OS vendor.  How about man rpm?
Or google?

  And you also want the libldap development headers.  Just installing
the OpenLDAP server won't get those.

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