[GRASS-user] cvs install problem
Markus Neteler
neteler at itc.it
Thu Jun 22 10:23:32 EDT 2006
On Thu, Jun 22, 2006 at 04:13:48PM +0200, Francesco Mirabella wrote:
> Ciao Markus and Glynn,
> many thanks for your reply, I tried to run make into the /sqlp and this
> is what I get (only part):
>
> #####################################################################
> btyaccpa.ske:795: error: request for member 'ss' in something not a
> structure or union
...
> francesco at terra11:/usr/local/cvs/grass6/lib/db/sqlp$
> #####################################################################
>
> Can you help??
It seems that you have a unwanted file in that directory:
ls lib/db/sqlp/
alloc.c Makefile test
CVS OBJ.x86_64-unknown-linux-gnu yac.y
description.html print.c y.output
lex.l README y.tab.c
lex.yy.c sql.c y.tab.h
-> btyaccpa.ske isn't there.
Maybe it's generated somehow on your machine, but try to remove
it and compile again.
My favourite search engine tells me that it is something like
"BtYacc: BackTracking Yacc"
Maybe Glynn has more insights how/why such file appears.
I have never seen it.
Markus
> On Thu, Jun 22, 2006 at 02:51:57PM +0100, Glynn Clements wrote:
> >
> > Francesco Mirabella wrote:
> >
> > > I have a problem with cvs installation, maybe is a silly one bua I'va
> > > been struggling with this since yesterday...
> > > I've downloaded, (I am on debian testing), run the ./configure (with
> > > options) and than the make, but I get the following errors:
> > >
> > > #####################################################################
> > > GRASS GIS compilation log
> > > -------------------------
> > > Started compilation: mer giu 21 12:27:42 CEST 2006
> > > --
> > > Errors in:
> > > /usr/local/cvs/grass6/lib/db/sqlp
> > > /usr/local/cvs/grass6/db/drivers/dbf
> > > /usr/local/cvs/grass6/db/drivers/postgres
> > > /usr/local/cvs/grass6/db/drivers/ogr
> > > /usr/local/cvs/grass6/raster/r.mapcalc
> > > --
> > > Finished compilation: mer giu 21 12:40:22 CEST 2006
> > > (In case of errors please change into the directory with error and run
> > > 'make')
> > > #####################################################################
> > >
> > >
> > > I did what it is said, i.e. change into directory and run make and in
> > > the dbf directory I get for example:
> > > #####################################################################
> > > /usr/bin/ld: cannot find -lgrass_sqlp
> > > collect2: ld returned 1 exit status
> > > make: *** [/usr/local/cvs/grass6/dist.i686-pc-linux-gnu/driver/db/dbf]
> >
> > Given the previous error building the sqlp library (lib/db/sqlp), the
> > fact that it can't find the sqlp library isn't particularly
> > surprising.
> >
> > The error messages from trying to build lib/db/sqlp would be more
> > useful.
> >
> > --
> > Glynn Clements <glynn at gclements.plus.com>
>
> --
> **********************************************
> Francesco Mirabella,
> Geologia Strutturale e Geofisica
> Universita' di Perugia,
> Dipartimento di Scienze della Terra,
> Piazza Universita' 1, 06100 Perugia (Italy)
> tel: ++39.(0)75.586.7182
> fax: ++39.(0)75.586.7167
> web: http://www.unipg.it/~mirabell/
> **********************************************
>
--
Markus Neteler <neteler itc it> http://mpa.itc.it/markus/
ITC-irst - Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18 - 38050 Povo (Trento), Italy
More information about the grass-user
mailing list