tursodatabase / pg_turso

Postgres output plugin for replicating data to Turso.
MIT License
72 stars 4 forks source link

Mac OS integration #14

Open arpecop opened 1 year ago

arpecop commented 1 year ago
make                                                        
  GIT     submodules
Submodule path 'postgres': checked out '8382864eb5c9f9ebe962ac20b3392be5ae304d23'
  MAKE    postgres headers
  ZIG     pg_turso
/private/tmp/pg_turso/build.zig:25:24: error: expected type 'Build.LazyPath', found '*const [20:0]u8'
    lib.addIncludePath("postgres/src/include");
                       ^~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/zig/0.11.0/lib/zig/std/Build.zig:1672:22: note: union declared here
pub const LazyPath = union(enum) {
                     ^~~~~
/usr/local/Cellar/zig/0.11.0/lib/zig/std/Build/Step/Compile.zig:1030:45: note: parameter type declared here
pub fn addIncludePath(self: *Compile, path: LazyPath) void {
                                            ^~~~~~~~
referenced by:
    runBuild__anon_6722: /usr/local/Cellar/zig/0.11.0/lib/zig/std/Build.zig:1638:27
    remaining reference traces hidden; use '-freference-trace' to see all reference traces
make: *** [all] Error 2

what I am missing... even brew install postgres@16 (just in case) ?