xdrawchem
xdrawchem copied to clipboard
Relocate ring folder from /usr/local/share/xdrawchem/doc
Hi,
Is it possible to relocate the "ring folder" from /usr/local/share/xdrawchem either within the xdrawchem installation or possibly by using a environment variable or a configuration file?
I'd settle for changing the source on my end too, if that's doable.
The issue here is that adding the files to /usr/local/share/xdrawchem (or creating a symlink to it) is not feasible for sites that use a network-share software collection across many workstations. It is also not possible for users that do not have root access on managed workstations.
Cheers, Jason
Hello,
You can fix this by recompiling from source. Edit xdrawchem.pro, set RINGHOME to the desired path, then rebuild with "qmake xdrawchem.pro" followed by "make".
I thought this was configurable by setting an environment variable, but I see that the path is taken only from the RINGHOME define. I'll fix that shortly, and probably also make this settable during installation if I can figure out how to do that with RPM.
Thanks for reporting this - Bryan