[BLFS Trac] #3121: openldap needs switch if MySQL not installed

BLFS Trac trac at linuxfromscratch.org
Thu Oct 14 14:26:23 PDT 2010

#3121: openldap needs switch if MySQL not installed
 Reporter:  dj@…                     |       Owner:  dj@…                   
     Type:  defect                   |      Status:  new                    
 Priority:  normal                   |   Milestone:  future                 
Component:  BOOK                     |     Version:  SVN                    
 Severity:  normal                   |    Keywords:                         

Comment(by ken@…):

 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.

Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/3121#comment:1>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch

More information about the blfs-book mailing list