I'm getting errors when I run 'make' for rmblast-1.2-ncbi-blast-2.2.23+-src. This is the version of RMBlast modified for use with RepeatMasker from their site. I had no problem installing it in Ubuntu on my laptop (64-bit), but am now struggling with it on my Desktop (32-bit, Ubuntu 11.10). The configure runs successfully, but here are the errors I get after running 'make':
/usr/local/rmblast-1.2-ncbi-blast-2.2.23+-src/c++/include/dbapi/driver/impl/dbapi_driver_utils.hpp:234:32: error: reference ‘m_Conn’ cannot be declared ‘mutable’ [-fpermissive]
make[8]: *** [public.o] Error 1
make[8]: Leaving directory `/usr/local/rmblast-1.2-ncbi-blast-2.2.23+-src/c++/GCC461-ReleaseMT/build/dbapi/driver'
make[8]: Entering directory `/usr/local/rmblast-1.2-ncbi-blast-2.2.23+-src/c++/GCC461-ReleaseMT/build/dbapi/driver'
rm -f libdbapi_driver.a .dbapi_driver.dep .libdbapi_driver.a.stamp
if [ '/bin/bash /usr/local/rmblast-1.2-ncbi-blast-2.2.23+-src/c++/scripts/common/impl/if_diff.sh "ln -f"' != '@:' -a -d /usr/local/rmblast-1.2-ncbi-blast-2.2.23+-src/c++/GCC461-ReleaseMT/status -a -w /usr/local/rmblast-1.2-ncbi-blast-2.2.23+-src/c++/GCC461-ReleaseMT/status -a /usr/local/rmblast-1.2-ncbi-blast-2.2.23+-src/c++/src/dbapi/driver != . ]; then \
rm -f /usr/local/rmblast-1.2-ncbi-blast-2.2.23+-src/c++/GCC461-ReleaseMT/lib/libdbapi_driver.a /usr/local/rmblast-1.2-ncbi-blast-2.2.23+-src/c++/GCC461-ReleaseMT/status/.dbapi_driver.dep \
/usr/local/rmblast-1.2-ncbi-blast-2.2.23+-src/c++/GCC461-ReleaseMT/lib/libdbapi_driver-static.a /usr/local/rmblast-1.2-ncbi-blast-2.2.23+-src/c++/GCC461-ReleaseMT/status/.dbapi_driver-static.dep; \
fi
rm -f libdbapi_driver-dll.so .dbapi_driver-dll.dep .libdbapi_driver-dll.so.stamp
if [ '/bin/bash /usr/local/rmblast-1.2-ncbi-blast-2.2.23+-src/c++/scripts/common/impl/if_diff.sh "ln -f"' != '@:' -a -d /usr/local/rmblast-1.2-ncbi-blast-2.2.23+-src/c++/GCC461-ReleaseMT/status -a -w /usr/local/rmblast-1.2-ncbi-blast-2.2.23+-src/c++/GCC461-ReleaseMT/status -a /usr/local/rmblast-1.2-ncbi-blast-2.2.23+-src/c++/src/dbapi/driver != . ]; then \
rm -f /usr/local/rmblast-1.2-ncbi-blast-2.2.23+-src/c++/GCC461-ReleaseMT/lib/libdbapi_driver-dll.so /usr/local/rmblast-1.2-ncbi-blast-2.2.23+-src/c++/GCC461-ReleaseMT/lib/libdbapi_driver-dll.so \
/usr/local/rmblast-1.2-ncbi-blast-2.2.23+-src/c++/GCC461-ReleaseMT/status/.dbapi_driver-dll.dep /usr/local/rmblast-1.2-ncbi-blast-2.2.23+-src/c++/GCC461-ReleaseMT/status/.dbapi_driver-dll.dep; \
[ '@# ' = '@# ' ] || \
rm -f /usr/local/rmblast-1.2-ncbi-blast-2.2.23+-src/c++/GCC461-ReleaseMT/lib/libdbapi_driver-dll.so /usr/local/rmblast-1.2-ncbi-blast-2.2.23+-src/c++/GCC461-ReleaseMT/lib/libdbapi_driver-dll.so; \
fi
make[8]: Leaving directory `/usr/local/rmblast-1.2-ncbi-blast-2.2.23+-src/c++/GCC461-ReleaseMT/build/dbapi/driver'
make[7]: *** [all.nonusr] Error 2
make[7]: Leaving directory `/usr/local/rmblast-1.2-ncbi-blast-2.2.23+-src/c++/GCC461-ReleaseMT/build/dbapi/driver'
make[6]: *** [all.real] Error 2
make[6]: Leaving directory `/usr/local/rmblast-1.2-ncbi-blast-2.2.23+-src/c++/GCC461-ReleaseMT/build/dbapi/driver'
make[5]: *** [all_r.needs-reqs] Error 2
make[5]: Leaving directory `/usr/local/rmblast-1.2-ncbi-blast-2.2.23+-src/c++/GCC461-ReleaseMT/build/dbapi/driver'
make[4]: *** [all_r.real] Error 5
make[4]: Leaving directory `/usr/local/rmblast-1.2-ncbi-blast-2.2.23+-src/c++/GCC461-ReleaseMT/build/dbapi'
make[3]: *** [all_r.needs-reqs] Error 2
make[3]: Leaving directory `/usr/local/rmblast-1.2-ncbi-blast-2.2.23+-src/c++/GCC461-ReleaseMT/build/dbapi'
make[2]: *** [all_r.real] Error 5
make[2]: Leaving directory `/usr/local/rmblast-1.2-ncbi-blast-2.2.23+-src/c++/GCC461-ReleaseMT/build'
make[1]: *** [all_r.needs-reqs] Error 2
make[1]: Leaving directory `/usr/local/rmblast-1.2-ncbi-blast-2.2.23+-src/c++/GCC461-ReleaseMT/build'
make: *** [all] Error 2
Another site suggested the following fix:
make LDFLAGS="-Wl,--no-as-needed"
I tried that with the same results. Any further help would be greatly appreciated.
this is probably not the right place to be asking this type of question but I would make sure that the version of gcc is the same for laptop and desktop and to wrap the error output in code tags so it is easier to read
From the documentation: "Please visit www.repeatmasker.org to submit questions or feedback for us." Probably best to provide a step by step account of your errors to the authors.
Hello,
Sorry to be reopening this thread after 7 years! But I am facing issues trying to install rpsblast and rpsproc for interproscan 5. I have followed the instructions around "Compiling Binaries" in the Interproscan handbook for rpsblast and rpsproc. I am able to get to the configure step, but make fails everytime. Here are some details.
I have followed the following instructions:
I am using GCC 4.9.4 and running Red Hat Enterprise Linux Server release 6.9 (Santiago)
The installation works fine till the "configure" step. Some of the last lines are as follows
However the next "make" step fails. Below is the last lines of the error
I think this might have something to do with the version of RHEL (6.9) I am using. But I have changed the GCC versions to 4.9.4 and also to 5.5.0. Recommended is any version above 4.7.0. But it fails both times with the same error. I am trying to troubleshoot this for the past 2 weeks, but not getting anywhere. Need help and advice fixing this. I have tried the
and
options as suggested in some blogs. Unsuccessful. I have not tried both together though. In any case I need help
Thanks Abhijit
As indicated in the compiling binaries page, you probably need to get the old blast (v. 2.2.19) and compile that. Interproscan many not be compatible with the latest blast+.