geoPHP icon indicating copy to clipboard operation
geoPHP copied to clipboard

Update instructions for compiling 3.6.2

Open gopi-ar opened this issue 6 years ago • 1 comments

Most of the links on the website for installation are down or don't work with 3.6.2 which doesn't include PHP bindings by default.

If someone comes by this, here are instructions that work (from here):

curl -s -O http://download.osgeo.org/geos/geos-3.6.1.tar.bz2 &&
tar -xjvf geos-3.6.1.tar.bz2 &&
cd geos-3.6.1/ &&
./configure --enable-php &&
make &&
make install &&
cd ..

ldconfig

curl -s -O https://git.osgeo.org/gogs/geos/php-geos/archive/master.tar.gz &&
tar -zxvf master.tar.gz &&
cd php-geos &&
./autogen.sh &&
./configure &&
make &&
make install &&
cd .. &&

gopi-ar avatar May 21 '18 05:05 gopi-ar

The link for the second file has changed and the curl command fails. New url https://git.osgeo.org/gitea/geos/php-geos/archive/master.tar.gz

marcorivm avatar Jun 20 '19 18:06 marcorivm