Skip to content

can't build, some dependencies don't get found #14

Closed

Description

@gnydick

while running deps.sh I get the following issues. The files do exist, not sure why they're not getting found

...
checking double-conversion/double-conversion.h usability... no
checking double-conversion/double-conversion.h presence... no
checking for double-conversion/double-conversion.h... no
configure: error: Couldn't find double-conversion.h, please download from http://code.google.com/p/double-conversion/
make: *** No targets specified and no makefile found. Stop.

...

checking folly/String.h usability... no
checking folly/String.h presence... no
checking for folly/String.h... no
configure: error: Please install folly

Activity

  1. djwatson commented on Apr 29, 2014

    @djwatson

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

  2. doctorseus commented on Jun 21, 2014

    @doctorseus

    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)

  3. doctorseus commented on Jun 21, 2014

    @doctorseus

    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.

    meta/folly@56e0ec4#diff-0aeb0bf602d25a066eb2233e06c4a981

  4. djwatson commented on Jun 23, 2014

    @djwatson

    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

  5. djwatson commented on Sep 17, 2014

    @djwatson

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

  6. added a commit that references this issue on Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions