[GRASS5] v.out.ascii: Segmentation fault
Markus Neteler
neteler at itc.it
Wed Nov 24 16:18:42 EST 2004
On Wed, Nov 24, 2004 at 01:51:58PM +0100, Jachym Cepicky wrote:
> Hallo,
> it's going to be interesting...
>
> On Wed, Nov 24, 2004 at 11:45:31AM +0100, Markus Neteler wrote:
> > On Wed, Nov 24, 2004 at 09:26:47AM +0100, Jachym Cepicky wrote:
> > >
> > >[....]
> >
> > [...]
> >
> > cd grass57
> > find . -type l
> > # ... should only report the .so links of the libgrass_xxx files.
> >
> > If needed, remove all links to 5.3-CVS ('make mixclean' should do
> > that), then update again from CVS and recompile again.
> > There was a bug in the 'make mixclean' routine which probably
> > left over some links.
>
>
> cd /usr/src/grass
> rm -rf grass51
>
> # should solve this (?)
>
> cvs -z3 co grass51
> cd grasss51
> ./configure --with-grass50=/usr/src/grass/grass/ --with-tcltk-includes=/usr/include/tcl8.4/ --with-postgres-includes=/usr/include/postgresql/ --with-freetype --with-freetype --with-freetype-includes=/usr/include/freetype2/ --with-readline
Mine looks like this:
./configure --with-cxx \
--with-postgres-includes=/usr/include/pgsql \
--with-gdal=/usr/local/bin/gdal-config \
--with-proj \
--with-motif \
--with-glw \
--with-nls \
--with-freetype --with-freetype-includes=/usr/include/freetype2
> make
> # [...]
> Started compilation: St lis 24 12:44:56 CET 2004
> Errors in:
> /usr/src/grass/grass51/raster3d/r3.showdspf
Should be cured by --with-glw (guessing).
> Finished compilation: St lis 24 12:58:17 CET 2004
> checkinstall -D
> #[...]
>
> OK, run grass57 and than
>
>
> >
> > If it still fails, run (in every mapset)
> > v.build.all
> > to rebuild the topology.
>
> GRASS 5.7.cvs:~ >v.rebuild.all
> #[....]
> GRASS 5.7.cvs:~ > v.out.ascii novy
> Segmentation fault
Please try
strace v.out.ascii novy
what's written at the end?
> GRASS 5.7.cvs:~ > d.vect novy
> (no problem)
>
> but there occurres another problem:
>
> GRASS 5.7.cvs:~ > nviz elev=dem
> WARNING: G3d_readWindow: unable to find
> [/home/jachym/grassdata/krtiny/mapserv/WIND3], using default.
> WARNING: G3d_readWindow: unable to find
> [/home/jachym/grassdata/krtiny/PERMANENT/DEFAULT_WIND3].
> FATAL ERROR: G3d_initDefaults: Error reading window
Should have been solved a few minutes ago in CVS by Bob.
> GRASS 5.7.cvs:~ > g3.createwind b=0 t=1000 dres=1
The above fix makes this now unnecessary:
Example:
GRASS 5.7.cvs:~ > nviz family
WARNUNG:G3d_readWindow: unable to find
[/home/neteler/grassdata/ojiya/test/WIND3].
WARNUNG:G3d_readWindow: unable to find
[/home/neteler/grassdata/ojiya/PERMANENT/DEFAULT_WIND3].
Creating DEFAULT_WIND3 <- !!
Creating WIND3 File <- !!
Loading Data
...
Please run
cvs up -dP
again and recompile. We are getting closer :-)
Markus
More information about the grass-dev
mailing list