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

DESTDIR isn't defined #36

Closed
shinji257 opened this issue Aug 30, 2013 · 2 comments
Closed

DESTDIR isn't defined #36

shinji257 opened this issue Aug 30, 2013 · 2 comments

Comments

@shinji257
Copy link

I was attempting to do a user-level install (I don't have root on one of the servers) and I found that some libtool and install-sh entries were not respecting the prefix at all. Checking the makefiles I found they were using DESTDIR but this isn't defined at all. I don't know enough about makefiles to fix this myself in the input files so I'm just letting you know. I can edit the Makefile after the fact though.

@pairish
Copy link

pairish commented Sep 6, 2013

To do a user level install (without root permissions) please follow the instructions at https://www.duosecurity.com/docs/duounix/faq titled 'Can I use login_duo to protect non-root shared accounts, or can I do an install without root privileges?' For a user-level install neither prefix nor DESTDIR should be set.

DESTDIR should not be defined within the Makefile. DESTDIR is an installation option used when doing a staged install (e.g. when building a RPM package). DESTDIR is only used with the install and uninstall targets of the Makefile. An example:

make DESTDIR=/tmp/foo install

The above example will install duo_unix to /tmp/foo/

If you have any questions or need support, please do not hesitate to contact support at https://www.duosecurity.com/support

@pairish pairish closed this as completed Sep 6, 2013
@shinji257
Copy link
Author

Ahh I think I know what I was doing wrong then. Since I had just come from doing a regular install on another server I was doing make install as well where the instructions don't indicate to. 😆

Sorry about the false report.

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