Bug? Prefix option not honored in client compilation

Message boards : Questions and problems : Bug? Prefix option not honored in client compilation
Message board moderation

To post messages, you must log in.

AuthorMessage
May A

Send message
Joined: 7 Aug 20
Posts: 1
Message 100232 - Posted: 7 Aug 2020, 5:40:16 UTC

Make install tries to put client service file in the root space, despite giving --prefix=/different/local/path/than/root to the configure script while compiling. IMO this is not the expected behaviour. With --prefix option, the compiled client binaries should be put in the /different/local/path/than/root folder, and it let user start the client manually, than as a system service by putting it in the root space.

$ ./configure --prefix=/different/local/path/than/root

$ make install

/usr/bin/install: cannot create regular file '/usr/lib/systemd/system/boinc-client.service': Permission denied
make[4]: *** [Makefile:562: install-exec-hook] Error 1
make[4]: Leaving directory '/work/boinc/client/scripts'
make[3]: *** [Makefile:503: install-exec-am] Error 2
make[3]: Leaving directory '/work/boinc/client/scripts'
make[2]: *** [Makefile:453: install-am] Error 2
make[2]: Leaving directory '/work/boinc/client/scripts'
make[1]: *** [Makefile:649: install-recursive] Error 1
make[1]: Leaving directory '/work/boinc'
make: *** [Makefile:951: install] Error 2

Is this a known bug or should this get filed as a new bug?
ID: 100232 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15480
Netherlands
Message 100233 - Posted: 7 Aug 2020, 8:27:02 UTC - in response to Message 100232.  
Last modified: 7 Aug 2020, 8:27:46 UTC

I would liked you to put that through to Github immediately, yes. No need to dawdle here. :)
https://github.com/BOINC/boinc/issues
ID: 100233 · Report as offensive

Message boards : Questions and problems : Bug? Prefix option not honored in client compilation

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.