apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 62631] New: apr-util-1.6.1 fail to compile with mysql8
Date Fri, 17 Aug 2018 08:07:38 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=62631

            Bug ID: 62631
           Summary: apr-util-1.6.1 fail to compile with mysql8
           Product: APR
           Version: 1.6.1
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: APR-util
          Assignee: bugs@apr.apache.org
          Reporter: support@pushpanel.io
  Target Milestone: ---

Created attachment 36097
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36097&action=edit
this fix two problems - one in mysql library and second in m4 build script.

It looks like it is a APR1 conflict with Mysql80-client 

(build and install apr manually)
./configure --with-apr=../apr-1.6.3/ --with-mysql 

apr-util configure gives this with mysql80-client 

....
checking for mysql_config... /usr/local/bin/mysql_config
  adding "-I/usr/local/include/mysql" to CPPFLAGS
  setting LIBS to "-L/usr/local/lib/mysql -lmysqlclient -pthread -lz -lm -lrt
-lexecinfo -lssl -lcrypto"
checking for mysql.h... no
checking for mysql/mysql.h... no
...

when mysql57-client gives:
....
checking for mysql_config... /usr/local/bin/mysql_config
  adding "-I/usr/local/include/mysql" to CPPFLAGS
  setting LIBS to "-L/usr/local/lib/mysql -lmysqlclient -pthread -lz -lm -lrt
-lexecinfo -lssl -lcrypto"
checking for mysql.h... yes
checking for mysql_init in -lmysqlclient... yes
checking for my_global.h... yes
....

Two changes:
1. add c99 my_bool to apr_dbd_mysql.c
2. update build/dbd.m4 to not check agains my_global.h 


For more details please see bug:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230538

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message