build pg_duckdb in docker got error. #239
-
I tried to build pg_duckdb for PostgreSQL 16 in debian bullseye. command to build pg_duckdbgit clone --recurse-submodules https://github.com/duckdb/pg_duckdb; error as following, detail as attached.src/pgduckdb_filter.cpp:33:30: error: no member named 'string_view' in namespace 'std' Is there anything i missed ? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
I assume your environment does not have c++ >= 17 installed, as that is when |
Beta Was this translation helpful? Give feedback.
-
Yeah, it indeed looks like there's no C++17 available. I'd expect compilation to fail in a different way though in that case, because we provide the |
Beta Was this translation helpful? Give feedback.
-
@JelteF @Tishj , I have added libstdc++-10-dev. but still the same error. |
Beta Was this translation helpful? Give feedback.
-
I know libstdc++-12-dev works, as it's on my branch here: https://github.com/duckdb/pg_duckdb/blob/jd/docker-image/Dockerfile |
Beta Was this translation helpful? Give feedback.
-
@lucasdengcn give it a try now that #248 is merged |
Beta Was this translation helpful? Give feedback.
-
@wuputah thank you. it works. |
Beta Was this translation helpful? Give feedback.
@lucasdengcn give it a try now that #248 is merged