[GRASS5] Re: [Fwd: problems with compilation] - Javier
Markus Neteler
neteler at itc.it
Wed Mar 13 12:20:21 EST 2002
On Wed, Mar 13, 2002 at 11:17:21AM +0000, Glynn Clements wrote:
>
> Markus Neteler wrote:
>
> > [short intro for grass5: Javier has a problem to compile 'gstat'
> > against GRASS 5.0pre3 precompiled binaries which provide libgis.a and
> > libdatetime.a in lib/ directory]
>
> [snip]
>
> > I tried Javier's libgis.a (as shipping with pre3 Linux binaries), and
> > in fact they show above problem. My local version works fine. There
> > are heavy size differences:
> >
> > -rw------- 1 neteler ssi 348600 Mar 13 11:34 libgis.a_javier
> > -rw-r--r-- 1 neteler ssi 4417590 Mar 13 11:38 libgis.a
> >
> > Perhaps because:
> > nm libgis.a_extern | grep G_projection
> > nm: adj_cellhd.o: no symbols
> > nm: align_window.o: no symbols
> > nm: alloc.o: no symbols
> > [...]
> >
> > The symbols are stripped off or whatever? It seems that we have to
> > re-think the generation of libgis.a and libdatetime.a during compilation
> > for the binary package ('bindist' target in Makefile) to avoid that
> > problem in future. Both libraries are also needed for the GRASS/R interface
> > and probably other software. It may be better to automate that than adding
> > another manual sequence into the release_rules.txt file.
> >
> > Suggestions are welcome (or a modification to the 'bindist' target?)
>
> Try adding "-perm +111" to the find command in the "strip" target, so
> that it only strips files with execute permission, e.g.
>
> ${SHELL} -c "cd ${GISBASE} ; find . -type f -perm +111 -exec strip {} \; ; true"
Thanks, Glynn.
I have updated the Makefile.in and also the
documents/release_rules.txt
to reflect the change.
Markus
More information about the grass-dev
mailing list