-
Notifications
You must be signed in to change notification settings - Fork 610
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make fails on Cenots 7.2 #167
Comments
Hey @apepojken, I'm the author of the diff that introduces this issue, I'm investigating the cause right now and will get back to you soon. |
Great! Thank you. |
@apepojken Would you mind updating to the latest commit and trying to build again? I believe the problem should be fixed now. |
I tried building it the same way. Still didn't work. |
@apepojken Thanks for the update, investigating it now. |
Could you try rebuilding and installing the mstch library? I've had issues before that arise from compiling thrift and mstch with different compiler versions resulting in symbol lookup errors. What was the process you used to install mstch? |
I tried rebuilding mstch, this is how I did it: https://github.com/apepojken/Fails/blob/master/mstch-build Once again i updated the link above with the output from make. |
I experience the same issue as apepojken in his last comment. It seems like frontend.so does not have a reference to libfolly.so. $ ldd fbthrift/thrift/.python-local/lib/python/thrift_py-0.9.0-py2.7.egg/thrift_compiler/frontend.so | grep folly | wc -l |
me too |
Thanks for the update. I was hitting this build error as well and had to rebuild and install Folly, which fixed the issue. Could you try rebuilding and installing Folly and trying again? (NB: If you encounter errors related to |
I rebuilt/installed Folly, no errors. Tried rebuilding Thrift but got to the same point as earlier. Did the same thing again but this time rebuilt/installed mstch before Thrift. Still the same result. |
@apepojken Thanks for keeping me posted. I'm fixing some other build errors with fbthrift right now, and I'm trying to reproduce the exact error you're getting. Would you mine telling me your compiler version and boost version? |
Boost 1.60 and gcc version 4.8.5 |
I rebuild everything, and still got the same error as @apepojken last mentioned. I'm with boost 1.54 and gcc 4.8.5 and Centos 7.2. |
I managed to get it compile and link correctly with the attached patch. I am using folly 2016.08.22 tag. |
@zleho Great!It works! |
@zleho's patch worked for me too. Thank you, great job! |
I manually and copying the thrift_compiler directory to my python site_packages. It fixed the error. |
An new error again.
I manually copied the file to solve the problem. Finally, everything is OK. |
This patch from @zleho fixes my issue. |
Trying to build fbthrift on centos 7 fails.
I have copied the output of the commands to: https://github.com/apepojken/Fails/blob/master/fbthrift-fail
I don't get why it's failing. According to ./configure output mstch is working
checking mstch/mstch.hpp usability... yes checking mstch/mstch.hpp presence... yes checking for mstch/mstch.hpp... yes
But all the build errors seems to stem from something called "t_mstch_swift_generator.cc"
Any help apprecieated!
The text was updated successfully, but these errors were encountered: