Re: [Kea-users] Kea 1.4.0-P1 configure script problem

2018-10-05 Thread Ismael Suarez Maldonado
In my case, also using CentOS 7.5 I used the configure switch like so 
"--with-mysql=/usr/bin/mysql_config"

After this it found MySQL and was able to continue intalling with MySQL.


*Ismael Suárez Maldonado* | UNIX Administrator | Coqui.Net Corp / ClaroTV
ismael_sua...@coqui.com | T: 787-793-0001 x 4007
On 10/05/2018 03:01 AM, Batuhan BAKIP wrote:


Hello,

I want to install Kea-1.4.0-P1 with mysql on Centos 7.5.1804 but I 
cannot see MySQL version when I run configure script with mysql.


This is mysql version output:

mysqladmin  Ver 8.42 Distrib 5.7.23, for Linux on x86_64

Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights 
reserved.


Oracle is a registered trademark of Oracle Corporation and/or its

affiliates. Other names may be trademarks of their respective

owners.

Server version 5.7.23

Protocol version    10

Connection Localhost via UNIX socket

UNIX socket /var/lib/mysql/mysql.sock

Uptime: 9 min 18 sec

Threads: 1  Questions: 17 Slow queries: 0  Opens: 113  Flush tables: 
1  Open tables: 106  Queries per second avg: 0.030


My trials of configure script are below and always I see “MySQL: no”

./configure --prefix=/opt/kea --with-mysql 
--with-boost-include=/opt/boost157/include 
--with-boost-lib-dir=/opt/boost157/lib


./configure --prefix=/opt/kea --with-dhcp-mysql 
--with-boost-include=/opt/boost157/include 
--with-boost-lib-dir=/opt/boost157/lib


     Kea source configure results:

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Package:

  Name:  kea

  Version: 1.4.0-P1

  Extended version: 1.4.0-P1 (tarball)

  OS Family: Linux

  Hooks directory: /opt/kea/lib/hooks

  Premium hooks: no

C++ Compiler:

  CXX: g++ --std=c++11

  CXX_VERSION: g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-28)

  CXX_STANDARD:    201103

  DEFS: -DHAVE_CONFIG_H

  CPPFLAGS: -DOS_LINUX  -DBOOST_ASIO_HEADER_ONLY

  CXXFLAGS:    -g -O2

  LDFLAGS: -lpthread

  KEA_CXXFLAGS: -Wall -Wextra -Wnon-virtual-dtor -Wwrite-strings 
-Woverloaded-virtual -Wno-sign-compare -pthread 
-Wno-missing-field-initializers -fPIC


Python:

  PYTHON_VERSION:  not needed (because kea-shell is disabled)

Boost:

  BOOST_VERSION:   1.57

  BOOST_INCLUDES: -I/opt/boost157/include

  BOOST_LIBS: -L/opt/boost157/lib  -lboost_system

OpenSSL:

  CRYPTO_VERSION:  OpenSSL 1.0.2k  26 Jan 2017

  CRYPTO_CFLAGS:

  CRYPTO_INCLUDES:

  CRYPTO_LDFLAGS:

  CRYPTO_LIBS: -lcrypto

Botan: no

Log4cplus:

  LOG4CPLUS_VERSION:  1.1.3

  LOG4CPLUS_INCLUDES: -I/usr/include

  LOG4CPLUS_LIBS: -L/usr/lib -L/usr/lib64 -llog4cplus

Flex/bison:

  FLEX:  :

  BISON: yacc

MySQL:

  no

PostgreSQL:

  no

Cassandra CQL:

  no

Google Test:

  no

Google Benchmark:

  no

Developer:

  Enable Debugging: no

  Google Tests: no

  Valgrind: not found

  C++ Code Coverage: no

  Logger checks: no

  Generate Documentation: no

  Parser Generation: no

  Kea-shell: no

  Now you can type "make" to build Kea. Note that if you intend to

  run "make check", you must run "make" first as some files need to be

  generated by "make" before "make check" can be run.

  When running "make install" do not use any form of parallel or job

  server options (such as GNU make's -j option). Doing so may cause

  errors.



This email was scanned by Bitdefender 


___
Kea-users mailing list
Kea-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users


[Kea-users] Kea 1.4.0-P1 configure script problem

2018-10-05 Thread Batuhan BAKIP
>I want to install Kea-1.4.0-P1 with mysql on Centos 7.5.1804 but I cannot

>see MySQL version when I run configure script with mysql. 

>My trials of configure script are below and always I see "MySQL: no"

 

I solve this problem, configure script cannot reach /usr/bin/mysql_config
and mysql doesn't come as feature with Kea. I install mariadb-devel and
problem is solved. Although, if I give mysql parameter in configure script
and it doesn't find mysql files, script should give some errors. 

___
Kea-users mailing list
Kea-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users


[Kea-users] Kea 1.4.0-P1 configure script problem

2018-10-05 Thread Batuhan BAKIP
Hello,

 

I want to install Kea-1.4.0-P1 with mysql on Centos 7.5.1804 but I cannot
see MySQL version when I run configure script with mysql. 

 

This is mysql version output:

 

mysqladmin  Ver 8.42 Distrib 5.7.23, for Linux on x86_64

Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.

 

Oracle is a registered trademark of Oracle Corporation and/or its

affiliates. Other names may be trademarks of their respective

owners.

 

Server version  5.7.23

Protocol version10

Connection  Localhost via UNIX socket

UNIX socket /var/lib/mysql/mysql.sock

Uptime: 9 min 18 sec

 

Threads: 1  Questions: 17  Slow queries: 0  Opens: 113  Flush tables: 1
Open tables: 106  Queries per second avg: 0.030

 

 

 

My trials of configure script are below and always I see "MySQL: no"

 

./configure --prefix=/opt/kea --with-mysql
--with-boost-include=/opt/boost157/include
--with-boost-lib-dir=/opt/boost157/lib

 

./configure --prefix=/opt/kea --with-dhcp-mysql
--with-boost-include=/opt/boost157/include
--with-boost-lib-dir=/opt/boost157/lib

 

 Kea source configure results:

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

 

Package:

  Name:  kea

  Version:   1.4.0-P1

  Extended version:  1.4.0-P1 (tarball)

  OS Family: Linux

 

  Hooks directory:   /opt/kea/lib/hooks

  Premium hooks: no

 

C++ Compiler:

  CXX: g++ --std=c++11

  CXX_VERSION: g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-28)

  CXX_STANDARD:201103

  DEFS:-DHAVE_CONFIG_H

  CPPFLAGS: -DOS_LINUX  -DBOOST_ASIO_HEADER_ONLY

  CXXFLAGS:-g -O2

  LDFLAGS:  -lpthread

  KEA_CXXFLAGS: -Wall -Wextra -Wnon-virtual-dtor -Wwrite-strings
-Woverloaded-virtual -Wno-sign-compare -pthread
-Wno-missing-field-initializers -fPIC

 

Python:

  PYTHON_VERSION:  not needed (because kea-shell is disabled)

 

Boost:

  BOOST_VERSION:   1.57

  BOOST_INCLUDES:  -I/opt/boost157/include

  BOOST_LIBS:  -L/opt/boost157/lib  -lboost_system

 

OpenSSL:

  CRYPTO_VERSION:  OpenSSL 1.0.2k  26 Jan 2017

  CRYPTO_CFLAGS:

  CRYPTO_INCLUDES:

  CRYPTO_LDFLAGS:

  CRYPTO_LIBS: -lcrypto

 

Botan: no

 

Log4cplus:

  LOG4CPLUS_VERSION:  1.1.3

  LOG4CPLUS_INCLUDES: -I/usr/include

  LOG4CPLUS_LIBS: -L/usr/lib -L/usr/lib64 -llog4cplus

 

Flex/bison:

  FLEX:  :

  BISON: yacc

 

MySQL:

  no

 

PostgreSQL:

  no

 

Cassandra CQL:

  no

Google Test:

  no

Google Benchmark:

  no

 

Developer:

  Enable Debugging:   no

  Google Tests:   no

  Valgrind:   not found

  C++ Code Coverage:  no

  Logger checks:  no

  Generate Documentation: no

  Parser Generation:  no

  Kea-shell:  no

 

 

  Now you can type "make" to build Kea. Note that if you intend to

  run "make check", you must run "make" first as some files need to be

  generated by "make" before "make check" can be run.

 

  When running "make install" do not use any form of parallel or job

  server options (such as GNU make's -j option). Doing so may cause

  errors.

___
Kea-users mailing list
Kea-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users