I downloaded postgreSQL V11 source code through github, but failed to compile and install it on macOS. This worked one month ago.
Here are the error messages:
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 zic.o -L../../src/port -L../../src/common -Wl,-dead_strip_dylibs -lpgcommon -lpgport -lz -lreadline -lm -o zic ld: warning: ld: warning: ignoring file ../../src/common/libpgcommon.a, file was built for archive which is not the architecture being linked (x86_64): ../../src/common/libpgcommon.aignoring file ../../src/port/libpgport.a, file was built for archive which is not the architecture being linked (x86_64): ../../src/port/libpgport.a**I searched on line but failed to find any useful information. Any idea for this? Thanks.