Opened 14 years ago

Closed 12 years ago

Last modified 10 years ago

#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 ken@…, 14 years ago

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.

comment:2 by Randy McMurchy, 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:3 by Randy McMurchy, 13 years ago

Milestone: future6.7

Updated milestone to 6.7

comment:4 by DJ Lucas, 12 years ago

Resolution: duplicate
Status: newclosed

This is already fixed in the book.

comment:5 by bdubbs@…, 10 years ago

Milestone: 6.7

Milestone 6.7 deleted

Note: See TracTickets for help on using tickets.