The recent change to soft links seems to cause problems
also in 5.3. I just received a mail from a user who
downloaded the auto-generated CVS-Linux-binaries from the GRASS site.
Obviously the links are not set correctly (example):
/usr/local/grass53/bin/g.gisenv-> /hardmnt/grass0/neteler/grass_cvs_53exp_pserver_latest/grass-build/dist.i686-pc-linux-gnu/etc/front.end
It seems more work is needed to make soft links possible (with shared
libs). I'll revert the change for now.
Markus
On Mon, Jul 05, 2004 at 03:28:36PM +0200, Markus Neteler wrote:
The recent change to soft links seems to cause problems
also in 5.3. I just received a mail from a user who
downloaded the auto-generated CVS-Linux-binaries from the GRASS site.
Obviously the links are not set correctly (example):
/usr/local/grass53/bin/g.gisenv-> /hardmnt/grass0/neteler/grass_cvs_53exp_pserver_latest/grass-build/dist.i686-pc-linux-gnu/etc/front.end
It seems more work is needed to make soft links possible (with shared
libs). I'll revert the change for now.
OK, maybe it's not related to shared libs.
Probably we should change
src/CMD/generic/MAKELINKS.sh
ln -s $GISBASE/etc/front.end $GISBASE/bin/$i
to use relative links instead of $GISBASE?
Markus
Markus Neteler wrote:
The recent change to soft links seems to cause problems
also in 5.3. I just received a mail from a user who
downloaded the auto-generated CVS-Linux-binaries from the GRASS site.
Obviously the links are not set correctly (example):
/usr/local/grass53/bin/g.gisenv-> /hardmnt/grass0/neteler/grass_cvs_53exp_pserver_latest/grass-build/dist.i686-pc-linux-gnu/etc/front.end
Oops. These should be relative links, i.e.:
/usr/local/grass53/bin/g.gisenv -> ../etc/front.end
Try the attached patch (I don't have time to fix it in CVS right now).
--
Glynn Clements <glynn.clements@virgin.net>
(attachments)
links.diff (668 Bytes)
On Mon, Jul 05, 2004 at 04:32:57PM +0100, Glynn Clements wrote:
Content-Description: message body and .signature
Markus Neteler wrote:
> The recent change to soft links seems to cause problems
> also in 5.3. I just received a mail from a user who
> downloaded the auto-generated CVS-Linux-binaries from the GRASS site.
>
> Obviously the links are not set correctly (example):
>
> /usr/local/grass53/bin/g.gisenv-> /hardmnt/grass0/neteler/grass_cvs_53exp_pserver_latest/grass-build/dist.i686-pc-linux-gnu/etc/front.end
Oops. These should be relative links, i.e.:
/usr/local/grass53/bin/g.gisenv -> ../etc/front.end
Try the attached patch (I don't have time to fix it in CVS right now).
Currently I have no 5.3 which I can use to try.
Anyone else who can confirm that the proposed patch is ok?
Or, we submit it to CVS and see what happens.
Markus
Markus Neteler wrote:
> > The recent change to soft links seems to cause problems
> > also in 5.3. I just received a mail from a user who
> > downloaded the auto-generated CVS-Linux-binaries from the GRASS site.
> >
> > Obviously the links are not set correctly (example):
> >
> > /usr/local/grass53/bin/g.gisenv-> /hardmnt/grass0/neteler/grass_cvs_53exp_pserver_latest/grass-build/dist.i686-pc-linux-gnu/etc/front.end
>
> Oops. These should be relative links, i.e.:
>
> /usr/local/grass53/bin/g.gisenv -> ../etc/front.end
>
> Try the attached patch (I don't have time to fix it in CVS right now).
Currently I have no 5.3 which I can use to try.
Anyone else who can confirm that the proposed patch is ok?
Or, we submit it to CVS and see what happens.
I've committed it to CVS.
--
Glynn Clements <glynn.clements@virgin.net>
On Thu, Jul 08, 2004 at 08:05:49AM +0100, Glynn Clements wrote:
Markus Neteler wrote:
> > > The recent change to soft links seems to cause problems
> > > also in 5.3. I just received a mail from a user who
> > > downloaded the auto-generated CVS-Linux-binaries from the GRASS site.
> > >
> > > Obviously the links are not set correctly (example):
> > >
> > > /usr/local/grass53/bin/g.gisenv-> /hardmnt/grass0/neteler/grass_cvs_53exp_pserver_latest/grass-build/dist.i686-pc-linux-gnu/etc/front.end
> >
> > Oops. These should be relative links, i.e.:
> >
> > /usr/local/grass53/bin/g.gisenv -> ../etc/front.end
> >
> > Try the attached patch (I don't have time to fix it in CVS right now).
>
> Currently I have no 5.3 which I can use to try.
> Anyone else who can confirm that the proposed patch is ok?
>
> Or, we submit it to CVS and see what happens.
I've committed it to CVS.
Thanks. I have committed an equivalent change to 5.7.
Markus