| Ticket Hash: | 5fd8f3d32dbe2e8371d7b8b523bb76079c6865eb | ||
| Title: | Compilation error for 3.2.4 on Ubuntu 16.04.6 | ||
| Status: | Closed | Type: | Code Defect |
| Severity: | Critical | Priority: | Immediate |
| Subsystem: | Library | Resolution: | Overcome by Events |
| Last Modified: |
2020-07-23 06:55:05 5.41 years ago |
Created: |
2019-07-17 08:07:48 6.43 years ago |
| Version Found In: | 3.2.4 | ||
| User Comments: | ||||
anonymous added on 2019-07-17 08:07:48:
Hello,
I am trying to install the 3.2.4 version on Ubuntu 16.04.6 LTS after having installed mysql Ver 8.0.16.
After unpackaging the tarball and run ./configure all seems to be fine but running make for compiling gets this error message
./lib/options.cpp: In member function ‘virtual mysqlpp::Option::Error mysqlpp::GuessConnectionOption::set(mysqlpp::DBDriver*)’:
./lib/options.cpp:72:20: error: ‘MYSQL_OPT_GUESS_CONNECTION’ was not declared in this scope
dbd->set_option(MYSQL_OPT_GUESS_CONNECTION) ?
^~~~~~~~~~~~~~~~~~~~~~~~~~
./lib/options.cpp: In member function ‘virtual mysqlpp::Option::Error mysqlpp::SecureAuthOption::set(mysqlpp::DBDriver*)’:
./lib/options.cpp:264:20: error: ‘MYSQL_SECURE_AUTH’ was not declared in this scope
dbd->set_option(MYSQL_SECURE_AUTH, &arg_) ?
^~~~~~~~~~~~~~~~~
./lib/options.cpp: In member function ‘virtual mysqlpp::Option::Error mysqlpp::SetClientIpOption::set(mysqlpp::DBDriver*)’:
./lib/options.cpp:295:20: error: ‘MYSQL_SET_CLIENT_IP’ was not declared in this scope
dbd->set_option(MYSQL_SET_CLIENT_IP, arg_.c_str()) ?
^~~~~~~~~~~~~~~~~~~
./lib/options.cpp: In member function ‘virtual mysqlpp::Option::Error mysqlpp::UseEmbeddedConnectionOption::set(mysqlpp::DBDriver*)’:
./lib/options.cpp:340:20: error: ‘MYSQL_OPT_USE_EMBEDDED_CONNECTION’ was not declared in this scope
dbd->set_option(MYSQL_OPT_USE_EMBEDDED_CONNECTION) ?
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./lib/options.cpp: In member function ‘virtual mysqlpp::Option::Error mysqlpp::UseRemoteConnectionOption::set(mysqlpp::DBDriver*)’:
./lib/options.cpp:353:20: error: ‘MYSQL_OPT_USE_REMOTE_CONNECTION’ was not declared in this scope
dbd->set_option(MYSQL_OPT_USE_REMOTE_CONNECTION) ?
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Makefile:666: recipe for target 'mysqlpp_options.o' failed
make: *** [mysqlpp_options.o] Error 1
I've seen a similar issue among other tickets for version 3.2.3 but I'm not sure if the proposed solution would be effective.
Thanks!
tangent added on 2020-07-23 06:55:05:
I believe this is already fixed, and this bug just didn't get closed along with the fix being checked in. | ||||