pg.ddx.io pgvector/pgvector GitHub issues and pull requests
help / color / mirror / Atom feed[pgvector/pgvector] issue #289: @ankane stdio.h not found : seemingly a call to a deprecated sdk (MacOSX11.3.sdk)
8+ messages / 4 participants
[nested] [flat]
* [pgvector/pgvector] issue #289: @ankane stdio.h not found : seemingly a call to a deprecated sdk (MacOSX11.3.sdk)
@ 2023-09-29 12:12 "jeanbapt (@jeanbapt)" <noreply+jeanbapt@github.com>
0 siblings, 0 replies; 8+ messages in thread
From: jeanbapt (@jeanbapt) @ 2023-09-29 12:12 UTC (permalink / raw)
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
@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_
^ permalink raw [nested|flat] 8+ messages in thread
* Re: [pgvector/pgvector] issue #289: @ankane stdio.h not found : seemingly a call to a deprecated sdk (MacOSX11.3.sdk)
@ 2023-09-29 12:14 "jeanbapt (@jeanbapt)" <noreply+jeanbapt@github.com>
6 siblings, 0 replies; 8+ messages in thread
From: jeanbapt (@jeanbapt) @ 2023-09-29 12:14 UTC (permalink / raw)
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
I confirm that by downloading the deprecated sdk from https://github.com/phracker/MacOSX-SDKs, it compiles and it solves the problem. It might be a work around for now. Please tell me when the reference is updated.
^ permalink raw [nested|flat] 8+ messages in thread
* Re: [pgvector/pgvector] issue #289: @ankane stdio.h not found : seemingly a call to a deprecated sdk (MacOSX11.3.sdk)
@ 2023-09-29 12:14 "jeanbapt (@jeanbapt)" <noreply+jeanbapt@github.com>
6 siblings, 0 replies; 8+ messages in thread
From: jeanbapt (@jeanbapt) @ 2023-09-29 12:14 UTC (permalink / raw)
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
@jeanbapt closed this.
^ permalink raw [nested|flat] 8+ messages in thread
* Re: [pgvector/pgvector] issue #289: @ankane stdio.h not found : seemingly a call to a deprecated sdk (MacOSX11.3.sdk)
@ 2023-09-29 12:15 "jeanbapt (@jeanbapt)" <noreply+jeanbapt@github.com>
6 siblings, 0 replies; 8+ messages in thread
From: jeanbapt (@jeanbapt) @ 2023-09-29 12:15 UTC (permalink / raw)
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
@jeanbapt renamed this.
^ permalink raw [nested|flat] 8+ messages in thread
* Re: [pgvector/pgvector] issue #289: @ankane stdio.h not found : seemingly a call to a deprecated sdk (MacOSX11.3.sdk)
@ 2023-09-29 19:36 "ankane (@ankane)" <noreply+ankane@github.com>
6 siblings, 0 replies; 8+ messages in thread
From: ankane (@ankane) @ 2023-09-29 19:36 UTC (permalink / raw)
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
fwiw, that flag comes from your Postgres installation, so the problem would be there.
^ permalink raw [nested|flat] 8+ messages in thread
* Re: [pgvector/pgvector] issue #289: @ankane stdio.h not found : seemingly a call to a deprecated sdk (MacOSX11.3.sdk)
@ 2024-02-08 16:35 "ideavision (@ideavision)" <noreply+ideavision@github.com>
6 siblings, 0 replies; 8+ messages in thread
From: ideavision (@ideavision) @ 2024-02-08 16:35 UTC (permalink / raw)
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Any update or news about:
```
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>
'''
```
^ permalink raw [nested|flat] 8+ messages in thread
* Re: [pgvector/pgvector] issue #289: @ankane stdio.h not found : seemingly a call to a deprecated sdk (MacOSX11.3.sdk)
@ 2024-02-08 16:46 "ankane (@ankane)" <noreply+ankane@github.com>
6 siblings, 0 replies; 8+ messages in thread
From: ankane (@ankane) @ 2024-02-08 16:46 UTC (permalink / raw)
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
See [this section](https://github.com/pgvector/pgvector?tab=readme-ov-file#missing-sdk) of the docs.
^ permalink raw [nested|flat] 8+ messages in thread
* Re: [pgvector/pgvector] issue #289: @ankane stdio.h not found : seemingly a call to a deprecated sdk (MacOSX11.3.sdk)
@ 2024-11-03 10:19 "saaspeter (@saaspeter)" <noreply+saaspeter@github.com>
6 siblings, 0 replies; 8+ messages in thread
From: saaspeter (@saaspeter) @ 2024-11-03 10:19 UTC (permalink / raw)
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
I tried to reinstall xcode command line tool, but there is no 11.3.sdk, the minimum sdk version is: 12.1.sdk, obviously the 11.3.sdk is an old sdk version. Should the make file do some update for the latest command line tool?
^ permalink raw [nested|flat] 8+ messages in thread
end of thread, other threads:[~2024-11-03 10:19 UTC | newest]
Thread overview: 8+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2023-09-29 12:12 [pgvector/pgvector] issue #289: @ankane stdio.h not found : seemingly a call to a deprecated sdk (MacOSX11.3.sdk) "jeanbapt (@jeanbapt)" <noreply+jeanbapt@github.com>
2023-09-29 12:14 ` "jeanbapt (@jeanbapt)" <noreply+jeanbapt@github.com>
2023-09-29 12:14 ` "jeanbapt (@jeanbapt)" <noreply+jeanbapt@github.com>
2023-09-29 12:15 ` "jeanbapt (@jeanbapt)" <noreply+jeanbapt@github.com>
2023-09-29 19:36 ` "ankane (@ankane)" <noreply+ankane@github.com>
2024-02-08 16:35 ` "ideavision (@ideavision)" <noreply+ideavision@github.com>
2024-02-08 16:46 ` "ankane (@ankane)" <noreply+ankane@github.com>
2024-11-03 10:19 ` "saaspeter (@saaspeter)" <noreply+saaspeter@github.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox