On Mon, Dec 9, 2019 at 4:21 PM Justin Phelps <[email protected]> wrote:

> I'm working to build a deb package from source, but I'm having trouble
> redirecting the "make install" command to the package location.
>
> I attempted to use --prefix, but that broke the init.d script that was
> being written.
>

Broke how?

--prefix (provided to the configure script prior to running "make") is the
correct way. That option controls the base directory for all installed
components, including guacd (which would be installed to PREFIX/sbin). The
install location of guacd is dynamically substituted into the init script
as part of the build:

https://github.com/apache/guacamole-server/blob/c97b8f287eaf756504edd9559d95ba6568b12bb1/src/guacd/Makefile.am#L82-L84
https://github.com/apache/guacamole-server/blob/c97b8f287eaf756504edd9559d95ba6568b12bb1/src/guacd/init.d/guacd.in#L37

- Mike

Reply via email to