You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
can't build, some dependencies don't get found #14
checking folly/String.h usability... no
checking folly/String.h presence... no
checking for folly/String.h... no
configure: error: Please install folly
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)
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.
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
Activity
djwatson commentedon Apr 29, 2014
What does config.log say? Is the CPPFLAGS correct when it is passed to configure?
doctorseus commentedon Jun 21, 2014
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)
doctorseus commentedon Jun 21, 2014
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
djwatson commentedon Jun 23, 2014
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
djwatson commentedon Sep 17, 2014
Closing this, both folly and thrift now expect a system double-conversion library, such as libdouble-conversion-dev from ubuntu 14.04
thrift/lib/cpp2/test/StreamingTest.cpp: fix SIOF bug and heap-use-aft…
Switch uses of networking headers to <folly/portability/Sockets.h>
Do not manually reset `RocketServerConnection::socket_`
Fix TMemoryBuffer::ensureCanWrite
Add e2e regression test for Cpp2Channel::writeError upgrade-teardown UAF
Support Allocator In Union #14: More tests for copies and moves of cp…