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

Can you install this on Mac? #81

Open
hcabnettek opened this issue Mar 13, 2020 · 5 comments
Open

Can you install this on Mac? #81

hcabnettek opened this issue Mar 13, 2020 · 5 comments

Comments

@hcabnettek
Copy link

Can this be installed on Mac OSX? I tried the github installation and it appears I'm missing some c libraries. Has anyone had any luck installing on Mac? I am trying with postgresql 12. Thanks for any help.

@obartunov
Copy link

obartunov commented Mar 13, 2020 via email

@hcabnettek
Copy link
Author

When I run the first step
/opt/local/bin/clang-mp-6.0 -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -O2 -I. -I./ -I/Library/PostgreSQL/12/include/postgresql/server -I/Library/PostgreSQL/12/include/postgresql/internal -I/opt/local/Current/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -I/opt/local/20180529/include/libxml2 -I/opt/local/Current/include/libxml2 -I/opt/local/Current/include -flto=thin -emit-llvm -c -o src/rumsort.bc src/rumsort.c
make: /opt/local/bin/clang-mp-6.0: No such file or directory
make: *** [src/rumsort.bc] Error 1

@obartunov
Copy link

obartunov commented Mar 14, 2020 via email

@hcabnettek
Copy link
Author

Do you know how I may be able to fix it? Like how I can fill this dependency? How I can install 'clang-mp-6.0' so it is not missing? I have tried to figure it out however I am stuck. Thanks.

@rjuju
Copy link

rjuju commented Mar 16, 2020

If you can't install llvm, you can still compile the extension without llvm bytecode generation:

make USE_PGXS=1 with_llvm=no install

should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants