pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Cygwin bug about .exe extension



try setting LOCALBASE=$HOME/.local before each bmake

I've been trying to use `which bmake` to set LOCALBASE
from PATH in ./mk/bsd.prefs.mk but I don't understand
how it is parsed.


On Thu, Mar 23, 2023 at 12:38 AM klu <kludev%gmail.com@localhost> wrote:
No I don't think I changed prefix after bootstrapping. One way to know
for sure is I boostrap again with ~/.local and reproduce the problem.
I'll find some other time to try that, as bootstrapping on this
particular machine takes a while.

On Thu, Mar 23, 2023 at 12:33 AM Jonathan Perkin <jperkin%mnx.io@localhost> wrote:
>
> * On 2023-03-23 at 05:46 GMT, klu wrote:
>
> >I bootstraped pkgsrc on Cygwin:
> >
> >- home is /cygdrive/c/Users/klu
> >- bootstrap prefix is $HOME/.local
>
> For some reason this isn't the bootstrap prefix that is being used to
> install packages, they are using $HOME/pkg.  Did you change the prefix
> after bootstrap or something?
>
> Look at the different targets in these two lines:
>
> >/bin/install -c -s -o klu -g klu -m 755 digest /cygdrive/c/Users/klu/work/pkgsrc/pkgtools/digest/work/.destdir/cygdrive/c/Users/klu/pkg/bin/digest
> >ERROR:         /cygdrive/c/Users/klu/work/pkgsrc/pkgtools/digest/work/.destdir/cygdrive/c/Users/klu/.local/bin/digest
>
> The prefix is hardcoded into tools at bootstrap time, so if you decide
> later that you want to change it you need to remove everything and do a
> fresh bootstrap, and also ensure that you clean out any old work areas
> and packages.
>
> --
> Jonathan Perkin   -   mnx.io   -   pkgsrc.smartos.org
> Open Source Complete Cloud   www.tritondatacenter.com


--
George Georgalis, (415) 894-2710, http://www.galis.org/



Home | Main Index | Thread Index | Old Index