Opened 13 years ago
Closed 13 years ago
#452 closed defect (worksforme)
Build with PHP fails on OSX 10.6.7
Reported by: | kentr | Owned by: | strk |
---|---|---|---|
Priority: | major | Milestone: | 3.3.1 |
Component: | PHP | Version: | 3.3.0 |
Severity: | Critical | Keywords: | |
Cc: |
Description
Glad to break this up into separate tickets if needed. I'm not familiar enough with building C / C++ to have any clue what's wrong here or if it's my own error...
This is with a custom-installed php.
Output from make:
geos.c: In function 'noticeHandler': geos.c:83: error: 'tsrm_ls' undeclared (first use in this function) geos.c:83: error: (Each undeclared identifier is reported only once geos.c:83: error: for each function it appears in.) geos.c: In function 'errorHandler': geos.c:95: error: expected expression before ',' token geos.c:95: error: 'tsrm_ls' undeclared (first use in this function) geos.c:95: error: too many arguments to function 'zend_exception_get_default' geos.c: In function 'setRelay': geos.c:107: error: 'tsrm_ls' undeclared (first use in this function) geos.c: In function 'getRelay': geos.c:113: error: 'tsrm_ls' undeclared (first use in this function) geos.c: In function 'dumpGeometry': geos.c:421: error: 'tsrm_ls' undeclared (first use in this function) geos.c: In function 'Geometry_create_obj': geos.c:443: warning: passing argument 2 of 'Gen_create_obj' from incompatible pointer type geos.c:443: warning: passing argument 3 of 'Gen_create_obj' from incompatible pointer type geos.c:443: error: too few arguments to function 'Gen_create_obj' geos.c: In function 'zim_Geometry___toString': geos.c:468: warning: implicit declaration of function 'GEOSWKTWriter_setTrim' geos.c: In function 'zim_Geometry_buffer': geos.c:564: error: 'GEOSBufferParams' undeclared (first use in this function) geos.c:564: error: 'params' undeclared (first use in this function) geos.c:587: warning: implicit declaration of function 'GEOSBufferParams_create' geos.c:597: warning: dereferencing type-punned pointer will break strict-aliasing rules geos.c:599: warning: implicit declaration of function 'GEOSBufferParams_setQuadrantSegments' geos.c:603: warning: dereferencing type-punned pointer will break strict-aliasing rules geos.c:605: warning: implicit declaration of function 'GEOSBufferParams_setEndCapStyle' geos.c:609: warning: dereferencing type-punned pointer will break strict-aliasing rules geos.c:611: warning: implicit declaration of function 'GEOSBufferParams_setJoinStyle' geos.c:615: warning: dereferencing type-punned pointer will break strict-aliasing rules geos.c:617: warning: implicit declaration of function 'GEOSBufferParams_setMitreLimit' geos.c:621: warning: dereferencing type-punned pointer will break strict-aliasing rules geos.c:623: warning: implicit declaration of function 'GEOSBufferParams_setSingleSided' geos.c:630: warning: implicit declaration of function 'GEOSBufferWithParams' geos.c:630: warning: assignment makes pointer from integer without a cast geos.c:631: warning: implicit declaration of function 'GEOSBufferParams_destroy' geos.c: In function 'zim_Geometry_offsetCurve': geos.c:687: warning: dereferencing type-punned pointer will break strict-aliasing rules geos.c:692: warning: dereferencing type-punned pointer will break strict-aliasing rules geos.c:697: warning: dereferencing type-punned pointer will break strict-aliasing rules geos.c:705: warning: implicit declaration of function 'GEOSOffsetCurve' geos.c:705: warning: assignment makes pointer from integer without a cast geos.c: In function 'zim_Geometry_union': geos.c:849: warning: implicit declaration of function 'GEOSUnaryUnion' geos.c:849: warning: assignment makes pointer from integer without a cast geos.c: In function 'zim_Geometry_relateBoundaryNodeRule': geos.c:945: error: 'GEOSRELATE_BNR_OGC' undeclared (first use in this function) geos.c:959: warning: implicit declaration of function 'GEOSRelateBoundaryNodeRule' geos.c:959: warning: assignment makes pointer from integer without a cast geos.c: In function 'zim_Geometry_extractUniquePoints': geos.c:1007: warning: implicit declaration of function 'GEOSGeom_extractUniquePoints' geos.c:1007: warning: assignment makes pointer from integer without a cast geos.c: In function 'zim_Geometry_covers': geos.c:1223: warning: implicit declaration of function 'GEOSCovers' geos.c: In function 'zim_Geometry_coveredBy': geos.c:1250: warning: implicit declaration of function 'GEOSCoveredBy' geos.c: In function 'zim_Geometry_checkValidity': geos.c:1354: warning: implicit declaration of function 'GEOSisValidDetail' geos.c: In function 'zim_Geometry_isClosed': geos.c:1446: warning: implicit declaration of function 'GEOSisClosed' geos.c: In function 'zim_Geometry_numPoints': geos.c:1596: warning: implicit declaration of function 'GEOSGeomGetNumPoints' geos.c: In function 'zim_Geometry_getX': geos.c:1613: warning: implicit declaration of function 'GEOSGeomGetX' geos.c: In function 'zim_Geometry_getY': geos.c:1630: warning: implicit declaration of function 'GEOSGeomGetY' geos.c: In function 'zim_Geometry_coordinateDimension': geos.c:1726: warning: implicit declaration of function 'GEOSGeom_getCoordinateDimension' geos.c: In function 'zim_Geometry_pointN': geos.c:1749: warning: implicit declaration of function 'GEOSGeomGetPointN' geos.c:1749: warning: assignment makes pointer from integer without a cast geos.c: In function 'zim_Geometry_startPoint': geos.c:1766: warning: implicit declaration of function 'GEOSGeomGetStartPoint' geos.c:1766: warning: assignment makes pointer from integer without a cast geos.c: In function 'zim_Geometry_endPoint': geos.c:1783: warning: implicit declaration of function 'GEOSGeomGetEndPoint' geos.c:1783: warning: assignment makes pointer from integer without a cast geos.c: In function 'zim_Geometry_snapTo': geos.c:1894: warning: implicit declaration of function 'GEOSSnap' geos.c:1894: warning: assignment makes pointer from integer without a cast geos.c: In function 'WKTReader_create_obj': geos.c:1934: warning: passing argument 2 of 'Gen_create_obj' from incompatible pointer type geos.c:1934: warning: passing argument 3 of 'Gen_create_obj' from incompatible pointer type geos.c:1934: error: too few arguments to function 'Gen_create_obj' geos.c: In function 'WKTWriter_create_obj': geos.c:2017: warning: passing argument 2 of 'Gen_create_obj' from incompatible pointer type geos.c:2017: warning: passing argument 3 of 'Gen_create_obj' from incompatible pointer type geos.c:2017: error: too few arguments to function 'Gen_create_obj' geos.c: In function 'zim_WKTWriter_setRoundingPrecision': geos.c:2093: warning: implicit declaration of function 'GEOSWKTWriter_setRoundingPrecision' geos.c: In function 'zim_WKTWriter_setOutputDimension': geos.c:2112: warning: implicit declaration of function 'GEOSWKTWriter_setOutputDimension' geos.c: In function 'zim_WKTWriter_getOutputDimension': geos.c:2125: warning: implicit declaration of function 'GEOSWKTWriter_getOutputDimension' geos.c: In function 'zim_WKTWriter_setOld3D': geos.c:2145: warning: implicit declaration of function 'GEOSWKTWriter_setOld3D' geos.c: In function 'WKBWriter_create_obj': geos.c:2190: warning: passing argument 2 of 'Gen_create_obj' from incompatible pointer type geos.c:2190: warning: passing argument 3 of 'Gen_create_obj' from incompatible pointer type geos.c:2190: error: too few arguments to function 'Gen_create_obj' geos.c: In function 'WKBReader_create_obj': geos.c:2380: warning: passing argument 2 of 'Gen_create_obj' from incompatible pointer type geos.c:2380: warning: passing argument 3 of 'Gen_create_obj' from incompatible pointer type geos.c:2380: error: too few arguments to function 'Gen_create_obj' geos.c: In function 'zif_GEOSPolygonize': geos.c:2477: warning: implicit declaration of function 'GEOSPolygonize_full' geos.c:2477: warning: assignment makes pointer from integer without a cast geos.c: In function 'zif_GEOSSharedPaths': geos.c:2552: warning: implicit declaration of function 'GEOSSharedPaths' geos.c:2552: warning: assignment makes pointer from integer without a cast geos.c: In function 'zif_GEOSRelateMatch': geos.c:2578: warning: implicit declaration of function 'GEOSRelatePatternMatch' geos.c: In function 'zm_startup_geos': geos.c:2668: error: 'GEOSVALID_ALLOW_SELFTOUCHING_RING_FORMING_HOLE' undeclared (first use in this function) geos.c:2672: error: 'GEOSRELATE_BNR_MOD2' undeclared (first use in this function) geos.c:2674: error: 'GEOSRELATE_BNR_OGC' undeclared (first use in this function) geos.c:2676: error: 'GEOSRELATE_BNR_ENDPOINT' undeclared (first use in this function) geos.c:2678: error: 'GEOSRELATE_BNR_MULTIVALENT_ENDPOINT' undeclared (first use in this function) geos.c:2681: error: 'GEOSRELATE_BNR_MONOVALENT_ENDPOINT' undeclared (first use in this function) make[2]: *** [geos_la-geos.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1
Change History (2)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Can't deal with phantom reporters :)
Note:
See TracTickets
for help on using tickets.
Did you run ./configure --enable-php ?