Can't build folly. Have the next folder structure:
/flint/double-conversion/src
/flint/folly/folly/
Where /flint/folly contains readme and license. As in the readme I set up double-conversion with scons, export flags with
export LDFLAGS=-L../../double-conversion/
export CPPFLAGS=-I../../double-conversion/src/
from the second folly directory and have nothing working:
checking double-conversion/double-conversion.h presence... no
checking for double-conversion/double-conversion.h... no
configure: error: Couldn't find double-conversion.h,
Also have tried absolute paths like /home/username/flint/double-conversion/ and this doesn't work too. Any suggestions?
I ran into the same problem while building fbthrift which depends on facebook folly. It took me some time but i have found the problem which leads to build problems with the double-conversion library.
Undo all the changes of this commit and it will build successful. https://github.com/facebook/folly/commit/56e0ec4fe2db38106311b09b88820a99860664f3#diff-0aeb0bf602d25a066eb2233e06c4a981
I hope this will also work for you if you still have this problem.
Adding my "workaround" for using Folly on CentOS 7;
At least that worked for me.
FWIW,
I was able to get past this by creating a symlink "double-conversion" to the src directory. Effectively, I have .../folly/double-conversion/double-conversion . Now it seems to find the .h file (double-conversion/double-conversion.h with CPPFLAGS=-I...folly/double-conversion)
Unfortunately, I'm having as many troubles on the next step....finding the double-conversion library.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.