[geos-devel] Antw: Antw: Re: PHP Bindings fir Windows 10 with Wamp and PHP 7.x

Tim Balschmiter Tim.Balschmiter at rostock.de
Thu May 23 07:07:24 PDT 2019


Hi,
i´ve build PHP with this method:
https://medium.com/@erinus/how-to-build-php-on-windows-a7ad0a87862a
And i´ve tested to build the php-geos binding by this way:
https://medium.com/@erinus/how-to-build-php-extension-on-windows-d1667290f809

If i work with the given example (apcu) everything seams to be fine.
If i´m copy the git folder to the php sources and do
configure --disable-all --enable-cli --enable-geos=shared
or
configure --disable-all --enable-cli --enable-php-geos=shared

i get 
The following arguments is invalid, and therefore ignored:
 --enable-geos

So in my opinion i´m using the wrong dataset. Has somebody some
solution ideas?

best regards
Tim





>>> "Tim Balschmiter" <Tim.Balschmiter at rostock.de> 23.05.2019 14:02
>>>
I´m not sure, if it is the same problem, in my opinion it is an other
way to build php bindings for geos.
I only need a working solution, so i choose every way. It would be my
first extension, which i build. I don´t know which steps and tools i
need.

best regards


>>> Sandro Santilli <strk at kbt.io> 23.05.2019 11:48 >>>
On Wed, May 22, 2019 at 03:03:05PM +0200, Tim Balschmiter wrote:
> Hi Community,
> 
> The php-bindings of Sandro
(https://git.osgeo.org/gitea/geos/php-geos)
> is working finde on my ubuntu system, but i can´t get it work on
Windows
> 10.

Is this the same problem reported on following ticket ?
https://git.osgeo.org/gitea/geos/php-geos/issues/19 

> 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
you
> can help me.

  $ ./configure  --help | grep geos
    --enable-geos             Enable geos support
    --with-geos-config=DIR    Use geos-config

Are you passing --with-geos-config switch ?

> In my opinion a lot of people are interessted in a solution ;-).

If you think this is the same problem reported in issues/19 please
update it as you find more things.

> p.s. i only need it for desktop pc, where i can not change the OS.

Virtual machines are easy nowadays :)

--strk;
_______________________________________________
geos-devel mailing list
geos-devel at lists.osgeo.org 
https://lists.osgeo.org/mailman/listinfo/geos-devel 

_______________________________________________
geos-devel mailing list
geos-devel at lists.osgeo.org 
https://lists.osgeo.org/mailman/listinfo/geos-devel



More information about the geos-devel mailing list