You are here

compilation rosetta in ubuntu 16.04, please help

3 posts / 0 new
Last post
compilation rosetta in ubuntu 16.04, please help
#1

Anyone use unbuntu 16.04?

I installed  gcc-6 , g++6,  scons-2.51.  all install correctly. as I checked -- version all correct.

 

option1, when I compile the Roseta source code ( Version 3.8)

$ ./scons.py -j 4 mode=release bin

The program runs long time. but at the last I got

usr/bin/ld: cannot find -lz

collect2: error: ld returned 1 exit status

scons: *** [build/src/release/linux/4.4/64/x86/gcc/6.3/default/libObjexxFCL.so] Error 1

scons: building terminated because of errors.

 

I use option 2 and downloaded Rosetta Linux binary version 

$ antibody.static.linuxgccrelease -fasta 1a2y_antibody.fasta | tee grafting.log

I got :

[ERROR] EXCN_utility_exit has been thrown from: src/protocols/antibody/grafting/regex_based_cdr_detection.cc line: 75
ERROR: ERROR: Your compiler does not have full support for C++11 regex, and therefore can't support RegEx_based_CDR_Detector/antibody grafting.

 

Please help

Category: 
Post Situation: 
Sun, 2017-10-15 20:21
jessye

You need to install the zlib development package. For Ubuntu the command is something like `sudo apt-get install zlib1g-dev` (https://www.rosettacommons.org/docs/latest/build_documentation/Build-Documentation#setting-up-rosetta-3_dependencies-troubleshooting)

Mon, 2017-10-16 09:31
rmoretti

 

Thanks 

I installed : `sudo apt-get install zlib1g-dev`

I type again :  $ ./scons.py -j 4 mode=release bin  get clang error

however,

$ ./scons.py -j 4 mode=release bin cxx=clang 

compliation seems works!

Mon, 2017-10-16 21:06
jessye