Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to execute make install in 1.9.0 version #66

Open
Akki9326 opened this issue Nov 30, 2023 · 1 comment
Open

Not able to execute make install in 1.9.0 version #66

Akki9326 opened this issue Nov 30, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Akki9326
Copy link

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

MBP supautils-1.9.0 % make && make install

clang -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -O2  -I. -I./ -I/opt/homebrew/include/postgresql/server -I/opt/homebrew/include/postgresql/internal -I/opt/homebrew/Cellar/icu4c/70.1/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -I/opt/homebrew/opt/[email protected]/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/Cellar/lz4/1.9.3/include   -c -o src/supautils.o src/supautils.c
clang: warning: no such sysroot directory: '/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk' [-Wmissing-sysroot]
In file included from src/supautils.c:1:
In file included from /opt/homebrew/include/postgresql/server/postgres.h:46:
/opt/homebrew/include/postgresql/server/c.h:59:10: fatal error: 'stdio.h' file not found
#include <stdio.h>
         ^~~~~~~~~
1 error generated.
make: *** [src/supautils.o] Error 1

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. download latest 1.9.0 tag from github
  2. on MacOS Sonoma 14.1.1 try to build the package using make install
  3. see the outpyt

Expected behavior

make install should run

System information

  • OS: macOS 14.1.1
@Akki9326 Akki9326 added the bug Something isn't working label Nov 30, 2023
@Akki9326 Akki9326 changed the title Not able to build 1.9.0 version through make install Not able to execute make install in 1.9.0 version Nov 30, 2023
@soedirgo
Copy link
Member

Hi, looking at the clang warning, it seems the CPPFLAGS isn't properly configured. Are you able to compile a printf("hello world") program?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants