[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: install problems



Apply this patch:

http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/config.c.diff?r1=1.47.2.19&r2=1.47.2.20

Kurt

At 08:16 AM 5/21/01, Nikko Odiseos wrote:
>Hi -
>I am installing Openldap 2.0.9 on Solaris 2.6 using BerkeleyDB3.1.  Running
>configure (CPPFLAGS=-I/usr/local/BerkeleyDB.3.1/include
>LDFLAGS=-L/usr/local/BerkeleyDB.3.1/lib ./configure) and make depend go
>fine.  However when I run make it runs for a long time and then I get this:
>
>cd back-sql; make  all
>run configure with --enable-sql to make back_sql
>
>gcc -g -O2 -I../../include -I../../include   -I/usr/local/BerkeleyDB.3.1/inc
>lude  -I/usr/local/openldap-2.0.9/include -c  config.c
>config.c: In function `read_config':
>config.c:807: `rc' undeclared (first use in this function)
>config.c:807: (Each undeclared identifier is reported only once
>config.c:807: for each function it appears in.)
>*** Error code 1
>make: Fatal error: Command failed for target `config.o'
>Current working directory /usr/local/openldap-2.0.9/servers/slapd
>*** Error code 1
>make: Fatal error: Command failed for target `all-common'
>Current working directory /usr/local/openldap-2.0.9/servers
>*** Error code 1
>make: Fatal error: Command failed for target `all-common'
>
>I did not edit any files before I did this (according to the quick start I
>didn't have to) but now I am stuck.  Any ideas??  Thanks,
>
>Nikko