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

Re: problem building comp_match module



Hallo Howard,

is there any effort planned to fix ITS#4112 during next month or next
two month? I've noticed that snacc part of the code is far from being
perfect neither, I could however make it better. Unfortunately I do not
have any OpenLDAP internal knowledge and will be able to contribute in
fixing ITS#4112 only as a tester.

Btw., I have filed another ITS related to this topic, it is 4270.

Best regards, vadim tarassov

On Tue, 2005-12-20 at 03:55 -0800, Howard Chu wrote:
> vadim wrote:
> > Hallo everybody,
> >   
> 
> Hello Vadim,
>   I think there's bad news for you here...
> > if I insert 
> >
> > #define LDAP_COMP_MATCH 1
> >
> > before 
> >
> > #ifdef LDAP_COMP_MATCH
> > typedef void* slap_component_transform_func LDAP_P((
> >         struct berval * in ));
> > struct ComponentDesc;
> > #endif
> >
> > comp_match module continues to compile.
> >
> > Do you think it is something that I should know in advance or it is a
> > bug?
> >   
> 
> None of the component matching code has really been released; the 
> LDAP_COMP_MATCH macro is usually only defined in the development branch. 
> I also note that the last time I looked at the code it was in very poor 
> condition (see ITS#4112 for example) and will likely cause crashes.
> > Best regards, vadim tarassov
> >
> > On Mon, 2005-12-19 at 23:09 +0100, vadim wrote:
> >   
> >> Hallo everybody,
> >>
> >> I am trying to build comp_match module in openldap 2.3.13. Probably I am
> >> doing something wrong.
> >>
> >> First, I've done 
> >> configure
> >> make depend
> >> make
> >> make install
> >>
> >> Second, I went into contrib/slapd-modules/comp_match and as it has been
> >> written in README modified path to snacc (openldap-snacc-2.3.6) and
> >> openssl
> >>
> >> Third, I made make. I found that in the Makefile 
> >>
> >> topbuilddir = ../../../../build
> >> topsrcdir = ../../../..
> >>
> >> are probably wrong, I changed them to
> >>
> >> topbuilddir = ../../../build
> >> topsrcdir = ../../..
> >>
> >> Then I said make again and got load of errors, where probably important
> >> is:
> >>
> >>  gcc-3.3 -g -O2 -DLDAP_COMPONENT -I../../../include
> >> -I../../../servers/slapd -I../../../build/include -I/opt/eplatform
> >> -I/opt/eplatform/c-lib/inc -I/usr/include -c componentlib.c  -fPIC -DPIC
> >> -o .libs/componentlib.o
> >> In file included from componentlib.c:19:
> >> ../../../servers/slapd/component.h:62: error: syntax error before
> >> "ComponentFilter"
> >> ../../../servers/slapd/component.h:62: warning: no semicolon at end of
> >> struct or union
> >> ../../../servers/slapd/component.h:65: error: syntax error before '}'
> >> token
> >> ../../../servers/slapd/component.h:65: warning: data definition has no
> >> type or storage class
> >> ../../../servers/slapd/component.h:71: error: syntax error before
> >> "ComponentFilter"
> >>
> >> I think that "ComponentFilter" type is not defined anywhere.
> >>
> >> Do you know what am I doing wrong?
> >>
> >> Thanx a lot and best regards, vadim tarassov
> >>     
> 
> 
-- 
vadim <vadim.tarassov@swissonline.ch>