-
Notifications
You must be signed in to change notification settings - Fork 14
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
macOS compilation failure #127
Comments
I'm sure we'd like to support macOS if we can, but it's probably uncharted territory. Your output shows an error from clang, but the command is g++. That would seem to imply that g++ isn't really g++, but it's using clang instead. You might need to install the real gcc and g++ with Homebrew and compile PostgreSQL and this extension using the "real" gcc and g++. But that's just a guess. |
Also, I know you definitely need GNU Make to build this extension. I'm not sure if macOS make is GNU or BSD. It's probably BSD since most commands on the Mac are BSD, so you'll probably need to install GNU Make with Homebrew as well, if you haven't already done so. Then make sure you are using GNU Make to build. |
@esabol Thanks for the tips! After some digging, I'm now able to compile and install w/o the Healpix package. What I did first is simply commenting out this line. I found this varibale already defined by Postgres's Line 100 in adda898
Yet, there's another compilation issue of missing Healpix symbols:
Looking at Healpix libary file (via Compiling with |
Hi all!
Is pg_sphere supported on macOS? I was trying to compile (1.5.1) and install on macOS (Sonoma, 14.5) and this error showed up.
If macOS is supported, does anyone have an idea about this issue? I tried to trace this g++ command in the make file but failed...
The text was updated successfully, but these errors were encountered: