Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No matching function call #19

Open
the4thamigo-uk opened this issue Jun 20, 2023 · 1 comment
Open

No matching function call #19

the4thamigo-uk opened this issue Jun 20, 2023 · 1 comment

Comments

@the4thamigo-uk
Copy link

the4thamigo-uk commented Jun 20, 2023

Hi, I really want to use this on a project. I think it would be useful, but currently it's kinda let down by some incomplete build instructions. Ive managed to get through quite a few hurdles here but I am struggling now with :

arquet_s3_fdw_connection.cpp:518:69: error: no matching function for call to ‘Aws::S3::S3Client::S3Client(Aws::Auth::AWSCredentials&, Aws::Client::ClientConfiguration&)’
  518 |                 s3_client = new Aws::S3::S3Client(cred, clientConfig);

An example build in a Dockerfile would really help I think.

For information, Im trying to add this connector to the timescaledb docker image, which currently is built from this Dockerfile :

FROM timescale/timescaledb-ha:pg15-latest

USER root
RUN apt update && apt install -yq build-essential  postgresql-server-dev-15
RUN apt update && \
    apt install -y -V ca-certificates lsb-release wget && \
    wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb && \
    apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb && \
    apt update && \
    apt install -y -V libarrow-dev libparquet-dev
RUN apt install -yq curl zip unzip tar git

COPY . /parquet_s3_fdw 
WORKDIR /parquet_s3_fdw
RUN cd ./vcpkg && \
    ./bootstrap-vcpkg.sh && \
    ./vcpkg integrate install && \
    ./vcpkg install aws-sdk-cpp

RUN cd /parquet_s3_fdw && make install USE_PGXS=1 CCFLAGS="-std=c++17 -I/parquet_s3_fdw/vcpkg/installed/x64-linux/include"
@hrkuma
Copy link

hrkuma commented Jun 26, 2023

Hi,
It seems in latest AWS ASK CPP this error occurrs.
At least, I could build using version of refs/tags/1.9.312.
(In my environment postgres and aws-sdk-cpp is built from source code, so maybe we have more differences.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants