[GRASS5] GRASS57: debian package build : dead symbolic links to 5.3 sources

Markus Neteler neteler at itc.it
Thu Jan 29 09:56:45 EST 2004


On Thu, Jan 29, 2004 at 03:44:18PM +0100, Moritz Lennert wrote:
> Markus Neteler said:
> > On Thu, Jan 29, 2004 at 02:18:03PM +0100, Moritz Lennert wrote:
> >> Markus Neteler said:
> >> > On Wed, Jan 28, 2004 at 11:55:21AM +0100, Moritz Lennert wrote:
> >> >> Markus Neteler said:
> >> >> > On Tue, Jan 27, 2004 at 04:25:10PM +0100, Moritz Lennert wrote:
> >> >> >> Hello,
> >> >> >> I am trying to use dpkg-buildpackage on 5.7. However, I have the
> > [...]
> >> >>
> >> >> I solved the problem by replacing the relative path for
> >> >>
> >> >> #path to GRASS 5.3 source code
> >> >> GRASS53SRC=
> >> >>
> >> >> to an absolute path.
> >> >
> >> > Ah, now I understand: Maybe it depends in which directory you
> >> > launch 'dpkg-buildpackage'
> >> > ?
> >>
> >> I thought that you always have to launch it in the directory in which
> >> there is a debian/ subdirectory ?
> >
> > Yes, at least that is what I was doing (and it worked).
> >
> >> > Do you think I should change it to an absolute path?
> >>
> >> The absolute path will be different for everyone, so I don't know how
> >> this
> >> could be done without manual intervention. Maybe a hint in a
> >> README.Debian
> >> would be better ?
> >
> > Someone else (debian developer) recommended
> >  mkdir /usr/src/grass/
> >  cd /usr/src/grass/
> >
> > to me. This path is now hardcoded in debian/rules.
> 
> I suppose this means that I should either link to the CVS tree from
> /usr/src/grass or actually move the tree to there.

Yes, I think so.

> > If following the instructions, it should be fine now.
> 
> It works, the only disadvantage being that you need root access to use
> /usr/src/grass.

Since I have low experience with Debian, please give advice how to
find a better solution.

Up to now it was "proof of concept" (and we needed an iPAQ version of 5.7).

Markus




More information about the grass-dev mailing list