3dem / relion

Image-processing software for cryo-electron microscopy
https://relion.readthedocs.io/en/latest/
GNU General Public License v2.0
453 stars 201 forks source link

Missing library and conflicts when installing #718

Closed wjnicol closed 3 years ago

wjnicol commented 3 years ago

Hello,

I am trying to install Relion and the $cmake .. command gives out a bunch of warnings of two sorts:

1- It tells me it cannot find TIFF nor PNG (missing TIFF_LIBRARY, PNG_LIBRARY, TIFF_INCLUDE_DIR and PNG_PNG_INCLUDE_DIR)

requirements_relion

I tried installing libtiff-dev and libpng using a package manager called synaptic but the same warnings persist. I wonder if cmake is not looking in the right places for these libraries.

2- I get loads of warnings mentioning the following:

lib_errors

I got these errors after installing the latest libtiff5 and there seems to be some conflict with EMAN2 maybe? I also read on the wiki that I should beware of which MPI version is being compiled. I don't understand what to do here.

I have several other softwares like EMAN2, IMOD and Amira on my ubuntu machine and did not start trying to replace libraries with others by fear of breaking everything.

Thanks for the help.

William J Nicolas

biochem-fan commented 3 years ago

Please stop sourcing EMAN2, IMOD etc in your ~/.bashrc so that you have clean PATH and LD_LIBRARY_PATH. Once you manage to build RELION, you can gradually put them back and see which one conflicts.

Also, please don't use screenshots to show error messages in text. Images are not searchable.

wjnicol commented 3 years ago

Hello,

Thanks for the response. Apologies for the screenshots, first-timer on Github.

How should I source Eman2 and IMOD then for them to work?

biochem-fan commented 3 years ago

Source RELION or EMAN2 only when you use it. This is a basic Linux question. Please look around yourself.