Giter Site home page Giter Site logo

Comments (5)

djwatson avatar djwatson commented on May 4, 2024

What does config.log say? Is the CPPFLAGS correct when it is passed to configure?

from fbthrift.

doctorseus avatar doctorseus commented on May 4, 2024

I have the same problem because it seems that the CPPFLAGS and LDFLAGS, set by the deps.sh file, lead to a wrong header/lib location.
configure.ac looks for a headerfile in "double-conversion/double-conversion.h" but CPPFLAGS is set directly to the src folder so it should be "double-conversion.h" only.

Unfortunately I was not able to solve the LDFLAGS problem because I am not really familiar with cpp build tools yet and the content of CPPFLAGS and LDFLAGS had no effect at all for me.
I copied the content of double-conversion/src/ to /usr/local/include/, because this path was searched by default, after that at least the headerfile file check worked.

But the check for ceil method always failed...

(Tested on a clean Ubuntu 12.10 amd64 VM instance)

from fbthrift.

doctorseus avatar doctorseus commented on May 4, 2024

Oky, i have found the problem after 2 days..
I don't know why this commit has been accepted because there is really no chance this works (because the headerfiles are definitly not in "double-conversion", they are in "src"), but if you undo all the changes of this commit, fbthirft finally compiles without any problems.

facebook/folly@56e0ec4#diff-0aeb0bf602d25a066eb2233e06c4a981

from fbthrift.

djwatson avatar djwatson commented on May 4, 2024

I believe folly is now expecting a new version of double-conversion (that changes the location of headers when installed), we will have to update fbthrift to match

from fbthrift.

djwatson avatar djwatson commented on May 4, 2024

Closing this, both folly and thrift now expect a system double-conversion library, such as libdouble-conversion-dev from ubuntu 14.04

from fbthrift.

Related Issues (20)

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.