Re: Errors when trying to bootstrap Stow

James Jong <[email protected]> Sun, 21 Apr 2013 13:22:26 -0400
Newsgroups gmane.comp.gnu.stow.general
Message-ID <CAD4ivxXfzer0jnwdBdGHck4C+NgO5EXEczqC2pWL-jpXWntd0Q@mail.gmail.com>
--f46d043d673f7934a104dae23339
Content-Type: text/plain; charset=ISO-8859-1

Thank you Adam. The fix works great.

James




On Sun, Apr 14, 2013 at 7:01 PM, Adam Spiers <[email protected]> wrote:

> Hi James,
>
> On Sat, Apr 13, 2013 at 08:17:47PM -0400, James Jong wrote:
> > Hi,
> >
> > I have posted the following question at the Unix StackExchange site (in
> > case you prefer to read it there):
> > http://unix.stackexchange.com/questions/72344/errors-when-using-gnu-stow
> >
> > I am trying to get started with GNU stow without luck. I have defined
> > `STOW_DIR` to point to a personal path:
> >
> >     STOW_DIR=/some/path
> >
> > I then build a package of my choice from the tarball and install it under
> > `STOW_DIR`. In this case, I am building `stow` itself (i.e. I am
> > bootstrapping stow itself into stow, which is something that Stow
> supports):
> >
> >     ./configure --prefix=$STOW_DIR/stow
> >     make
> >     make install prefix=$STOW_DIR/stow
> >
> > And then I build the symlinks:
> >
> >     cd $STOW_DIR
> >     ./stow/bin/stow stow
> >
> > but at this point I get the following error:
> >
> > > `stow: ERROR: The stow directory ../../../../some/path does not contain
> > package stow (No such file or directory)`
>
> It never rains but it pours ... this sounds remarkably similar to this
> issue which was coincidentally reported and fixed in the last 48
> hours:
>
>   http://thread.gmane.org/gmane.comp.gnu.stow.bugs/8820
>
> Does your STOW_DIR involve symlinks?  Please read that thread,
> see if it applies in your case, and let me know.
>
> Thanks!
> Adam
>

--f46d043d673f7934a104dae23339
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Thank you Adam. The fix works great.<br><br></div>Jam=
es<br><div><div><br></div><div><br></div></div></div><div class=3D"gmail_ex=
tra"><br><br><div class=3D"gmail_quote">On Sun, Apr 14, 2013 at 7:01 PM, Ad=
am Spiers <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" targ=
et=3D"_blank">[email protected]</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Hi James,<br>
<div><div class=3D"h5"><br>
On Sat, Apr 13, 2013 at 08:17:47PM -0400, James Jong wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I have posted the following question at the Unix StackExchange site (i=
n<br>
&gt; case you prefer to read it there):<br>
&gt; <a href=3D"http://unix.stackexchange.com/questions/72344/errors-when-u=
sing-gnu-stow" target=3D"_blank">http://unix.stackexchange.com/questions/72=
344/errors-when-using-gnu-stow</a><br>
&gt;<br>
&gt; I am trying to get started with GNU stow without luck. I have defined<=
br>
&gt; `STOW_DIR` to point to a personal path:<br>
&gt;<br>
&gt; =A0 =A0 STOW_DIR=3D/some/path<br>
&gt;<br>
&gt; I then build a package of my choice from the tarball and install it un=
der<br>
&gt; `STOW_DIR`. In this case, I am building `stow` itself (i.e. I am<br>
&gt; bootstrapping stow itself into stow, which is something that Stow supp=
orts):<br>
&gt;<br>
&gt; =A0 =A0 ./configure --prefix=3D$STOW_DIR/stow<br>
&gt; =A0 =A0 make<br>
&gt; =A0 =A0 make install prefix=3D$STOW_DIR/stow<br>
&gt;<br>
&gt; And then I build the symlinks:<br>
&gt;<br>
&gt; =A0 =A0 cd $STOW_DIR<br>
&gt; =A0 =A0 ./stow/bin/stow stow<br>
&gt;<br>
&gt; but at this point I get the following error:<br>
&gt;<br>
&gt; &gt; `stow: ERROR: The stow directory ../../../../some/path does not c=
ontain<br>
&gt; package stow (No such file or directory)`<br>
<br>
</div></div>It never rains but it pours ... this sounds remarkably similar =
to this<br>
issue which was coincidentally reported and fixed in the last 48<br>
hours:<br>
<br>
=A0 <a href=3D"http://thread.gmane.org/gmane.comp.gnu.stow.bugs/8820" targe=
t=3D"_blank">http://thread.gmane.org/gmane.comp.gnu.stow.bugs/8820</a><br>
<br>
Does your STOW_DIR involve symlinks? =A0Please read that thread,<br>
see if it applies in your case, and let me know.<br>
<br>
Thanks!<br>
<span class=3D"HOEnZb"><font color=3D"#888888">Adam<br>
</font></span></blockquote></div><br></div>

--f46d043d673f7934a104dae23339--