[postgis-users] Can't compile Postgis 0.9.0 on Postgress7.4.5.1(Cygwin)

strk at refractions.net strk at refractions.net
Mon Oct 4 04:59:23 PDT 2004


On Mon, Oct 04, 2004 at 06:29:54PM +0700, Januar V. Simarmata wrote:
> Hi Strk,
> 
> I am sure it is an environmental issue, not a code bug.
> Anyway, I've looked at behind the "letter" and found that it is "3C". That's
> different with the ascii code you mentioned before.

3C is hex for \074 octal, which is a '<'.
That's correct!

> Other thing,
> I don't understand very much about preprocessor. How to check this?
> I am using:
> 
> $ gcc --version
> gcc (GCC) 3.3.3 (cygwin special)
> Copyright (C) 2003 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> $ make --version
> GNU Make 3.80
> Copyright (C) 2002  Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE.
> 
> Needs you help,

Edit a file 'test':
#define NUMBER 10
#if NUMBER < 100
less then 100
#else
greater or equal 100
#endif
$ cpp test
see the output.
--strk;

> 
> Jan
> ----- Original Message ----- 
> From: <strk at refractions.net>
> To: "PostGIS Users Discussion" <postgis-users at postgis.refractions.net>
> Sent: Monday, October 04, 2004 2:46 PM
> Subject: Re: [postgis-users] Can't compile Postgis 0.9.0 on
> Postgress7.4.5.1(Cygwin)
> 
> 
> > On Mon, Oct 04, 2004 at 10:34:34AM +0700, Januar V. Simarmata wrote:
> > > I found that it is already '<' character:
> > >
> > > #if GEOS_LAST_INTERFACE < 2
> > >
> > > How to fix it?
> >
> > It's not a bug!
> > My guess was the '<' is not really a '<' but an equivalent-looking
> > char. Two things to check:
> > 1) Is it really a '<' ?
> > 2) Does you preprocessor accept that kind of expression ?
> > --strk;
> >
> > >
> > > cheers,
> > > Jan
> > > ----- Original Message ----- 
> > > From: <strk at refractions.net>
> > > To: "'PostGIS Users Discussion'" <postgis-users at postgis.refractions.net>
> > > Sent: Sunday, October 03, 2004 11:00 PM
> > > Subject: Re: [postgis-users] Can't compile Postgis 0.9.0 on Postgress
> > > 7.4.5.1(Cygwin)
> > >
> > >
> > > > On Sun, Oct 03, 2004 at 09:15:14PM +0700, Januar V. Simarmata wrote:
> > > > > postgis_geos_wrapper.cpp:203:5: invalid character '\206' in #if
> > > > > postgis_geos_wrapper.cpp:245:5: invalid character '\206' in #if
> > > > > postgis_geos_wrapper.cpp:278:5: invalid character '\206' in #if
> > > > > postgis_geos_wrapper.cpp:363:5: invalid character '\206' in #if
> > > > > postgis_geos_wrapper.cpp:399:5: invalid character '\206' in #if
> > > > > postgis_geos_wrapper.cpp:437:5: invalid character '\206' in #if
> > > > > postgis_geos_wrapper.cpp:469:5: invalid character '\206' in #if
> > > > > postgis_geos_wrapper.cpp:533:5: invalid character '\206' in #if
> > > > > postgis_geos_wrapper.cpp:565:5: invalid character '\206' in #if
> > > > > postgis_geos_wrapper.cpp:1519:5: invalid character '\206' in #if
> > > > > postgis_geos_wrapper.cpp:1535:5: invalid character '\206' in #if
> > > > > make: *** [postgis_geos_wrapper.o] Error 1
> > > >
> > > > Is it the '<' char ??
> > > > Can it be something changed it into a weird char ?
> > > > Check those line and make sure the '<' is actually an ascii '<'
> > > > (\074)
> > > >
> > > > --strk;
> > > > _______________________________________________
> > > > postgis-users mailing list
> > > > postgis-users at postgis.refractions.net
> > > > http://postgis.refractions.net/mailman/listinfo/postgis-users
> > > >
> > >
> > > _______________________________________________
> > > postgis-users mailing list
> > > postgis-users at postgis.refractions.net
> > > http://postgis.refractions.net/mailman/listinfo/postgis-users
> > _______________________________________________
> > postgis-users mailing list
> > postgis-users at postgis.refractions.net
> > http://postgis.refractions.net/mailman/listinfo/postgis-users
> >
> 
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users



More information about the postgis-users mailing list