[geos-commits] php-binding for Win10 with Wamp and php 7+
Tim Balschmiter
Tim.Balschmiter at rostock.de
Fri May 10 00:12:25 PDT 2019
Hi geos-community,
thanks for the great geos library. I´ve used it on my ubuntu systems
very well,also with the php-binding of
Sandro(https://git.osgeo.org/gitea/geos/php-geos).
But now i have to install it on a windows system without a chance to
switch the OS.
My System is windows 10 with wamp and php 7.3.1. geos was installed
with OSGeo4W.
I´ve tested the installation of the php-geos with cygwin, but i get
some errors:
When i run: $ ./autogen.sh, i get the following output (i think that is
okay):
Configuring for:
PHP Api Version: 20180731
Zend Module Api No: 20180731
Zend Extension Api No: 320180731
After this i´m getting the following by runing ./configure :
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-pc-cygwin
checking host system type... x86_64-pc-cygwin
checking target system type... x86_64-pc-cygwin
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main
-I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext
-I/usr/include/php/ext/date/lib
checking for PHP extension directory... /usr/lib/php/20180731
checking for PHP installed headers prefix... /usr/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to
regenerate PHP parsers.
checking for gawk... gawk
checking whether to enable geos support... yes, shared
checking for geos-config... yes, shared
checking for geos-config... no
configure: error: Cannot find geos_c.h. Please specify correct GEOS
installation path
i do not find the place to configure the path for geos_c.h . Maybe
someone has a solution or a win10 building and instruction for me.
In my opinion a lot of people are interessted in a solution ;-).
best regards
Tim
More information about the geos-commits
mailing list