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

RE: Build problem (maybe)



Hi there

I have downloaded the latest release 2.1.13 which has the suggested fix
to the structure initialisation. The build now fails on a standard build
without sql-backend.

The message is 

cache.c
fatal error C1083: Cannot open source file:
'C:\development\openldap-2.1.13\libraries\libldap\cache.c': No such file
or directory

There is indeed no file cache.c and it is indeed referenced in the
libldap.dsp file configuration

I have browsed CVS and there is no file cache.c in there either so it
doesn't appear to be just missing from my distribution. 

Any help would be appreciated

Regards

Rob Tice



-----Original Message-----
From: owner-openldap-bugs@OpenLDAP.org
[mailto:owner-openldap-bugs@OpenLDAP.org] On Behalf Of Pierangelo
Masarati
Sent: 25 February 2003 20:10
To: rob.tice@k-int.com
Cc: openldap-bugs@OpenLDAP.org
Subject: Re: Build problem (maybe)


> Hi there
>
>
>
> I am a new user to openldap so forgive me if I am barking up the wrong
> tree. I am running openldap 2.1.12 on windows 2000. I have built +
> installed the server okay and it is working and I am now trying to use
> the back-sql module in conjunction with mysql. Initially I was getting
> the problem ?unknown database type sql?. I assumed therefore that I
had
> to rebuild enabling the back-sql module.
>
>
>
> I have altered the workspace to reference back-sql and made the
relevant
> alterations to project dependencies and uncommented the definition in
> setup files / portable.nt which appears to relate to SQL. (#define
> SLAPD_SQL 1)

I think the problem you mention was a liberal use of stucture
initialization that is allowed by gcc; it was recently fixed
and I think the fix made it into 2.1.13 so you may want to try
the latest release, or at least apply that fix from HEAD.

I don't know if there are special issues in building back-sql
on windows.

p.


-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it