[ODBC-252] Build failed when executed the commands present in "BUILD.md" file Created: 2019-05-28  Updated: 2019-06-01  Resolved: 2019-06-01

Status: Closed
Project: MariaDB Connector/ODBC
Component/s: General
Affects Version/s: 3.1.1
Fix Version/s: 3.1.2

Type: Bug Priority: Major
Reporter: Chakravarthy Gopi Assignee: Lawrin Novitsky
Resolution: Fixed Votes: 0
Labels: None
Environment:

Linux X86_64 Ubuntu 16.04


Attachments: HTML File x86_ub_error    

 Description   

Build failed with below error after executing cmake command.
This issue is observed on both little endian and big endian architectures.
I suspect that unavailability of "select.h" file caused the failure.
Please let me know if I miss anything.

CMake Error at libmariadb/plugins/auth/CMakeLists.txt:62 (IF):
  if given arguments:
 
    "STREQUAL" "OPENSSL" "OR" "STREQUAL" "SCHANNEL"
 
  Unknown arguments specified
Call Stack (most recent call first):
  libmariadb/plugins/CMakeLists.txt:7 (INCLUDE)
  libmariadb/CMakeLists.txt:394 (INCLUDE)



 Comments   
Comment by Lawrin Novitsky [ 2019-06-01 ]

Thanks for you report. As a matter of fact, it's got broken in the underlying C/C. I think it will be fixed in the next release. But probably I change Build.md nevertheless, since it will still work.
To build with current C/C version you need to add to the cmake command -DWITH_SSL=[SCHANNEL|OPENSSL|<other encryption lib>]

Generated at Thu Feb 08 03:27:20 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.