From: jeanbapt (@jeanbapt) <noreply+jeanbapt@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: [pgvector/pgvector] issue #289: @ankane stdio.h not found : seemingly a call to a deprecated sdk (MacOSX11.3.sdk)
Date: Fri, 29 Sep 2023 12:12:51 +0000
Message-ID: <gh-pgvector-pgvector-289@github.com> (raw)
@ankane meeting the same problem now with seemingly a call to a deprecated sdk (MacOSX11.3.sdk)
I run on Mac M1 Pro MacOS ventura. I have installed Postgres.App (15 and 16).
When using make (and also the flagged variants), I get a
```
clang: warning: no such sysroot directory: '/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk' [-Wmissing-sysroot]
clang: warning: no such sysroot directory: '/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk' [-Wmissing-sysroot]
In file included from src/hnsw.c:1:
In file included from /Library/PostgreSQL/15/include/postgresql/server/postgres.h:46:
/Library/PostgreSQL/15/include/postgresql/server/c.h:59:10: fatal error: 'stdio.h' file not found
#include <stdio.h>
'''
```
I tried reinstalling xcode command line tools, using xcode-select etc. with no success.
Do I need to download the deprecated 11.3 sdk ?
Thank you 🙏
_Originally posted by @jeanbapt in https://github.com/pgvector/pgvector/issues/191#issuecomment-1740741797_