#831: Cactus FAQ is out of date -----------------------------+---------------------------------------------- Reporter: hinder | Owner: dcastl2 Type: defect | Status: accepted Priority: major | Milestone: ET_2012_11 Component: Cactus website | Version: Resolution: | Keywords: -----------------------------+----------------------------------------------
Comment (by rhaas):
I would like to suggest a FAQ item concerning the interaction of environment variables and make. Something along the lines:
----
The compilation aborts with "error: /usr/lib/lib: No such file or directory". What is happening?
It is possible that there is an unintended interaction between options in your option list and environment variables. When using ExternalLibraries thorns, you should check that you do not have any environment variables <LIBRARY_NAME>_DIR set (eg. HDF5_DIR), since they will override settings in the option list. A typical example is "HDF5_DIR=/usr/lib" while Cactus would expect "HDF5_DIR=/usr". Most likely the options is set in your shell initialization files (.bashrc, .cshrc, .profile etc). To remove it permanently you will have to edit those files. For an ongoing session (or if the variable is set by the sysadmin) you can use "unset HDF5_DIR".
---- It might also be a good idea to regularly post the FAQ URL on the mailing list (say once a month). That might also serve as an incentive to keep it up to date.