[GRASS5] Re: [GRASSLIST:1116] compiling postgres modules

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 veryclean

Actually 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, 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'

Hi Moritz

mlennert@club.worldonline.be wrote:

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...

Hmmm. Can you remember if you checked out the current source or a tagged
tree (like grass5.0beta8). If you checked out a tagged tree, then try
using

cvs update -PdA grass

The A flag says to update with the sources on the MAIN branch, not on
any tagged branches. Without this flag, you will only get changes to the
tagged branch that you checked out, not the current source.

I'm not sure this is your problem, but I had a similar problem with
this. Hope this helps.

--
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'

Hi Moritz,

On Tue, Nov 14, 2000 at 10:33:24AM +0100, mlennert@club.worldonline.be wrote:

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 ?

The Makefile won't be updated as it is generated from Makefile.in.
The configure might not be updated, if it is already up-to-date.

So, look for the Makefile.in timestamp.

Hope this helps

Markus

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'