Hi,
i'm the developer behind the oracle support for mapnik.
i have developed it by using the oracle-instantclient-basic package (cause
my mapping servers are separate from my oracle database servers) that you
can find here
http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxsoft.html

The version you need to download is 10.2.0.3, cause 11 isn't actually
tested.
Be careful you set the correct path in config.py:

OCCI_INCLUDES='/usr/lib/oracle/10.2.0.3/client/include'
OCCI_LIBS='/usr/lib/oracle/10.2.0.3/client/lib'

or whatever other place you put it.

I have updated the wiki here http://trac.mapnik.org/wiki/OCCI so feel free
to report if you got any other problem.

Hope this helps.

ps. if i get the time i will test it with the new oracle XE (express), but
from what i know, it doesn't have full spatial support, so some functions
could be missing at all.


Cheers

Lucio


On Tue, Apr 14, 2009 at 7:45 PM, Сергей Власов <[email protected]> wrote:

> Dear developers.
> I want to compile mapinic with Oracle support.
> I perform following actions:
>
> python scons/scons.py configure INPUT_PLUGINS=raster,shape,occi
> BOOST_LIBS=/usr/lib BOOST_LIBS=/usr/include/boost PROJ_LIBS=/usr/lib
> OCCI_LIBS=/usr/lib/oracle/xe/app/oracle/product/10.2.0/client/lib
> OCCI_INCLUDES=/usr/lib/oracle/xe/app/oracle/product/10.2.0/client/rdbms/public
>
> Then python outputs following text:
> Checking for requested plugins dependencies...
> Checking for C++ library ociei... no
> Checking for C++ header file boost/python/detail/config.hpp... yes
> Checking for pkg-config... yes
> Checking for pycairo... yes
> All Required dependencies found!
> Overwriting and re-saving file 'config.py'...
> Will hold custom path variables from commandline and python config
> file(s)...
> However, these optional dependencies were not found:
> - ociei
>
> System: Ubuntu 8.10 Oracle XE Client.
>
> The question: what libraries does the plugin need and where can I find them
> if they are not included in client distribution?
> --
> With big respect, Vlasov Serg
>
> _______________________________________________
> Mapnik-devel mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-devel
>
>
_______________________________________________
Mapnik-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-devel

Reply via email to