#3121 closed defect (duplicate)
openldap needs switch if MySQL not installed
Reported by: | DJ Lucas | Owned by: | DJ Lucas |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description
In addition to --disable-sql for Oracle or Postgre, --disable-ndb should be supplied if MySQL is not installed (default instructions). Just a reminder for later.
Change History (5)
comment:1 by , 14 years ago
comment:2 by , 13 years ago
Actually the tests use Berkeley. I grepped my check.log for "sql" and nothing. I also remember reading in the LDAP instructions that BDB is required for testing. The sql backend is experimental. I'm curious to what looked for mysql_config?
I had MySQL installed when I built LDAP, so I'm not sure how much I can help. I passed --enable-ndb=no and --disable-ndb because I knew they were only used for the clustering stuff, which I don't have installed.
comment:4 by , 12 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
This is already fixed in the book.
Also --disable-sql seems to actually indicate that unixodbc is not installed. If you don't use that command, it searches for 'sql.h'. On my first attempt to build the server, I thought I could omit that switch because I had installed postgresql, but I was wrong.
Additionally, I had to build mysql to be able to build the server (perhaps --disable-ndb would have fixed that).What I know for sure is that with *current* mysql (5.1.51) I *still* have to pass that switch: first it looks for mysql_config, but then it looks for NdbApi.hpp which sounds as if it is part of boost, but actually belongs to mysql-cluster which is now [ mysql-5.1 ] separate from mysql. The only references to postgres and pgsql are in the docs and the tests. Unfortunately, I didn't log the tests, so I can't check exactly which databases it used.