MDAnalysis / UserGuide

User Guide for MDAnalysis
https://userguide.mdanalysis.org
22 stars 31 forks source link

Add troubleshooting info to contribution docs #302

Closed ALescoulie closed 4 months ago

ALescoulie commented 11 months ago

The last few times I've tried setting up an MDAnalysis development environment on Linux I've had compiler errors when using pip to build the package due to not having build-essentials installed, I figured I'd make a quick edit so others have an easier time troubleshooting.

IAlibay commented 11 months ago

That's odd, you really shouldn't need to use build essentials. How are you building MDAnalysis? (these types of problems should have gone away with pip install builds).

edit: I guess this would happen anyways if you don't have gcc / g++ installed.

ALescoulie commented 11 months ago

I was following the instruction on the contributing page and it failed with compiler errors at pip install -e . using a fedora dev container that didn't come with most default packages, I think I mostly needed the compilers installed and those are packaged with build-essentials, the specific error was cc1plus. I fixed it by installing g++.

That might have just been that when I installed gcc I didn't get the C++ stuff.

RMeli commented 4 months ago

That might have just been that when I installed gcc I didn't get the C++ stuff.

Closing since it seems to be an issue with a system/compiler installation issue. @ALescoulie please feel free to re-open, if needed.