Hi list,

I've been unable to compile mapnik last revision (r747) on a debian etch
box. All dependencies are met but compilation failed on this:
----------------
g++ -o src/datasource_cache.os -c -DHAVE_LIBXML2 -ansi -Wall -pthread
-ftemplate-depth-100 -DLINUX -O2 -finline-functions -Wno-inline -DNDEBUG
-fPIC -Iagg/include -Itinyxml -Iinclude -I.
-I/usr/local/include/boost-1_36 -I/usr/include -I/usr/local/include
-I/usr/include/freetype2 -I/usr/include/libxml2 src/datasource_cache.cpp
src/datasource_cache.cpp: In static member function ‘static void
mapnik::datasource_cache::register_datasources(const std::string&)’:
src/datasource_cache.cpp:128: error: ‘class
boost::filesystem::basic_directory_entry<boost::filesystem::basic_path<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
boost::filesystem::path_traits> >’ has no member named ‘leaf’
----------------


The following patch allow compilation:
----------------
Index: src/datasource_cache.cpp
===================================================================
--- src/datasource_cache.cpp (revision 747)
+++ src/datasource_cache.cpp (working copy)
@@ -125,7 +125,7 @@
{
for (filesystem::directory_iterator itr(path);itr!=end_itr;++itr )
{
- if (!is_directory( *itr ) && is_input_plugin(itr->leaf()))
+ if (!is_directory( *itr ))
{
try
{
----------------
If this patch is harmless, could someone commit it?


Additionnaly, I tried to submit a ticket for this. I used to have an
account on mapnik's trac but I can't reset the password, the system reply:
----------------
SMTPAuthenticationError: (535, '#5.7.0 Authentication failed')
There was an internal error in Trac. It is recommended that you inform
your local Trac administrator <mailto:[EMAIL PROTECTED]> and give him
all the information he needs to reproduce the issue.
The action that triggered the error was:
POST: /reset_password
----------------
How could I get a new password?

Regards,
Gilles

--
Gilles Bassiere
MAKINA CORPUS
30 rue des Jeuneurs
FR-75002 PARIS
+33 (0) 1 44 82 00 80
http://www.makina-corpus.com


begin:vcard
fn;quoted-printable:Gilles Bassi=C3=A8re
n;quoted-printable:Bassi=C3=A8re;Gilles
org:Makina Corpus;GIS
adr;quoted-printable:;;30 rue des Je=C3=BBneurs;Paris;;FR-75011;France
email;internet:[EMAIL PROTECTED]
title:Web GIS developper
tel;work:+33 (0) 1 44 82 00 80
x-mozilla-html:FALSE
url:http://www.makina-corpus.com
version:2.1
end:vcard

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to