compilation rosetta in ubuntu 16.04, please help

Member Site Forums Rosetta 3 Rosetta 3 – Build/Install compilation rosetta in ubuntu 16.04, please help

Viewing 2 reply threads
  • Author
    Posts
    • #2762
      Anonymous

        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

      • #13811
        Anonymous

          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)

        • #13817
          Anonymous

             

            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!

        Viewing 2 reply threads
        • You must be logged in to reply to this topic.