Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relocate ring folder from /usr/local/share/xdrawchem/doc #6

Open
jasonkey opened this issue May 19, 2017 · 1 comment
Open

Relocate ring folder from /usr/local/share/xdrawchem/doc #6

jasonkey opened this issue May 19, 2017 · 1 comment
Assignees

Comments

@jasonkey
Copy link

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

@bryanherger
Copy link
Owner

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

@bryanherger bryanherger self-assigned this Aug 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants