mapnik/Ruby-Mapnik — Issue #4: compile error due to changed signature in wkt support upstream in mapnik 2 release
Author: springmeyer
Created: 2011-10-09 00:47:11+00:00
State: open

```
g++ -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I../../../../ext/ruby_mapnik -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/usr/local/include -fno-common -arch i386 -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE -fno-common -pipe -fno-common -I/usr/local/include -I/opt/sqlite-3070701/include -I/opt/boost-47-static/include -I/Library/Frameworks/UnixImageIO.framework/Versions/D/Headers -I/Library/Frameworks/GDAL.framework/Versions/1.8/Headers -I/usr/local/pgsql-9.0/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include -I/usr/X11/include/freetype2 -I/usr/X11/include -I/usr/include/libxml2 -isystem /opt/boost-47-static/include -g -DHAVE_JPEG -ansi -Wall -ftemplate-depth-300 -DDARWIN -DBOOST_SPIRIT_THREADSAFE -DMAPNIK_THREADSAFE -O2 -finline-functions -Wno-inline -DNDEBUG -DLIBTOOL_SUPPORTS_ADVISE -DHAVE_LIBXML2 -Wall -g -c ../../../../ext/ruby_mapnik/_mapnik_feature.rb.cpp
/usr/local/include/mapnik/wkt/wkt_factory.hpp: In function ‘void add_geometry(mapnik::Feature*, std::string)’:
/usr/local/include/mapnik/wkt/wkt_factory.hpp:32: error: too few arguments to function ‘bool mapnik::from_wkt(const std::string&, boost::ptr_vector, mapnik::vertex_vector>, boost::heap_clone_allocator, std::allocator >&)’
../../../../ext/ruby_mapnik/_mapnik_feature.rb.cpp:36: error: at this point in file
/usr/local/include/mapnik/wkt/wkt_factory.hpp: In function ‘void add_geometry(mapnik::Feature*, std::string)’:
/usr/local/include/mapnik/wkt/wkt_factory.hpp:32: error: too few arguments to function ‘bool mapnik::from_wkt(const std::string&, boost::ptr_vector, mapnik::vertex_vector>, boost::heap_clone_allocator, std::allocator >&)’
../../../../ext/ruby_mapnik/_mapnik_feature.rb.cpp:36: error: at this point in file
lipo: can't open input file: /var/folders/Je/Je-B-XguGWyDz+BVgq4Swk+++TI/-Tmp-//ccQPu5QV.out (No such file or directory)
make: *** [_mapnik_feature.rb.o] Error 1
rake aborted!
```