[Featureserver] OGR layers

Matthew Perry perrygeo at gmail.com
Mon May 28 02:29:55 EDT 2007


On 5/27/07, Howard Butler <hobu.inc at gmail.com> wrote:
> The SVN trunk of GDAL/OGR now uses setuptools to install if it is
> available.  Maybe we shouldn't be doing that by default for the very
> reason you ran into.  Anyway, if you can cd into ./swig/python and run:
>
> sudo python setup.py install --root / --single-version-externally-
> managed
>
> It should install the GDAL/OGR bindings in a non-eggy way.
>
> Alternatively, if you set the PYTHON_EGG_CACHE environment variable
> to a directory that apache can write to, like /tmp or something, it
> will unpack the egg there instead of in pwd upon import.
>

Setting the PYTHON_EGG_CACHE environment variable in the apache config worked:

  SetEnv PYTHON_EGG_CACHE /tmp/pyegg

I'm still utterly confused as to why this is necessary but at least
I'm one step closer to getting this demo set up !

-- 
Matthew T. Perry
http://www.perrygeo.net

"You never change things by fighting the existing reality.
To change something, build a new model that makes
the existing model obsolete" - R. Buckminster Fuller



More information about the Featureserver mailing list