I have the feeling there is a problem with my cvs. I've update through cvs
update -dP, but the Makefile and the configure file had not been updated. What
am I doing wrong ?
With the configure file I got directly from the cvs-server everything seems to
work alright.
But now I wonder wether all my other files have been updated or not...
Moritz
Justin Hickey wrote:
>
> Hi Moritz
>
> mlennert@club.worldonline.be wrote:
> > #################################################################
> > /usr/local/grass/src.garden/grass.postgresql/d.rast.pg
> > make -f OBJ.i686-linux-elf/make.rules
> >
> > make[1]: Entering directory >`/usr/local/grass/src.garden/grass.postgresql/d.ras
> > t.pg'
> > gcc -g -O2 @PQINCPATH@ -I/usr/local/grass/src/include -c main.c -o
> > OBJ.i686-linux-elf/main.o
> > gcc: cannot specify -o with -c or -S and multiple compilations
> > make[1]: *** [OBJ.i686-linux-elf/main.o] Error 1
> > make[1]: Leaving directory >`/usr/local/grass/src.garden/grass.postgresql/d.rast
> > .pg'
> > make: *** [all] Error 2
>
> The problem is that the @PQINCPATH@ is not supposed to be there. gcc is
> interpreting it as a source file thus the error concerning multiple
> compilations. This @PQINCPATH@ thing is from src/CMD/head/head.in and is
> supposed to be converted by the configure script to point to the
> postgres include directory. For some reason it wasn't and I have no idea
> why. Does anyone know how this could happen?
>
> My only suggestion is to do
>
> make verycleanActually now that you have updated your Makefile.in this should be
make distclean
Sorry about that.
> ./configure
>
> and then check the head.i686-linux-elf file for your system to see if
> everything was converted to something (even blanks).
>
> Sorry I wasn't much help.
>
> --
> Sincerely,
>
> Jazzman (a.k.a. Justin Hickey) e-mail: jhickey@hpcc.nectec.or.th
> High Performance Computing Center
> National Electronics and Computer Technology Center (NECTEC)
> Bangkok, Thailand
> ==================================================================
> People who think they know everything are very irritating to those
> of us who do. ---Anonymous
>
> Jazz and Trek Rule!!!
> ==================================================================
>
> ----------------------------------------
> If you want to unsubscribe from GRASS Development Team mailing list write to:
> minordomo@geog.uni-hannover.de with
> subject 'unsubscribe grass5'--
Sincerely,Jazzman (a.k.a. Justin Hickey) e-mail: jhickey@hpcc.nectec.or.th
High Performance Computing Center
National Electronics and Computer Technology Center (NECTEC)
Bangkok, ThailandPeople who think they know everything are very irritating to those
of us who do. ---AnonymousJazz and Trek Rule!!!
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'