Package Details: php-geos-git 1.0.0.r4.g2c9c56a-1

Git Clone URL: https://aur.archlinux.org/php-geos-git.git (read-only)
Package Base: php-geos-git
Description: PHP bindings for GEOS
Upstream URL: http://geos.osgeo.org/
Keywords: geo geos geospatial php
Licenses: MIT, LGPL2
Submitter: BloodyAltair
Maintainer: BloodyAltair
Last Packager: BloodyAltair
Votes: 3
Popularity: 0.235082
First Submitted: 2019-03-13 01:37
Last Updated: 2019-03-13 01:37

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

korvinko commented on 2018-01-08 15:00

latest release is geos 3.6.2: http://download.osgeo.org/geos/geos-3.6.2.tar.bz2

And geos-php binding moved to own repo: https://git.osgeo.org/gitea/geos/php-geos

Looks like it not build because versions do not match. Current geos in repo 3.6.2 but php binding try compile from 3.5.0

korvinko commented on 2018-01-08 14:51

But manual build works goods: https://git.osgeo.org/gitea/geos/php-geos#procedure

korvinko commented on 2018-01-08 13:37

Meet problem during build:

In file included from ../../../include/geos/geom/Geometry.h:25:0, from IndexedPointInAreaLocator.cpp:17: ../../../include/geos/platform.h:114:2: error: #error "Can not compile without isnan function or macro" #error "Can not compile without isnan function or macro" ^~~~~ In file included from ../../../include/geos/geom/Coordinate.h:158:0, from ../../../include/geos/geom/Envelope.h:25, from ../../../include/geos/geom/Geometry.h:27, from IndexedPointInAreaLocator.cpp:17: ../../../include/geos/geom/Coordinate.inl: In member function ‘bool geos::geom::Coordinate::isNull() const’: ../../../include/geos/geom/Coordinate.inl:38:10: error: ‘ISNAN’ was not declared in this scope return (ISNAN(x) && ISNAN(y) && ISNAN(z)); ^~~~~ ../../../include/geos/geom/Coordinate.inl:38:10: note: suggested alternative: ‘SNAN’ return (ISNAN(x) && ISNAN(y) && ISNAN(z)); ^~~~~ SNAN ../../../include/geos/geom/Coordinate.inl: In member function ‘bool geos::geom::Coordinate::equals3D(const geos::geom::Coordinate&) const’: ../../../include/geos/geom/Coordinate.inl:77:21: error: ‘ISNAN’ was not declared in this scope ((z == other.z)||(ISNAN(z) && ISNAN(other.z))); ^~~~~ ../../../include/geos/geom/Coordinate.inl:77:21: note: suggested alternative: ‘SNAN’ ((z == other.z)||(ISNAN(z) && ISNAN(other.z))); ^~~~~ SNAN make[5]: [Makefile:483: IndexedPointInAreaLocator.lo] Error 1 make[5]: Leaving directory '/tmp/yaourt-tmp-user/aur-geos-php/src/geos-3.5.0/src/algorithm/locate' make[4]: [Makefile:502: all-recursive] Error 1 make[4]: Leaving directory '/tmp/yaourt-tmp-user/aur-geos-php/src/geos-3.5.0/src/algorithm/locate' make[3]: [Makefile:556: all-recursive] Error 1 make[3]: Leaving directory '/tmp/yaourt-tmp-user/aur-geos-php/src/geos-3.5.0/src/algorithm' make[2]: [Makefile:595: all-recursive] Error 1 make[2]: Leaving directory '/tmp/yaourt-tmp-user/aur-geos-php/src/geos-3.5.0/src' make[1]: [Makefile:469: all-recursive] Error 1 make[1]: Leaving directory '/tmp/yaourt-tmp-user/aur-geos-php/src/geos-3.5.0' make: [Makefile:416: all] Error 2