toolbox icon indicating copy to clipboard operation
toolbox copied to clipboard

Not request root access to install

Open CristianCardosoArellano opened this issue 1 year ago • 1 comments

I would like to add the ability to configure the install location without requesting root/sudo access.

Something like:

./configure --prefix=/usr/local/bin/vapor

CristianCardosoArellano avatar Jul 24 '24 06:07 CristianCardosoArellano

You should be able to do make install /usr/local/bin/vapor

0xTim avatar Jul 25 '24 10:07 0xTim

Not sure if this has changed in the last 7 months, but when I run the proposed make command:

make: *** No rule to make target '/usr/local/bin/vapor'. Stop.

ShonFrazier avatar Feb 22 '25 17:02 ShonFrazier

@fpseverino I might bump this to you - we should definitely try and resurrect #393 and make sure the Makefile is good

0xTim avatar Mar 27 '25 12:03 0xTim

I got it working (inside a swift:6.0-noble container) using

make install DEST=/whatever/you/want

fpseverino avatar Mar 27 '25 13:03 fpseverino

We should probably add a flag to the Makefile so that it doesn't use the sudo command as this won't be desirable in all scenarios

0xTim avatar Mar 27 '25 13:03 0xTim