Barnacle Setup Fails
1
0
Entering edit mode
10.5 years ago
BenF • 0

Trying to install Barnacle, from the BC Cancer Agency, on Ubuntu. When I run the setup script it attempts to compile some code and then I get this:

 /barnacle-1.0.0/src/alignment_processing/gap_realigner.cpp:1438:16:
 error: ignoring return value of ‘int mkstemp(char*)’, declared with
 attribute warn_unused_result [-Werror=unused-result] 

cc1plus: all warnings being treated as errors

This seems like a strange problem to have. Why are warnings being treated as errors if these warnings are in there? Is this not a warning that gets flagged on other OS's?

rna-seq • 1.6k views
ADD COMMENT
0
Entering edit mode
10.5 years ago
Neilfws 49k

I think this relates to some rather strict error checking in the Ubuntu compilers, as discussed here and here.

One solution might be:

export CFLAGS="-O2 -U_FORTIFY_SOURCE"

then try again.

ADD COMMENT

Login before adding your answer.

Traffic: 2632 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6