[Gdal-dev] building with the PHP
Kevin Ruland
kruland at ku.edu
Thu Oct 6 10:45:46 EDT 2005
Frequens,
There appears to be some serious problems with the build of the ogr and
osr modules. I was unable to repair them in time. However, the gdal
module should be some what functional. If you are interested in only
those, then you should go into swig/php and hack up the makefile to
build & install only the gdal module.
Here's a rough idea of what you could do:
edit swig/php/GNUMakefile change "build: ${all_libs}" to "build:
php_gdal.so"
That should compile the php_gdal.so extension. Then either mv this to
your system php extension directory or run php with
-d extension_dir=<path to this file>
Kevin
Frank Warmerdam wrote:
>On 10/5/05, frequens <frequens at gmail.com> wrote:
>
>
>>I have trouble building gdal 1.3.1 with the --with-php option.
>> It configures well, also the make is successfull, but it dies at make
>>install.
>>
>> Am I missing something? How much of the PHP binding is implemented
>>currently?
>>
>>
>
>Frequens,
>
>The PHP bindings are incomplete I believe, and I doubt much work
>has been done on making the install logic work properly. I would avoid
>the PHP bindings unless you are interested in digging into SWIG in
>a big way and becoming the PHP champion.
>
>Best regards,
>
>--
>---------------------------------------+--------------------------------------
>I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
>light and sound - activate the windows | http://pobox.com/~warmerdam
>and watch the world go round - Rush | Geospatial Programmer for Rent
>
>_______________________________________________
>Gdal-dev mailing list
>Gdal-dev at lists.maptools.org
>http://lists.maptools.org/mailman/listinfo/gdal-dev
>
>
More information about the Gdal-dev
mailing list