Feature #1751

Feature #418: === Configuration & Build ===

Envelope task #1602: == CMake configuration, dependences ==

CMake machinery should warn if there are traces of previous BornAgain installation

Added by pospelov almost 3 years ago. Updated about 2 years ago.

Status:BacklogStart date:19 Jan 2017
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

The problem arise when the user tries to compile BornAgain and then runs 'make check' command. If BornAgain was already installed on the system (i.e. appears in LD_LIBRARY_PATH and PYTHONPATH), then "make check" step fails. We have this issue explained in troubleshooting section, but this is not enough. There were few reports on that already.

We can retrieve environment variable and warn the user.

  • Request from Sebastian
* Running the tests after build before install yields failues since a
previous BornAgain version is used to run them.

Not sure about this one:

* I would find a feature useful that removes old versions from my system 

Never saw in make; make install possibility to uninstall previous one.
Package manager should be used for that.

History

#1 Updated by pospelov about 2 years ago

  • Description updated (diff)
  • Status changed from New to Backlog

Also available in: Atom PDF