gtDMMB / RNAStructViz

Visualization, comparison, and analysis of RNA secondary structures via a cross-platform GUI
https://github.com/gtDMMB/RNAStructViz/wiki
GNU General Public License v3.0
17 stars 5 forks source link

Issue when trying to get the last version (the previous version was 1.6) #86

Closed afafbioinfo closed 4 years ago

afafbioinfo commented 4 years ago

after the pull command, when launching: make clean && make && ./RNAStructViz --about I got the error: In file included from ConfigOptions.h:78:0, from AutoloadIndicatorButton.cpp:6: RNACUtils.cpp:210:10: fatal error: boost/filesystem.hpp: No such file or directory

include <boost/filesystem.hpp>

      ^~~~~~~~~~~~~~~~~~~~~~

compilation terminated. Makefile:263: recipe for target 'BuildObjects/AutoloadIndicatorButton.o' failed make[1]: *** [BuildObjects/AutoloadIndicatorButton.o] Error 1

Wondering how to deal with this issue? thank you,

maxieds commented 4 years ago

@afafbioinfo It appears that you do not have the boost::filesystem library available to you at compile time. You will need to install it. The discussion in this WIKI link suggests that it shouldn't be that bad to get the full arsenal of boost::* sublibraries installed from source. If you have a Debian-based Linux (e.g., Ubuntu) available handy with sudo, try running the following to install the necessary dependencies:

$ sudo apt-get install libboost-all-dev

Note that if the next item in line is the OpenSSL library dependency, you can similarly install that by running:

$ sudo apt-get install libssl-dev

These packages are documented in the WIKI here.

Note that it is not completely absurd to include a separate filesystem traversal library. From my readings about it, the boost::filesystem interface will eventually get incorporated into the new C++ standard as std::filesystem, which should make long-term maintenance of the code even easier (for now it's marked as experimental in recent g++ distributions, completely broken on Mac, sadly).

maxieds commented 4 years ago

@afafbioinfo Make sure to run git pull one more time before you recompile. I finally noticed a typo that wasn't present on my ancient Ubuntu box before...

afafbioinfo commented 4 years ago

I think it a connection issue to fr.archive.ubuntu.com:80, this is what I get when I run sudo apt-get install libboost-all-dev:

Reading package lists... Done Building dependency tree
Reading state information... Done The following additional packages will be installed: ibverbs-providers libboost-atomic-dev libboost-atomic1.65-dev libboost-atomic1.65.1 libboost-chrono-dev libboost-chrono1.65-dev libboost-chrono1.65.1 libboost-container-dev libboost-container1.65-dev libboost-container1.65.1 libboost-context-dev libboost-context1.65-dev libboost-context1.65.1 libboost-coroutine-dev libboost-coroutine1.65-dev libboost-coroutine1.65.1 libboost-date-time-dev libboost-date-time1.65-dev libboost-dev libboost-exception-dev libboost-exception1.65-dev libboost-fiber-dev libboost-fiber1.65-dev libboost-fiber1.65.1 libboost-filesystem-dev libboost-filesystem1.65-dev libboost-graph-dev libboost-graph-parallel-dev libboost-graph-parallel1.65-dev libboost-graph-parallel1.65.1 libboost-graph1.65-dev libboost-graph1.65.1 libboost-iostreams-dev libboost-iostreams1.65-dev libboost-locale-dev libboost-locale1.65-dev libboost-log-dev libboost-log1.65-dev libboost-log1.65.1 libboost-math-dev libboost-math1.65-dev libboost-math1.65.1 libboost-mpi-dev libboost-mpi-python-dev libboost-mpi-python1.65-dev libboost-mpi-python1.65.1 libboost-mpi1.65-dev libboost-mpi1.65.1 libboost-numpy-dev libboost-numpy1.65-dev libboost-numpy1.65.1 libboost-program-options-dev libboost-program-options1.65-dev libboost-program-options1.65.1 libboost-python-dev libboost-python1.65-dev libboost-python1.65.1 libboost-random-dev libboost-random1.65-dev libboost-random1.65.1 libboost-regex-dev libboost-regex1.65-dev libboost-regex1.65.1 libboost-serialization-dev libboost-serialization1.65-dev libboost-serialization1.65.1 libboost-signals-dev libboost-signals1.65-dev libboost-signals1.65.1 libboost-stacktrace-dev libboost-stacktrace1.65-dev libboost-stacktrace1.65.1 libboost-system-dev libboost-system1.65-dev libboost-test-dev libboost-test1.65-dev libboost-test1.65.1 libboost-thread-dev libboost-thread1.65-dev libboost-timer-dev libboost-timer1.65-dev libboost-timer1.65.1 libboost-tools-dev libboost-type-erasure-dev libboost-type-erasure1.65-dev libboost-type-erasure1.65.1 libboost-wave-dev libboost-wave1.65-dev libboost-wave1.65.1 libboost1.65-dev libboost1.65-tools-dev libfabric1 libhwloc-dev libhwloc-plugins libhwloc5 libibverbs-dev libibverbs1 libnl-route-3-200 libnuma-dev libnuma1 libopenmpi-dev libopenmpi2 libpsm-infinipath1 librdmacm1 mpi-default-bin mpi-default-dev ocl-icd-libopencl1 openmpi-bin openmpi-common Suggested packages: libboost-doc libboost1.65-doc gccxml libmpfrc++-dev libntl-dev xsltproc doxygen docbook-xml docbook-xsl default-jdk fop libhwloc-contrib-plugins openmpi-doc The following NEW packages will be installed: ibverbs-providers libboost-all-dev libboost-atomic-dev libboost-atomic1.65-dev libboost-atomic1.65.1 libboost-chrono-dev libboost-chrono1.65-dev libboost-chrono1.65.1 libboost-container-dev libboost-container1.65-dev libboost-container1.65.1 libboost-context-dev libboost-context1.65-dev libboost-context1.65.1 libboost-coroutine-dev libboost-coroutine1.65-dev libboost-coroutine1.65.1 libboost-date-time-dev libboost-date-time1.65-dev libboost-dev libboost-exception-dev libboost-exception1.65-dev libboost-fiber-dev libboost-fiber1.65-dev libboost-fiber1.65.1 libboost-filesystem-dev libboost-filesystem1.65-dev libboost-graph-dev libboost-graph-parallel-dev libboost-graph-parallel1.65-dev libboost-graph-parallel1.65.1 libboost-graph1.65-dev libboost-graph1.65.1 libboost-iostreams-dev libboost-iostreams1.65-dev libboost-locale-dev libboost-locale1.65-dev libboost-log-dev libboost-log1.65-dev libboost-log1.65.1 libboost-math-dev libboost-math1.65-dev libboost-math1.65.1 libboost-mpi-dev libboost-mpi-python-dev libboost-mpi-python1.65-dev libboost-mpi-python1.65.1 libboost-mpi1.65-dev libboost-mpi1.65.1 libboost-numpy-dev libboost-numpy1.65-dev libboost-numpy1.65.1 libboost-program-options-dev libboost-program-options1.65-dev libboost-program-options1.65.1 libboost-python-dev libboost-python1.65-dev libboost-python1.65.1 libboost-random-dev libboost-random1.65-dev libboost-random1.65.1 libboost-regex-dev libboost-regex1.65-dev libboost-regex1.65.1 libboost-serialization-dev libboost-serialization1.65-dev libboost-serialization1.65.1 libboost-signals-dev libboost-signals1.65-dev libboost-signals1.65.1 libboost-stacktrace-dev libboost-stacktrace1.65-dev libboost-stacktrace1.65.1 libboost-system-dev libboost-system1.65-dev libboost-test-dev libboost-test1.65-dev libboost-test1.65.1 libboost-thread-dev libboost-thread1.65-dev libboost-timer-dev libboost-timer1.65-dev libboost-timer1.65.1 libboost-tools-dev libboost-type-erasure-dev libboost-type-erasure1.65-dev libboost-type-erasure1.65.1 libboost-wave-dev libboost-wave1.65-dev libboost-wave1.65.1 libboost1.65-dev libboost1.65-tools-dev libfabric1 libhwloc-dev libhwloc-plugins libhwloc5 libibverbs-dev libibverbs1 libnl-route-3-200 libnuma-dev libopenmpi-dev libopenmpi2 libpsm-infinipath1 librdmacm1 mpi-default-bin mpi-default-dev ocl-icd-libopencl1 openmpi-bin openmpi-common The following packages will be upgraded: libnuma1 1 upgraded, 109 newly installed, 0 to remove and 339 not upgraded. Need to get 7 313 kB/19,1 MB of archives. After this operation, 200 MB of additional disk space will be used. Do you want to continue? [Y/n] Y Get:1 http://fr.archive.ubuntu.com/ubuntu bionic/main amd64 libboost-dev amd64 1.65.1.0ubuntu1 [3 128 B] Err:2 http://fr.archive.ubuntu.com/ubuntu bionic/main amd64 libboost1.65-tools-dev amd64 1.65.1+dfsg-0ubuntu5 Could not connect to fr.archive.ubuntu.com:80 (194.158.119.186), connection timed out [IP: 194.158.119.186 80]

maxieds commented 4 years ago

@afafbioinfo Yes, it looks like a connection issue. I was having trouble with slow Ubuntu downloads this morning over the GT wifi. The solution for me was to plug in a wired ethernet cable. Otherwise, just try back later?

maxieds commented 4 years ago

@afafbioinfo Did you have any luck reinstalling today?

afafbioinfo commented 4 years ago

Yes, but I got another issue, that was ==636==ASan runtime doesnt come first in initially library list. I fixed it by exporting the executable : $ export LD_PRELOAD=RNAStructviz

Now it works perfectly, I appreciate your help!

Le mer. 29 janv. 2020 à 17:04, Maxie D. Schmidt notifications@github.com a écrit :

@afafbioinfo https://github.com/afafbioinfo Did you have any luck reinstalling today?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gtDMMB/RNAStructViz/issues/86?email_source=notifications&email_token=AFO7H5U253OEE6UXQL2VTB3RAH4PLA5CNFSM4KMVLBW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKI5FYA#issuecomment-579982048, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFO7H5QJN65MB7A5XWHHYEDRAH4PLANCNFSM4KMVLBWQ .

-- Afaf Saaidi, Ph.D. LIX http://www.lix.polytechnique.fr/Labo/Afaf.Saaidi/