I want to build mapnik2 with occi, my linux system is redhat 5.Any body can help me?
I Installed oracle instantclient and oracle instantclient sdk ,version is 10.2.0.4. I building mapnik2 without occi success. this is building error log: [root@s1 mapnik2]# python scons/scons.py instaconfigure scons: Reading SConscript files ... Welcome to Mapnik... ********************************************* You are compiling Mapnik trunk (aka Mapnik2) See important details at:http://trac.mapnik.org/wiki/Mapnik2 ********************************************* Configuring build environment... SCons CONFIG found: 'config.py', variables will be inherited... DEBUG=True INPUT_PLUGINS=occi,shape BOOST_INCLUDES=/usr/local/include BOOST_LIBS=/usr/local/lib OCCI_INCLUDES=/usr/include/oracle/10.2.0.4/client OCCI_LIBS=/usr/lib/oracle/10.2.0.4/client/lib BINDINGS=all Configuring on Linux in *debug mode*... Checking for freetype-config... yes Checking for xml2-config... yes Sorting lib and inc compiler paths by priority... internal,other,frameworks,user,system(cached) yes Checking for C library m... yes Checking for C library ltdl... yes Checking for C library png... yes Checking for C library tiff... yes Checking for C library z... yes Checking for C library proj... yes Checking for C++ library icuuc... yes Checking for C library jpeg... yes Checking for ICU version >= 4.2... Found icu version... 4.6 (cached) Searching for boost libs and headers... (cached) *libs found: /usr/local/lib *headers found: /usr/local/include *no lib naming extension found Checking for Boost version >= 1.41... yes Found boost lib version... 1_46_1 Checking for C++ library boost_system... yes Checking for C++ library boost_filesystem... yes Checking for C++ library boost_regex... yes Checking for C++ library boost_program_options... yes Checking for C++ library boost_thread... yes Checking if boost_regex was built with ICU unicode support... (cached) yes Checking for requested plugins dependencies... Checking for C++ library ociei... yes Checking for pkg-config... yes Checking for cairomm-1.0... no Checking for C++ header file boost/python/detail/config.hpp... yes Checking for pkg-config... yes Checking for pycairo... no All Required dependencies found! Overwriting and re-saving file 'config.py'... Will hold custom path variables from commandline and python config file(s)... Note: will build without these OPTIONAL dependencies: - cairo (Cairo C library | configured using pkg-config | try setting PKG_CONFIG_PATH SCons option) - cairomm (Cairomm C++ bindings to Cairo library | configured using pkg-config | try setting PKG_CONFIG_PATH SCons option) - pycairo (Python bindings to Cairo library | configured using pkg-config | try setting PKG_CONFIG_PATH SCons option) Checking for C header file Python.h... yes Bindings Python version... 2.5 Python 2.5 prefix... /usr/local Python bindings will install in... /usr/local/lib/python2.5/site-packages *Configure complete* Now run "python scons/scons.py" to build or "python scons/scons.py install" to install [root@s1 mapnik2]# python scons/scons.py configure install scons: Reading SConscript files ... Using previous successful configuration... Re-configure by running "python scons/scons.py configure". Welcome to Mapnik... ********************************************* You are compiling Mapnik trunk (aka Mapnik2) See important details at:http://trac.mapnik.org/wiki/Mapnik2 ********************************************* scons: done reading SConscript files. scons: Building targets ... g++ -o plugins/input/occi/occi_featureset.os -c -DHAVE_JPEG -DBOOST_REGEX_HAS_ICU -ansi -Wall -pthread -ftemplate-depth-200 -DLINUX -DBOOST_SPIRIT_THREADSAFE -DMAPNIK_THREADSAFE -O0 -fno-inline -g -DDEBUG -DMAPNIK_DEBUG -fPIC -Iagg/include -I. -Iinclude -I/usr/local/include -I/usr/include/oracle/10.2.0.4/client -I/usr/include/freetype2 -I/usr/include/libxml2 plugins/input/occi/occi_featureset.cpp include/mapnik/value.hpp: In member function ‘int mapnik::impl::to_int::operator()(double) const’: include/mapnik/value.hpp:673: 警告:当转��到 ‘int’ (从 ‘double’)时 plugins/input/occi/occi_featureset.cpp: At global scope: plugins/input/occi/occi_featureset.cpp:49: 错误:expected `;' before ‘using’ plugins/input/occi/occi_featureset.cpp: In member function ‘void occi_featureset::convert_geometry(SDOGeometry*, mapnik::feature_ptr, bool)’: plugins/input/occi/occi_featureset.cpp:274: 警告:未使用的���‡ ‘is_single_geom’ plugins/input/occi/occi_featureset.cpp:275: 警告:未使用的���‡ ‘is_point_type’ plugins/input/occi/occi_featureset.cpp:327: 警告:未使用的���‡ ‘is_single_geom’ plugins/input/occi/occi_featureset.cpp:328: 警告:未使用的���‡ ‘is_point_type’ scons: *** [plugins/input/occi/occi_featureset.os] Error 1 scons: building terminated because of errors. 致 礼 项建 email:[email protected]
_______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

