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

Markus Neteler neteler at itc.it
Wed Jan 28 09:46:47 EST 2004


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 following
> >> problem:
> >> in debian/rules the following defines the location of the 5.3 sources:
> GRASS53SRC=../grass-5.3.0
> >> this is correct for me as I have:
> >> $ ls -l
> >> total 20
> >> drwxr-xr-x   23 mlennert mlennert     4096 2004-01-05 15:40 grass
> drwxr-xr-x   21 mlennert mlennert     4096 2004-01-27 16:10 grass51
> lrwxrwxrwx    1 mlennert mlennert        5 2004-01-27 15:24 grass-5.3.0
> ->
> >> grass
> >> lrwxrwxrwx    1 mlennert mlennert        7 2004-01-27 15:24 grass-5.7.0 ->
> >> grass51
> >> However, in grass-5.7.0/include I have a series of dead links pointing to
> >> ../grass-5.3.0/src/include/*.h
> >> This should be ../../grass-5.3.0/src/include/*.h
> >> Where can I change the links that are created ?
> >
> > In grass51/debian/rules you find the configuration. It seems,
> > that
> >  - the link trick above doesn't work with 'make mix' done in
> >    grass51/debian/rules
> >  - something else not right.
> >
> > Did you try to rename the dirs instead of linking?
> 
> I did and it doesn't work either, i.e. the links in grass-5.7.0/include
> are again to ../grass-5.3.0 and not to ../../grass-5.3.0.
> 
> 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'
?

Do you think I should change it to an absolute path?

Markus




More information about the grass-dev mailing list