Skip to content

Some old version of thrift Formulas which no longer included in homebrew-core.

Notifications You must be signed in to change notification settings

cartman-kai/homebrew-thrift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 

Repository files navigation

Cartman-kai homebrew-thrift

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.

How do I install these formulae?

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]

support versions

Changelog

Documentation

brew help, man brew or check Homebrew's documentation.

Configure options

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
]

Issues

[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.

About

Some old version of thrift Formulas which no longer included in homebrew-core.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages