[postgis-devel] Postgis-1.3.5 Build Failure Against PG 8.4
Talha Rizwan
talha.rizwan at enterprisedb.com
Wed Feb 18 00:15:05 PST 2009
Postgis-1.3.5 build is failing against PostgreSQL 8.4:
Error - 1:
lwgeom_estimate.c: In function 'build_lwhistogram2d':
lwgeom_estimate.c:376: error: 'textout' undeclared (first use in this
function)
Fix: extern Datum textout (PG_FUNCTION_ARGS);
Error - 2:
lwgeom_estimate.c: In function 'LWGEOM_gist_joinsel':
lwgeom_estimate.c:824: error: 'PlannerInfo' undeclared (first use in this
function)
Fix: #include "utils/selfuncs.h"
Error - 3:
lwgeom_estimate.c: In function 'LWGEOM_gist_joinsel':
lwgeom_estimate.c:899: error: 'STATRELATT' undeclared (first use in this
function)
Fix: #include "utils/syscache.h"
Error - 4:
lwgeom_estimate.c: In function 'LWGEOM_estimated_extent':
lwgeom_estimate.c:2449: error: 'ArrayType' undeclared (first use in this
function)
Fix: #include "utils/guc.h"
-----------------------
Build gets fixed by adding following four lines into the file
lwgeom/lwgeom_estimate.c
#include "utils/selfuncs.h"
#include "utils/syscache.h"
#include "utils/guc.h"
extern Datum textout (PG_FUNCTION_ARGS);
>> PFA "postgis-fix.patch" and do let me know if you find any problem in it.
--
Regards
Talha Bin Rizwan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20090218/2878b9a5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: postgis-fix.patch
Type: text/x-diff
Size: 417 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20090218/2878b9a5/attachment.patch>
More information about the postgis-devel
mailing list