Question: RNAfold installation error
0
gravatar for justa.dk
3.4 years ago by
justa.dk0
justa.dk0 wrote:

Hey guys,

I've been trying to install RNAfold, however without any success. I've tried to follow the instructions t

ar xvvzf ViennaRNA-1.8.4.tar.gz
cd to the Vienna dir
 type   ./configure --prefix=your_path_to_Vienna/install_dir
 make
 make install

However the last two steps were not successful. While typing make, I got this

make[4]: Leaving directory `/home/scripts/justyna/ViennaRNA-1.8.4/RNAforester/g2-0.70'
Making all in src
make[4]: Entering directory `/home/scripts/justyna/ViennaRNA-1.8.4/RNAforester/src'
g++ -DHAVE_CONFIG_H -I. -I..   -I../g2-0.70/include/   -g -O2 -MT rna_profile_alignment.o -MD -MP -MF .deps/rna_profile_alignment.Tpo -c -o rna_profile_alignment.o rna_profile_alignment.cpp
In file included from rna_profile_alignment.cpp:37:0:
rnafuncs.h:42:3: warning: ‘typedef’ was ignored in this declaration [enabled by default]
   };
   ^
mv -f .deps/rna_profile_alignment.Tpo .deps/rna_profile_alignment.Po
g++ -DHAVE_CONFIG_H -I. -I..   -I../g2-0.70/include/   -g -O2 -MT rnafuncs.o -MD -MP -MF .deps/rnafuncs.Tpo -c -o rnafuncs.o rnafuncs.cpp
In file included from rnafuncs.cpp:22:0:
rnafuncs.h:42:3: warning: ‘typedef’ was ignored in this declaration [enabled by default]
   };
   ^
rnafuncs.cpp: In static member function ‘static void RNAFuncs::drawRNAStructure(const string&, const string&, const string&, const string&, const std::list<std::pair<unsigned int, unsigned int> >&, const RNAFuncs::SquigglePlotOptions&)’:
rnafuncs.cpp:341:29: error: ‘sprintf’ was not declared in this scope
  sprintf(buf,"%d",regionNr+1);
                             ^
rnafuncs.cpp:361:29: error: ‘sprintf’ was not declared in this scope
      sprintf(buf,"%c",seq[i]);
                             ^
rnafuncs.cpp: In static member function ‘static void RNAFuncs::drawRNAAlignment(const string&, const string&, const string&, const string&, const string&, const string&, const string&, bool, const RNAFuncs::SquigglePlotOptions&)’:
rnafuncs.cpp:582:32: error: ‘sprintf’ was not declared in this scope
       sprintf(buf,"%d",basenr_x);
                                ^
rnafuncs.cpp:588:32: error: ‘sprintf’ was not declared in this scope
       sprintf(buf,"%d",basenr_y);



make[4]: *** [rnafuncs.o] Error 1
make[4]: Leaving directory `/home/scripts/justyna/ViennaRNA-1.8.4/RNAforester/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/scripts/justyna/ViennaRNA-1.8.4/RNAforester'
make[2]: *** [all] Error 2

Any idea what can be wrong? What can I change?

rnafold • 1.7k views
ADD COMMENTlink modified 21 months ago by zhengchenfei60 • written 3.4 years ago by justa.dk0

what your version of g++ ?

 g++ --version

vs wha'ts the required gcc version for Vienna ?

ADD REPLYlink written 3.4 years ago by Pierre Lindenbaum124k

Thank you for the reply, Pierre! My g++ version : 4.8.4 So far, i can't find any info what version Vienna requires.

What would be your suggestion?

ADD REPLYlink written 3.4 years ago by justa.dk0

Latest g++ is v. 6.1. Can you at least upgrade to 5.x series and see if that helps. Do you have local admin rights? What OS are you using?

ADD REPLYlink written 3.4 years ago by genomax74k

hey justa have you solved this problem yet ?

ADD REPLYlink written 21 months ago by zhengchenfei60

Have you seen How to install the Vienna RNA Package on Ubuntu?

ADD REPLYlink written 20 months ago by h.mon28k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1338 users visited in the last hour