Giter Club home page Giter Club logo

homebrew-thrift's Introduction

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["[email protected]"].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.

homebrew-thrift's People

Contributors

cartman-kai avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.