pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: ZacharyWu11 (@ZacharyWu11) <noreply+ZacharyWu11@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #592: can't make pgvector
Date: Wed, 19 Jun 2024 06:40:14 +0000
Message-ID: <gh-pgvector-pgvector-592-c2177865759@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-592@github.com>
References: <gh-pgvector-pgvector-592@github.com>

MacBook-Pro pgvector-master % ls /Library/Developer/CommandLineTools/SDKs
MacOSX.sdk	MacOSX13.3.sdk	MacOSX13.sdk	MacOSX14.4.sdk	MacOSX14.sdk
MacBook-Pro pgvector-master % make
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -g -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -mmacosx-version-min=10.15 -arch x86_64 -arch arm64 -O2  -ftree-vectorize -fassociative-math -fno-signed-zeros -fno-trapping-math  -I. -I./ -I/Library/PostgreSQL/15/include/postgresql/server -I/Library/PostgreSQL/15/include/postgresql/internal -I/opt/local/Current_v15/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk  -I/opt/local/20220418/include/libxml2 -I/opt/local/Current_v15/include -I/opt/local/Current_v15/include  -I/opt/local/Current_v15/include/libxml2 -I/opt/local/Current_v15/include -I/opt/local/Current_v15/include/openssl/  -c -o src/bitutils.o src/bitutils.c
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/bitutils.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>
         ^~~~~~~~~
1 error generated.



I have already   execute. "sudo rm -rf /Library/Developer/CommandLineTools" 
and execute " xcode-select --install" ,but the SDKS version is MacOSX.sdk	MacOSX13.3.sdk	MacOSX13.sdk	MacOSX14.4.sdk	MacOSX14.sdk, doesn't have 11.3

> 你好@ZacharyWu11,请查看文档的[这一部分。](https://github.com/pgvector/pgvector?tab=readme-ov-file#missing-sdk)



view thread (10+ messages)  latest in thread

Message-ID: <gh-pgvector-pgvector-592-c2177865759@github.com>
Permalink:  ../gh-pgvector-pgvector-592-c2177865759@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