Sample Header Ad - 728x90

Anybody still runs PostgreSQL server on OSX 10.11.6? And how do I get icu4c@76 to compile?

0 votes
1 answer
70 views
I used to have PostgreSQL@14 server running on my OSX 10.11.6 machine but just discovered lately that it is no longer working. When I tried to reinstall it, it always exit with error when installing dependency package icu4c@76... the closest icu4c I can compile on that machine is @74, how can I get around and get PostgreSQL to work again? Thanks in advance for any tips/hacks. ( note: I've tried '--no-dependency' HOMEBREW_NO_INSTALL_FROM_API brew developer off etc etc but to no avail... my plan is perhaps to downgrade brew version to an older one so that those switches might work in old fashion... any downside of my plan? 2nd plan is to try MacPort or Fink... ) Output from command
brew reinstall postgresql@14

==> Installing postgresql@14 dependency: icu4c@76
==> ./configure --disable-samples --disable-tests --enable-static --with-library
==> make
Last 15 lines from /Users/sye/Library/Logs/Homebrew/icu4c@76/02.make:
^~~~~~~~~~~~~~
../common/unicode/localpointer.h:551:68: note: expanded from macro 'U_DEFINE_LOCAL_OPEN_POINTER'
    using LocalPointerClassName = internal::LocalOpenPointer
                                                                   ^~~~~~~~~~~~~
2 errors generated.
*** Failed compilation command follows: ----------------------------------------------------------
clang++ -std=gnu++11 -DU_ALL_IMPLEMENTATION -DU_ATTRIBUTE_DEPRECATED= -DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H=1 -I../common -O2 -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long -fno-common -c -dynamic -MMD -MT stubdata.d stubdata.o stubdata.ao -o stubdata.o stubdata.cpp
--- ( rebuild with "/Library/Developer/CommandLineTools/usr/bin/make VERBOSE=1 all" to show all parameters ) --------
make: *** [stubdata.o] Error 1
make: *** Waiting for unfinished jobs....
*** Failed compilation command follows: ----------------------------------------------------------
clang++ -std=gnu++11 -DU_ALL_IMPLEMENTATION -DU_ATTRIBUTE_DEPRECATED= -DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H=1 -I../common -O2 -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long -fno-common -c -MMD -MT stubdata.d stubdata.o stubdata.ao -o stubdata.ao stubdata.cpp
--- ( rebuild with "/Library/Developer/CommandLineTools/usr/bin/make VERBOSE=1 all" to show all parameters ) --------
make: *** [stubdata.ao] Error 1
make: *** [all-recursive] Error 2
Asked by allthingsgo (11 rep)
Mar 12, 2025, 01:02 PM
Last activity: Mar 14, 2025, 01:48 PM