[postgis-users] Compilation problem: 1.1.4 with PostgreSQL 7.3
Fran Boon
flavour at partyvibe.com
Tue Oct 10 05:32:45 PDT 2006
Antonio Grassi wrote:
> Hi. I had the same problem some days ago with and old version of gcc. I
> changed to a newer version (3.3.5) and everything worked ok. If you
> don't want to upgrade, look at the source code of lwgeom_gist.c, you
> will see a couple of preprocessor directives around those lines, to
> differenciate between version >= 8.2 and < 8.2 of postgres, with an if,
> else and endif. Just remove those directives and leave the code in the
> section corresponding to your case (<8.2)
Great, that works a treat :)
- line 547
I don't know enough to be able to submit a diff which allows both >82 &
<82 to work seamlessly...
> After changing that, I think the same thing occurs again somewhere else
> in lwgeom_gist.c. Do the same there.
Yes, line 561
Many thanks,
Fran.
More information about the postgis-users
mailing list