Some old version of thrift Formulas which no longer included in homebrew-core. These old versions of Formulas need to be compiled, and no bottle is provided.
brew install cartman-kai/thrift/<formula>
Or brew tap cartman-kai/thrift
and then brew install <formula>
.
Install [email protected]
brew tap cartman-kai/thrift
brew install [email protected]
- [email protected] (0.9.3.1)
- [email protected](default without c++ library)
- [email protected]
- [email protected]
- [email protected]
- [email protected] (0.14.2)
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
-
2024-09-30 Fixed Patch URL issue. Affected versions: 0.15 - 0.19. Verified successful installation and usage on macOS Ventura (13.6.9).
-
2024-09-24 add [email protected].
-
2024-07-12 add [email protected], copy from homebrew-core/Formal (delete bottle).
-
2024-03-31 copy [email protected] from homebrew-core/Formal (delete bottle).
-
2023-10-07 copy [email protected] from homebrew-core/Formal (delete bottle).
-
2023-05-27 fix url can't download issue.(replace url to archive.apache.org).
-
2023-03-09 copy [email protected] from homebrew-core/Formal (delete bottle).
-
2022-09-23 add [email protected] [email protected], fix [email protected] dependencies.
-
2021-12-19 [email protected] change configure args, default not support C++ Complier Library.
-
2021-09-22 copy [email protected] from homebrew-core/Formal (delete bottle)
brew help
, man brew
or check Homebrew's documentation.
Because Remove all options from Homebrew/homebrew-core formulae
If you want install thrift with some language, use brew edit <formual>
, modify configure args. (default brew editor is nano)
brew edit cartman-kai/thrift/[email protected]
thrift default enable support languages, so modify without-<language> line like this.
args = %W[
--disable-debug
--disable-tests
--prefix=#{prefix}
--libdir=#{lib}
--with-openssl=#{Formula["openssl@3"].opt_prefix}
--without-erlang
--without-haskell
--without-java
--without-perl
--without-ruby
--without-swift
]
[email protected] --with-boost On Linux Or macOS Monterey complier error.
On Linux will have the problem that ld cannot find int boost::math::signbit<double>(double)
, testing on Fedora34/Ubuntu 20.04.2
/usr/bin/ld: /tmp/thriftA0.10-20210726-11963-gdbcaw/thrift-0.10.0/lib/cpp/.libs/libthrift-0.10.0.so: undefined reference to `int boost::math::signbit<double>(double)'
On macOS Monterey
dyld[90108]: symbol not found in flat namespace '_ZN5boost4math7signbitIdEEiT'
make[3]: *** [gen-cpp/shared_types.cpp] Abort trap: 6
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
This is the same problem. ld
or dlyd
cannot link int boost::math::signbit
function. It may be related to C++ Complier or libtool.
In short, [email protected] is not recommended for C++ Project, it is no longer supported.