Closed jmealo closed 5 years ago
+1
bump. running into same issue
YMMV, however, I went into the makefile and changed the line (93) that said:
ifeq ($(PORTNAME),darwin) to ifeq ($(PORTNAME),Darwin)
And then Multicorn built.
I can confirm that
ifeq ($(PORTNAME),darwin) to ifeq ($(PORTNAME),Darwin)
fixes the build.
@ergo70 @rotten: Kudos, great work! Would you like to make a PR or should someone else?
I tested this and the build also worked. I did not thoroughly test Multicorn though.
I also found that I need to install the multicorn python module with:
sudo ARCHFLAGS="-arch x86_64" python setup.py install
Otherwise clang tries to build a 32 & 64 bit version and that fails, because int128 is not supported for 32 bit targets.
edit Makefile, line (93), change darwin to Darwin make sudo ARCHFLAGS="-arch x86_64" make install
Please merge https://github.com/Kozea/Multicorn/pull/197
I get this error when building from source or using the pgxn installer:
pg_config output: