Traté de instalar PostgreSQL en mi Mac Book con homebrew.
brew install postgresqlPero no pude instalarlo y recibí estos mensajes de error. ¿Alguien sabe cuál es la solución a este problema?
./formatted_string_builder.h:227:9: note: subexpression not valid in a constant expression U_ASSERT(category <= 0xf), ^ ../common/uassert.h:35:26: note: expanded from macro 'U_ASSERT' # define U_ASSERT(exp) void() ^ ./formatted_string_builder.h:240:64: note: in call to 'Field(0, 1)' constexpr FormattedStringBuilder::Field kGeneralNumericField = {UFIELD_CATEGORY_UNDEFINED, 1}; ^ 3 errors generated. *** Failed compilation command follows: ---------------------------------------------------------- clang++ -DU_ATTRIBUTE_DEPRECATED= -DU_I18N_IMPLEMENTATION -DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H=1 -DU_HAVE_STRING_VIEW=1 -I. -I../common -O2 -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long -std=c++11 -Qunused-arguments -Wno-parentheses-equality -Wglobal-constructors -fvisibility=hidden -fno-common -c -MMD -MT numfmt.d numfmt.o numfmt.ao -o numfmt.ao numfmt.cpp --- ( rebuild with "/Library/Developer/CommandLineTools/usr/bin/make VERBOSE=1 all" to show all parameters ) -------- make[1]: *** [numfmt.ao] Error 1 make: *** [all-recursive] Error 2 Do not report this issue to Homebrew/brew or Homebrew/core! Error: You are using macOS 10.12. We (and Apple) do not provide support for this old version. You will encounter build failures with some formulae. Please create pull requests instead of asking for help on Homebrew's GitHub, Discourse, Twitter or IRC. You are responsible for resolving any issues you experience while you are running this old version.Necesita icu4c. Actualmente, la versión de icu4c escrita en Homebrew's Fomula es 67.1, y se requiere que macOS sea High Sierra (10.13) o superior.