rum icon indicating copy to clipboard operation
rum copied to clipboard

Can you install this on Mac?

Open hcabnettek opened this issue 5 years ago • 5 comments

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.

hcabnettek avatar Mar 13 '20 01:03 hcabnettek

On Fri, Mar 13, 2020 at 4:59 AM ck [email protected] wrote:

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.

It compiles without any problem with pg12 on my mac. What are the error messages ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

-- Postgres Professional: http://www.postgrespro.com The Russian Postgres Company

obartunov avatar Mar 13 '20 05:03 obartunov

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

hcabnettek avatar Mar 13 '20 18:03 hcabnettek

On Fri, Mar 13, 2020 at 9:03 PM ck [email protected] wrote:

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

Error message says that opt/local/bin/clang-mp-6.0 is missing, this is not rum problem.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/postgrespro/rum/issues/81#issuecomment-598847221, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQURYSFBDTQW3N237OFTZDRHJYNLANCNFSM4LGY6ERA .

-- Postgres Professional: http://www.postgrespro.com The Russian Postgres Company

obartunov avatar Mar 14 '20 01:03 obartunov

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.

hcabnettek avatar Mar 16 '20 17:03 hcabnettek

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.

rjuju avatar Mar 16 '20 18:03 rjuju