skilld-labs / trino-odbc

A Trino ODBC driver
Apache License 2.0
8 stars 2 forks source link

Unable to build AWS C++ SDK for Amazon Trino connector #3

Open merhawi25 opened 9 months ago

merhawi25 commented 9 months ago

Describe the bug

I cannot able to build the Amazon Trino connector though I followed the developer guide line.

The given (existing inside the script) aws-sdk-cpp branch is git clone --recurse-submodules -b "1.11.80" "https://github.com/aws/aws-sdk-cpp.git".

I was wondering if you could help me.

Expected Behavior

It should build successfully.

Current Behavior

-- Add s3-crt:s3 to C2J_SPECIAL_NAME_LIST -- Considering core -- Considering sts -- Considering trino-query -- Considering trino-write CMake Error at cmake/sdks.cmake:165 (message): trino-query is required for build, but generated/src/aws-cpp-sdk-trino-query directory is missing! Call Stack (most recent call first): CMakeLists.txt:245 (include)

-- Configuring incomplete, errors occurred!

the same error for trino-write too.

Reproduction Steps

The arguments I passed:

cmake $SRC_DIR -A $WIN_ARCH -D CMAKE_INSTALL_PREFIX=$INSTALL_DIR -D CMAKE_BUILD_TYPE=$CONFIGURATION -D BUILD_ONLY="core;sts;trino-query;trino-write" -D ENABLE_UNITY_BUILD="ON" -D CUSTOM_MEMORY_MANAGEMENT="OFF" -D ENABLE_RTTI="OFF" -D ENABLE_TESTING="OFF" ` -D CPP_STANDARD="17"

Possible Solution

No response

Additional Information/Context

No response

Trino ODBC Driver Log

No response

Trino ODBC Driver version

nvm

Host Operating System and version

Windows 10 x64

DatumWorld commented 2 months ago

Describe the bug

I cannot able to build the Amazon Trino connector though I followed the developer guide line.

The given (existing inside the script) aws-sdk-cpp branch is git clone --recurse-submodules -b "1.11.80" "https://github.com/aws/aws-sdk-cpp.git".

I was wondering if you could help me.

Expected Behavior

It should build successfully.

Current Behavior

-- Add s3-crt:s3 to C2J_SPECIAL_NAME_LIST -- Considering core -- Considering sts -- Considering trino-query -- Considering trino-write CMake Error at cmake/sdks.cmake:165 (message): trino-query is required for build, but generated/src/aws-cpp-sdk-trino-query directory is missing! Call Stack (most recent call first): CMakeLists.txt:245 (include)

-- Configuring incomplete, errors occurred!

the same error for trino-write too.

Reproduction Steps

The arguments I passed:

cmake $SRC_DIR -A $WIN_ARCH -D CMAKE_INSTALL_PREFIX=$INSTALL_DIR -D CMAKE_BUILD_TYPE=$CONFIGURATION -D BUILD_ONLY="core;sts;trino-query;trino-write" -D ENABLE_UNITY_BUILD="ON" -D CUSTOM_MEMORY_MANAGEMENT="OFF" -D ENABLE_RTTI="OFF" -D ENABLE_TESTING="OFF" ` -D CPP_STANDARD="17"

Possible Solution

No response

Additional Information/Context

No response

Trino ODBC Driver Log

No response

Trino ODBC Driver version

nvm

Host Operating System and version

Windows 10 x64

I faced the same issue. Could anyone have any idea?