-
Notifications
You must be signed in to change notification settings - Fork 116
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
fails to compile with boost 1.56+ #3
Comments
I also downgraded boost to 1.56.0 which didn't work either. |
On another server I still have a compiled and working cufflinks installation with boost 1.55. This leads me to suspect that the relevant change had been between boost 1.55 and 1.56. BTW everything has been tried with cufflinks 2.2.1. |
Do you still get this error with the HEAD of the develop branch? We've had some issues with Clang and 1.56+, as have a number of other projects. I probably won't get to this until Macports releases their 1.57 portfile, as it seemed like there were a bunch of problems in 1.56, some of which are worked out in 1.57. |
Still the same errors with both gcc and clang for HEAD of develop branch. |
I can confirm this issue, same here. |
I see this issue with boost 1.57 installed on Mac using Homebrew. |
This compilation failure results from a bug in Boost serialization in 1.56+ (https://svn.boost.org/trac/boost/ticket/10488). Although there appears to be some disagreement about whether this truly is considered a bug, Cufflinks appears to be one of many programs affected by the shared_ptr serialization policy change. Working around this in Cufflinks looks like it requires that I remove const qualifiers on numerous shared_ptrs, which I'm not willing to do. This will remain open for the time being. Users should stick to Boost 1.55 and lower. |
note this is corrected in the boost master branch and will appear in the next boost release |
:D Thanks @robertramey |
I tested with boost 1.58.0 beta 1, released March 16, 2015, and the problem remains. |
Can this be mentioned in http://cole-trapnell-lab.github.io/cufflinks/getting_started/ ? It would save people some time! And also that samtools needs to be <= 0.1.19 . |
I tested with boost 1.58.0, released April 17, 2015, and the problem remains. |
Apparently the fix didn't take the first time around. Looks like we'll have to wait for 1.59 for the official fix in Boost::Serialization. I will update the getting started page for those who want to build from source. |
1.59 is in beta, did anyone try this already? |
Just tested on gentoo_prefix with boost=1.59, and it works. |
Build with boost rather than homebrew/versions/boost155 See cole-trapnell-lab/cufflinks#3 (comment) Add desc
Confirmed - I can also build on OS X via macports' boost 1.59. |
I am on an up to date Arch Linux with boost 1.57.0. cufflinks compilation fails at target
abundances.o
with the following errors (this is the output of clang++ which I findnicervisually better than g++):I presume errors like these may occur in other places as well.
The text was updated successfully, but these errors were encountered: