-
Notifications
You must be signed in to change notification settings - Fork 142
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
The 'install' target fails to install nexus but still succeeds #3720
Comments
I was not able to reproduce this on a RHEL box, so likely we have another FreeBSD difference to fix:
which was the outcome of
This also points to some issues in the Nexus installation - it doesn't copy nexus/lib from the source directories, making the installation incomplete. |
@prckent But this isn't how stage directory is set. On FreeBSD the cmake command doesn't set it:
Then stage directory is set during the |
Thanks Yuri. I needed to learn about DESTDIR and CMake's multiple ways of setting these directories. |
You're welcome. -) |
@yurivict We are having an off-GitHub discussion about this as we also have #3685 to deal with. Discussions are continuing but we are currently leaning towards $installdir/lib or $installdir/nexus/lib for simplicity. A lot of science codes have some variant of this but not the full site-packages route you mention. |
It prints this:
It looks like it attempts to install into
$PREFIX
, not$DESTDIR$PREFIX
, so it would always fail to install into the stage directory.Another bug is that the above error gets lost and install succeeds. This masks the problem.
rev. 0297e87
OS: FreeBSD 13
The text was updated successfully, but these errors were encountered: