#1
  1. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jul 2003
    Location
    Prague, Czech Republic
    Posts
    869
    Rep Power
    71

    problem configuring ldap-2.1.22


    Freebsd-5.1-stable
    bd4.1-25 compilled and installed in /usr/local
    trying to configure ldap-2.1.22, however it gives me a hard time with:
    checking for Berkeley DB link (default)... yes
    checking for Berkeley DB thread support... no
    checking Berkeley DB version for BDB backend... no
    configure: error: BDB: BerkeleyDB version incompatible

    I have checked the db.h for existence od VERSION_MAJOR/MINOR = 4/1. It is there.

    env CPPFLAGS=-I/usr/local/include
    env LDFLAGS=-L/usr/local/include

    was there too. What now? Is there a bug?
    configuring with:
    ./configure --prefix=/usr/local/openldap --with-cyrus-sasl --with-threads --with-tls --enable-crypt --enable-spasswd --enable-slp --enable-perl --enable-slurpd
  2. #2
  3. Psycho Canadian
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Jan 2001
    Location
    Canada
    Posts
    4,846
    Rep Power
    635
    http://forums.devshed.com/t63488/s.html

    Check the last post, maybe try installing the patch or it could be that it thinks it's intalled but it's not.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jul 2003
    Location
    Prague, Czech Republic
    Posts
    869
    Rep Power
    71
    It moved on. I use a script that had these:
    env CPPFLAGS=-I/usr/local/include
    env LDFLAGS=-L/usr/local/include
    misstyped.
    Despite this success I still have trubles compiling Cyrus-SASL.
    And that doesn't look like a missing component.
    More info I'll drop tomorrow from work.
    Thank you

    By the way, is there something like FreeBSD devel packages as in Linux?
  6. #4
  7. Psycho Canadian
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Jan 2001
    Location
    Canada
    Posts
    4,846
    Rep Power
    635
    there is ports for freebsd
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jul 2003
    Location
    Prague, Czech Republic
    Posts
    869
    Rep Power
    71
    I usualy use ftp. Where can I find it? I can locate Cyrus-SASL package, but the ldap configure script is complaining about missing include files of Cyrus-SASL (I suppose the header files).
  10. #6
  11. Psycho Canadian
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Jan 2001
    Location
    Canada
    Posts
    4,846
    Rep Power
    635
  12. #7
  13. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jul 2003
    Location
    Prague, Czech Republic
    Posts
    869
    Rep Power
    71
    I have aproblem making test that kick me off with:
    database differ.

    I need slurpd and it requires thread supporting ldap.
    The default is --with-thread [auto], but if I axplicitly opt --with-thread it still fails to make test till the successful end.

    I also found:
    include/ldap_int_thread.h:177:#define NO_THREADS 1

    1. Why is that? It disables threads, but why when slurping may be defaultly needed?

    I'll test it and may find a solution before a reply. Thanky anyways for a note.
  14. #8
  15. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2003
    Posts
    6
    Rep Power
    0
    I had this problem to. It appeared to me that my OS (FreeBSD) had a version installed already. To get arround this I downloaded the latest version of sleepycat (The DB) and installed it in it's own directory. Next I added the "-I/usr/local/<db directory>/include" to the make command. This fixed the problem...


    Michael

IMN logo majestic logo threadwatch logo seochat tools logo