* Rachel Florentine ([EMAIL PROTECTED]) wrote:
> 107Hi;
> I know this is OT, but after 3 days of trying to get my question answered on 
> FreeBSD lists, I figured I'd come back here where I know you guys have the 
> answer ;) I would like to run the following env/options in building OpenLDAP:
> 
> env \
> CPPFLAGS=-I/usr/local/include/db42 LDFLAGS=-L/usr/local/lib/db42 CC=gcc \
> ./configure \
>     --localstatedir=/var/run/slapd \
>     --enable-spasswd \ 
>     --enable-modules \ 
>     --enable-shared \
>     --enable-dynamic \
>     --with-tls \
>     --with-cyrus-sasl \
>     --enable-bdb \
>     --disable-slapd \
>     --enable-openssl \
>     --enable-monitor \
>     --enable-proxycache \
>     --enable-unique \
>     --enable-ppolicy \
>     --enable-accesslog \
>     --disable-cleartext
> 
> *However*, one has to perform some mystical incantation when doing this with 
> the FreeBSD port system. I need someone to initiate me into this mystery. 
> That is, can someone just give me the command I need to issue to build 
> OpenLDAP the way I want to? Rewrite the above with whatever necessary 
> wrappers to get FreeBSD to swallow it?

I had some free time and decided to have a look. Here is what
I came up with so far.

make \
  WITH_BDB_VER=42 \
  WITH_SASL=yes \
  WITH_MODULES=yes \
  WITH_PROXYCACHE=yes \
  WITH_UNIQUE=yes \
  WITH_PPOLICY=yes \
  WITH_ACCESSLOG=yes

1.) Selecting is different BDB version is simple.
Specify 'WITH_BDB_VER=' See the 20060403 entry
in /usr/ports/UPDATING.

2.) The options I was unable to set.

--disable-slapd

  Huh? Is this what you want? If so is conflicts
  with other options specified...

--enable-shared
--enable-monitor

  Defaults to yes; so it's ok.

--disable-cleartext
--localstatedir

  No luck here yet...

For these options it might be easiest to
modify the Makefile and add these as options
yourself. I could do this for you if necessary...

Hope this helps.

Regards,

Emiel van de Laar

---
You are currently subscribed to [email protected] as: [EMAIL PROTECTED]
To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the 
SUBJECT of the message.

Reply via email to