BIND 10 #2825: bind10 build fails "mysql.h: No such file"

BIND 10 Development do-not-reply at isc.org
Thu Mar 14 13:16:13 UTC 2013


#2825: bind10 build fails "mysql.h: No such file"
-------------------------------------+-------------------------------------
            Reporter:  tmark         |                        Owner:
                Type:  defect        |  UnAssigned
            Priority:  medium        |                       Status:
           Component:  libdhcp       |  reviewing
            Keywords:                |                    Milestone:
           Sensitive:  0             |  Sprint-DHCP-20130328
         Sub-Project:  DHCP          |                   Resolution:
Estimated Difficulty:  0             |                 CVSS Scoring:
         Total Hours:  0             |              Defect Severity:  N/A
                                     |  Feature Depending on Ticket:
                                     |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
Changes (by tmark):

 * owner:  tmark => UnAssigned
 * status:  accepted => reviewing


Comment:

 I removed the "mysql/" prefix from the dhcpsrv source files.  Re-ran
 configuration and it builds correctly.   The MySQL unit tests also succeed
 barring two that are known to broken (see #2837).  Attached is the test
 suite log.

 I also verified that the MySQL files being used were correct:

 Excerpt from config.log:


   $ ./configure --prefix=/Users/tmark/toms_lab/var/test_1 --with-dhcp-
 mysql=/usr/local/mysql/bin/mysql_config --with-
 pythonpath=/opt/local/bin/python3.1 --with-gtest-source=/opt/gtest-1.6.0
 --disable-silent-rules
 :
 :
 MYSQL_CPPFLAGS='-I/usr/local/mysql/include  -Os -g -fno-strict-aliasing
 -arch x86_64'
 MYSQL_LIBS='-L/usr/local/mysql/lib -lmysqlclient'
 #define HAVE_MYSQL 1

 Output below from command line:

 tmark at pegasus ~/build/bind10-tip (trac2825) $ ls -lt /usr/local/mysql
 lrwxr-xr-x  1 root  wheel  27 Feb 21 14:37 /usr/local/mysql ->
 mysql-5.6.10-osx10.7-x86_64

 tmark at pegasus ~/build/bind10-tip (trac2825) $ locate mysql.h
 /usr/local/mysql-5.6.10-osx10.7-x86_64/include/mysql.h

-- 
Ticket URL: <http://bind10.isc.org/ticket/2825#comment:5>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list