RNAfold installation error
0
0
Entering edit mode
7.8 years ago
justa.dk • 0

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 • 3.7k views
ADD COMMENT
0
Entering edit mode

what your version of g++ ?

 g++ --version

vs wha'ts the required gcc version for Vienna ?

ADD REPLY
0
Entering edit mode

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 REPLY
0
Entering edit mode

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 REPLY
0
Entering edit mode

hey justa have you solved this problem yet ?

ADD REPLY
0
Entering edit mode
ADD REPLY
0
Entering edit mode

It didn't work for me

ADD REPLY

Login before adding your answer.

Traffic: 3373 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