Xymon Mailing List Archive search

xymon-4.3.0.beta3 on ubuntu 9.10

4 messages in this thread

list Lars Ebeling · Thu, 13 Jan 2011 07:41:50 +0100 ·
Dear all,

during configuration script I get this:
Checking for LDAP ...
(Open)LDAP include- or library-files not found.
If you want to perform detailed LDAP tests (queries), you need to
install LDAP an LDAP client library that Xymon can use.
OpenLDAP can be found at http://www.openldap.org/

If you have OpenLDAP installed, use the "--ldapinclude DIR" and "--ldaplib 
DIR"
options to configure to specify where they are.

Continuing with LDAP support disabled.


That's OK,

but when compiling I get:
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BIT
S=64 -DLINUX -I. -I/home/hobbit/xymon-4.3.0.beta3/include -I/usr/include   -c 
 -o
 ldaptest.o ldaptest.c
ldaptest.c: In function Ôadd_ldap_testÔ:
ldaptest.c:99: error: ÔbadurlÔ undeclared (first use in this function)
ldaptest.c:99: error: (Each undeclared identifier is reported only once
ldaptest.c:99: error: for each function it appears in.)
ldaptest.c:101: error: ÔreqÔ undeclared (first use in this function)
ldaptest.c:112: error: ÔbasecheckÔ undeclared (first use in this function)
makeÄ1Å: *** Äldaptest.oÅ Error 1
makeÄ1Å: Leaving directory é/home/hobbit/xymon-4.3.0.beta3/xymonnet'
make: *** Äxymonnet-buildÅ Error 2
-- 
Regards
Lars Ebeling
Rentier

http://leopg9.no-ip.org


"I am not young enough to know everything."
-- Oscar Wilde
list Henrik Størner · Thu, 13 Jan 2011 10:07:34 +0000 (UTC) ·
quoted from Lars Ebeling
In <user-286bd5c390e4@xymon.invalid> "Lars Ebeling" <user-1fecd3eafd52@xymon.invalid> writes:
during configuration script I get this:
Checking for LDAP ...
(Open)LDAP include- or library-files not found.
That's OK,
but when compiling I get:
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BIT
S=64 -DLINUX -I. -I/home/hobbit/xymon-4.3.0.beta3/include -I/usr/include   -c 
-o
ldaptest.o ldaptest.c

ldaptest.c: In function �add_ldap_test�:
ldaptest.c:99: error: �badurl� undeclared (first use in this function)
quoted from Lars Ebeling
ldaptest.c:99: error: (Each undeclared identifier is reported only once
ldaptest.c:99: error: for each function it appears in.)

See http://www.xymon.com/archive/2010/11/msg00131.html

(or search the mailarchive for "beta3 ldap".


Regards,
Henrik
list Paul Root · Thu, 13 Jan 2011 06:42:24 -0600 ·
I just had this yesterday.

You have the openldap executables installed.

You need to add the openldap-devel  rpm.


Paul Root
Lead Internet Systems Eng
Network Services
quoted from Lars Ebeling


-----Original Message-----
From: Lars Ebeling [mailto:user-1fecd3eafd52@xymon.invalid]
Sent: Thursday, January 13, 2011 12:42 AM
To: xymon at xymon.com
Subject: [xymon] xymon-4.3.0.beta3 on ubuntu 9.10

Dear all,

during configuration script I get this:
Checking for LDAP ...
(Open)LDAP include- or library-files not found.
If you want to perform detailed LDAP tests (queries), you need to
install LDAP an LDAP client library that Xymon can use.
OpenLDAP can be found at http://www.openldap.org/

If you have OpenLDAP installed, use the "--ldapinclude DIR" and "--ldaplib
DIR"
options to configure to specify where they are.

Continuing with LDAP support disabled.


That's OK,

but when compiling I get:
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BIT
S=64 -DLINUX -I. -I/home/hobbit/xymon-4.3.0.beta3/include -I/usr/include   -c
 -o
 ldaptest.o ldaptest.c
ldaptest.c: In function Ôadd_ldap_testÔ:
ldaptest.c:99: error: ÔbadurlÔ undeclared (first use in this function)
ldaptest.c:99: error: (Each undeclared identifier is reported only once
ldaptest.c:99: error: for each function it appears in.)
ldaptest.c:101: error: ÔreqÔ undeclared (first use in this function)
ldaptest.c:112: error: ÔbasecheckÔ undeclared (first use in this function)
makeÄ1Å: *** Äldaptest.oÅ Error 1
makeÄ1Å: Leaving directory é/home/hobbit/xymon-4.3.0.beta3/xymonnet'
make: *** Äxymonnet-buildÅ Error 2
--
Regards
Lars Ebeling
Rentier

http://leopg9.no-ip.org


"I am not young enough to know everything."
-- Oscar Wilde


This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful.  If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.
list Tony Larco · Thu, 13 Jan 2011 09:55:29 -0500 ·
I think

sudo apt-get install ldap-utils

should solve your problem.  HTH

Tony
quoted from Lars Ebeling

On 01/13/2011 01:41 AM, Lars Ebeling wrote:
Dear all,

during configuration script I get this:
Checking for LDAP ...
(Open)LDAP include- or library-files not found.
If you want to perform detailed LDAP tests (queries), you need to
install LDAP an LDAP client library that Xymon can use.
OpenLDAP can be found at http://www.openldap.org/

If you have OpenLDAP installed, use the "--ldapinclude DIR" and
"--ldaplib DIR"
options to configure to specify where they are.

Continuing with LDAP support disabled.


That's OK,

but when compiling I get:
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BIT
S=64 -DLINUX -I. -I/home/hobbit/xymon-4.3.0.beta3/include
-I/usr/include   -c -o
ldaptest.o ldaptest.c
ldaptest.c: In function Ôadd_ldap_testÔ:
ldaptest.c:99: error: ÔbadurlÔ undeclared (first use in this function)
ldaptest.c:99: error: (Each undeclared identifier is reported only once
ldaptest.c:99: error: for each function it appears in.)
ldaptest.c:101: error: ÔreqÔ undeclared (first use in this function)
ldaptest.c:112: error: ÔbasecheckÔ undeclared (first use in this
function)
makeÄ1Å: *** Äldaptest.oÅ Error 1
makeÄ1Å: Leaving directory é/home/hobbit/xymon-4.3.0.beta3/xymonnet'
make: *** Äxymonnet-buildÅ Error 2