On Wed, Oct 13, 2021 at 12:37 PM Andres Freund <and...@anarazel.de> wrote:

> For the autoconf build CI currently does something similar via
>         LIBS="/usr/local/lib:$LIBS"
>         INCLUDES="/usr/local/include:$INCLUDES"
> ...
>         LIBS="/usr/local/opt/openldap/lib:$LIBS"
>         INCLUDES="/usr/local/opt/openldap/include:$INCLUDES"
>         ...
>           --with-includes="$INCLUDES" \
>           --with-libs="$LIBS" \
>
> are you doing something like that? Or does it work for you without? I
vaguely
> recall hitting a similar problem as you report when not passing
> /usr/local/... to configure.

I didn't do anything like that for the autoconf build. I have in the past
done things retail, like

--with-icu ICU_CFLAGS='-I/usr/local/opt/icu4c/include/'
ICU_LIBS='-L/usr/local/opt/icu4c/lib/ -licui18n -licuuc -licudata'

> > i tried disabling ldap with the meson build but i'll spare the details
of
> > what went wrong there in case i did something wrong, so we can take
things
> > one step at a time.
>
> you can change it for an existing builddir with
> meson configure -dldap=disabled or when setting up a new builddir by
passing
> -dldap=disabled at that time.

Somehow our emails got lower-cased down here, but I tried it with capital D:

meson configure -Dldap=disabled

inside the build dir and got this:

../meson.build:278:2: ERROR: Tried to assign the invalid value "None" of
type NoneType to variable.

Line 278 is

  ldap_r = ldap = dependency('', required : false)

--
John Naylor
EDB: http://www.enterprisedb.com

Reply via email to