[Cartoweb-users] Regarding PGDIJKSTRA installation

Hassan hechy_man at yahoo.com
Fri Jun 30 14:15:50 EDT 2006


Below is the complete list of the error message ... I 'll appreciate any insights.\

-Hassan

[root at localhost pgdijkstra]# make install
g++ -I. -I/usr/local/pgsql/include/server -I/usr/local/pgsql/include/internal -D_GNU_SOURCE  -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fpic -I/usr/include/boost/graph -c boost_wrapper.cpp
cc1plus: warning: "-Wdeclaration-after-statement" is valid for C/ObjC but not
   for C++
In file included from /usr/local/pgsql/include/server/postgres.h:48,
                 from dijkstra.h:25,
                 from boost_wrapper.cpp:30:
/usr/local/pgsql/include/server/c.h:100:1: warning: "gettext" redefined
In file included from /usr/include/c++/3.3.3/i386-redhat-linux/bits/c++locale.h:44,
                 from /usr/include/c++/3.3.3/iosfwd:46,
                 from /usr/include/c++/3.3.3/ios:44,
                 from /usr/include/c++/3.3.3/ostream:45,
                 from /usr/include/c++/3.3.3/iostream:45,
                 from boost_wrapper.cpp:23:
/usr/include/libintl.h:108:1: warning: this is the location of the previous definition
/usr/include/boost/pending/detail/property.hpp: In instantiation of `boost::detail::build_property_tag_value_alist<Vertex>':
/usr/include/boost/pending/property.hpp:58:   instantiated from `boost::property_value<Vertex, boost::edge_weight_t>'
/usr/include/boost/graph/detail/adjacency_list.hpp:2466:   instantiated from `boost::detail::adj_list_any_edge_pmap::bind_<boost_dijkstra(edge_t*, unsigned int, int, int, bool, bool, path_element_t**, int*, char**)::graph_t, Vertex, boost::edge_weight_t>'
/usr/include/boost/graph/detail/adjacency_list.hpp:2502:   instantiated from `boost::detail::adj_list_choose_edge_pmap<boost::edge_weight_t, boost_dijkstra(edge_t*, unsigned int, int, int, bool, bool, path_element_t**, int*, char**)::graph_t, Vertex>'
/usr/include/boost/graph/detail/adjacency_list.hpp:2509:   instantiated from `boost::detail::adj_list_edge_property_selector::bind_<boost_dijkstra(edge_t*, unsigned int, int, int, bool, bool, path_element_t**, int*, char**)::graph_t, Vertex, boost::edge_weight_t>'
/usr/include/boost/graph/properties.hpp:158:   instantiated from `boost::detail::edge_property_map<boost_dijkstra(edge_t*, unsigned int, int, int, bool, bool, path_element_t**, int*, char**)::graph_t, boost::edge_weight_t>'
/usr/include/boost/graph/properties.hpp:212:   instantiated from `boost::property_map<boost_dijkstra(edge_t*, unsigned int, int, int, bool, bool, path_element_t**, int*, char**)::graph_t, boost::edge_weight_t>'
boost_wrapper.cpp:94:   instantiated from here
/usr/include/boost/pending/detail/property.hpp:89: error: no type named `
   next_type' in `struct Vertex'
/usr/include/boost/pending/detail/property.hpp:90: error: no type named `
   value_type' in `struct Vertex'
/usr/include/boost/pending/detail/property.hpp:91: error: no type named `
   tag_type' in `struct Vertex'
/usr/include/boost/pending/detail/property.hpp:92: error: no type named `
   next_type' in `struct Vertex'
/usr/include/boost/pending/detail/property.hpp:93: error: no type named `
   tag_type' in `struct Vertex'
/usr/include/boost/pending/property.hpp: In instantiation of `boost::property_value<Vertex, boost::edge_weight_t>':
/usr/include/boost/graph/detail/adjacency_list.hpp:2466:   instantiated from `boost::detail::adj_list_any_edge_pmap::bind_<boost_dijkstra(edge_t*, unsigned int, int, int, bool, bool, path_element_t**, int*, char**)::graph_t, Vertex, boost::edge_weight_t>'
/usr/include/boost/graph/detail/adjacency_list.hpp:2502:   instantiated from `boost::detail::adj_list_choose_edge_pmap<boost::edge_weight_t, boost_dijkstra(edge_t*, unsigned int, int, int, bool, bool, path_element_t**, int*, char**)::graph_t, Vertex>'
/usr/include/boost/graph/detail/adjacency_list.hpp:2509:   instantiated from `boost::detail::adj_list_edge_property_selector::bind_<boost_dijkstra(edge_t*, unsigned int, int, int, bool, bool, path_element_t**, int*, char**)::graph_t, Vertex, boost::edge_weight_t>'
/usr/include/boost/graph/properties.hpp:158:   instantiated from `boost::detail::edge_property_map<boost_dijkstra(edge_t*, unsigned int, int, int, bool, bool, path_element_t**, int*, char**)::graph_t, boost::edge_weight_t>'
/usr/include/boost/graph/properties.hpp:212:   instantiated from `boost::property_map<boost_dijkstra(edge_t*, unsigned int, int, int, bool, bool, path_element_t**, int*, char**)::graph_t, boost::edge_weight_t>'
boost_wrapper.cpp:94:   instantiated from here
/usr/include/boost/pending/property.hpp:58: error: no type named `type' in `
   struct boost::detail::build_property_tag_value_alist<Vertex>'
/usr/include/boost/pending/property.hpp:59: error: no type named `type' in `
   struct boost::detail::build_property_tag_value_alist<Vertex>'
/usr/include/boost/graph/detail/adjacency_list.hpp: In instantiation of `boost::detail::adj_list_any_edge_pmap::bind_<boost_dijkstra(edge_t*, unsigned int, int, int, bool, bool, path_element_t**, int*, char**)::graph_t, Vertex, boost::edge_weight_t>':
/usr/include/boost/graph/detail/adjacency_list.hpp:2502:   instantiated from `boost::detail::adj_list_choose_edge_pmap<boost::edge_weight_t, boost_dijkstra(edge_t*, unsigned int, int, int, bool, bool, path_element_t**, int*, char**)::graph_t, Vertex>'
/usr/include/boost/graph/detail/adjacency_list.hpp:2509:   instantiated from `boost::detail::adj_list_edge_property_selector::bind_<boost_dijkstra(edge_t*, unsigned int, int, int, bool, bool, path_element_t**, int*, char**)::graph_t, Vertex, boost::edge_weight_t>'
/usr/include/boost/graph/properties.hpp:158:   instantiated from `boost::detail::edge_property_map<boost_dijkstra(edge_t*, unsigned int, int, int, bool, bool, path_element_t**, int*, char**)::graph_t, boost::edge_weight_t>'
/usr/include/boost/graph/properties.hpp:212:   instantiated from `boost::property_map<boost_dijkstra(edge_t*, unsigned int, int, int, bool, bool, path_element_t**, int*, char**)::graph_t, boost::edge_weight_t>'
boost_wrapper.cpp:94:   instantiated from here
/usr/include/boost/graph/detail/adjacency_list.hpp:2466: error: no type named `
   type' in `struct boost::property_value<Vertex, boost::edge_weight_t>'
/usr/include/boost/graph/detail/adjacency_list.hpp:2467: error: no type named `
   type' in `struct boost::property_value<Vertex, boost::edge_weight_t>'
/usr/include/boost/graph/detail/adjacency_list.hpp:2468: error: no type named `
   type' in `struct boost::property_value<Vertex, boost::edge_weight_t>'
/usr/include/boost/graph/detail/adjacency_list.hpp:2472: error: no type named `
   type' in `struct boost::property_value<Vertex, boost::edge_weight_t>'
/usr/include/boost/graph/detail/adjacency_list.hpp:2475: error: no type named `
   type' in `struct boost::property_value<Vertex, boost::edge_weight_t>'
/usr/include/boost/graph/detail/adjacency_list.hpp: In instantiation of `boost::detail::adj_list_choose_edge_pmap<boost::edge_weight_t, boost_dijkstra(edge_t*, unsigned int, int, int, bool, bool, path_element_t**, int*, char**)::graph_t, Vertex>':
/usr/include/boost/graph/detail/adjacency_list.hpp:2509:   instantiated from `boost::detail::adj_list_edge_property_selector::bind_<boost_dijkstra(edge_t*, unsigned int, int, int, bool, bool, path_element_t**, int*, char**)::graph_t, Vertex, boost::edge_weight_t>'
/usr/include/boost/graph/properties.hpp:158:   instantiated from `boost::detail::edge_property_map<boost_dijkstra(edge_t*, unsigned int, int, int, bool, bool, path_element_t**, int*, char**)::graph_t, boost::edge_weight_t>'
/usr/include/boost/graph/properties.hpp:212:   instantiated from `boost::property_map<boost_dijkstra(edge_t*, unsigned int, int, int, bool, bool, path_element_t**, int*, char**)::graph_t, boost::edge_weight_t>'
boost_wrapper.cpp:94:   instantiated from here
/usr/include/boost/graph/detail/adjacency_list.hpp:2502: error: no type named `
   type' in `struct
   boost::detail::adj_list_any_edge_pmap::bind_<boost_dijkstra(edge_t*,
   unsigned int, int, int, bool, bool, path_element_t**, int*,
   char**)::graph_t, Vertex, boost::edge_weight_t>'
/usr/include/boost/graph/detail/adjacency_list.hpp:2503: error: no type named `
   const_type' in `struct
   boost::detail::adj_list_any_edge_pmap::bind_<boost_dijkstra(edge_t*,
   unsigned int, int, int, bool, bool, path_element_t**, int*,
   char**)::graph_t, Vertex, boost::edge_weight_t>'
/usr/include/boost/graph/detail/adjacency_list.hpp: In instantiation of `boost::detail::adj_list_edge_property_selector::bind_<boost_dijkstra(edge_t*, unsigned int, int, int, bool, bool, path_element_t**, int*, char**)::graph_t, Vertex, boost::edge_weight_t>':
/usr/include/boost/graph/properties.hpp:158:   instantiated from `boost::detail::edge_property_map<boost_dijkstra(edge_t*, unsigned int, int, int, bool, bool, path_element_t**, int*, char**)::graph_t, boost::edge_weight_t>'
/usr/include/boost/graph/properties.hpp:212:   instantiated from `boost::property_map<boost_dijkstra(edge_t*, unsigned int, int, int, bool, bool, path_element_t**, int*, char**)::graph_t, boost::edge_weight_t>'
boost_wrapper.cpp:94:   instantiated from here
/usr/include/boost/graph/detail/adjacency_list.hpp:2509: error: no type named `
   type' in `struct
   boost::detail::adj_list_choose_edge_pmap<boost::edge_weight_t,
   boost_dijkstra(edge_t*, unsigned int, int, int, bool, bool,
   path_element_t**, int*, char**)::graph_t, Vertex>'
/usr/include/boost/graph/detail/adjacency_list.hpp:2510: error: no type named `
   const_type' in `struct
   boost::detail::adj_list_choose_edge_pmap<boost::edge_weight_t,
   boost_dijkstra(edge_t*, unsigned int, int, int, bool, bool,
   path_element_t**, int*, char**)::graph_t, Vertex>'
/usr/include/boost/graph/properties.hpp: In instantiation of `boost::detail::edge_property_map<boost_dijkstra(edge_t*, unsigned int, int, int, bool, bool, path_element_t**, int*, char**)::graph_t, boost::edge_weight_t>':
/usr/include/boost/graph/properties.hpp:212:   instantiated from `boost::property_map<boost_dijkstra(edge_t*, unsigned int, int, int, bool, bool, path_element_t**, int*, char**)::graph_t, boost::edge_weight_t>'
boost_wrapper.cpp:94:   instantiated from here
/usr/include/boost/graph/properties.hpp:158: error: no type named `type' in `
   struct
   boost::detail::adj_list_edge_property_selector::bind_<boost_dijkstra(edge_t*,   unsigned int, int, int, bool, bool, path_element_t**, int*,
   char**)::graph_t, Vertex, boost::edge_weight_t>'
/usr/include/boost/graph/properties.hpp:159: error: no type named `const_type'
   in `struct
   boost::detail::adj_list_edge_property_selector::bind_<boost_dijkstra(edge_t*,   unsigned int, int, int, bool, bool, path_element_t**, int*,
   char**)::graph_t, Vertex, boost::edge_weight_t>'
/usr/include/boost/graph/properties.hpp: In instantiation of `boost::property_map<boost_dijkstra(edge_t*, unsigned int, int, int, bool, bool, path_element_t**, int*, char**)::graph_t, boost::edge_weight_t>':
boost_wrapper.cpp:94:   instantiated from here
/usr/include/boost/graph/properties.hpp:212: error: no type named `type' in `
   struct boost::detail::edge_property_map<boost_dijkstra(edge_t*, unsigned
   int, int, int, bool, bool, path_element_t**, int*, char**)::graph_t,
   boost::edge_weight_t>'
/usr/include/boost/graph/properties.hpp:213: error: no type named `const_type'
   in `struct boost::detail::edge_property_map<boost_dijkstra(edge_t*, unsigned
   int, int, int, bool, bool, path_element_t**, int*, char**)::graph_t,
   boost::edge_weight_t>'
boost_wrapper.cpp: In function `int boost_dijkstra(edge_t*, unsigned int, int,
   int, bool, bool, path_element_t**, int*, char**)':
boost_wrapper.cpp:94: error: `type' is not a member of type `
   boost::property_map<boost_dijkstra(edge_t*, unsigned int, int, int, bool,
   bool, path_element_t**, int*, char**)::graph_t, boost::edge_weight_t>'
boost_wrapper.cpp:94: error: syntax error before `=' token
/usr/include/boost/pending/property.hpp: At global scope:
/usr/include/boost/pending/property.hpp: In instantiation of `boost::property_kind<float8 Vertex::*>':
/usr/include/boost/graph/properties.hpp:207:   instantiated from `boost::property_map<boost::adjacency_list<boost::listS, boost::vecS, boost::directedS, boost::no_property, Vertex, boost::no_property, boost::listS>, float8 Vertex::*>'
boost_wrapper.cpp:139:   instantiated from here
/usr/include/boost/pending/property.hpp:35: error: `float8 Vertex::*' is not a
   class, struct, or union type
/usr/include/boost/graph/properties.hpp: In instantiation of `boost::property_map<boost::adjacency_list<boost::listS, boost::vecS, boost::directedS, boost::no_property, Vertex, boost::no_property, boost::listS>, float8 Vertex::*>':
boost_wrapper.cpp:139:   instantiated from here
/usr/include/boost/graph/properties.hpp:207: error: no type named `type' in `
   struct boost::property_kind<float8 Vertex::*>'
/usr/include/boost/graph/properties.hpp:208: error: no type named `type' in `
   struct boost::property_kind<float8 Vertex::*>'
/usr/include/boost/graph/properties.hpp:209: error: no type named `type' in `
   struct boost::property_kind<float8 Vertex::*>'
/usr/include/boost/graph/properties.hpp:210: error: no type named `type' in `
   struct boost::property_kind<float8 Vertex::*>'
/usr/include/boost/graph/properties.hpp:212: error: no type named `type' in `
   struct boost::property_kind<float8 Vertex::*>'
/usr/include/boost/graph/properties.hpp:213: error: no type named `type' in `
   struct boost::property_kind<float8 Vertex::*>'
boost_wrapper.cpp: In function `int boost_dijkstra(edge_t*, unsigned int, int,
   int, bool, bool, path_element_t**, int*, char**)':
boost_wrapper.cpp:139: error: no matching function for call to `get(float8
   Vertex::*, boost_dijkstra(edge_t*, unsigned int, int, int, bool, bool,
   path_element_t**, int*, char**)::graph_t&)'
boost_wrapper.cpp:195: error: no match for 'operator[]' in 'graph[
   boost::iterator_facade<I, V, TC, R, D>::operator*() const [with Derived =
   boost::detail::out_edge_iter<std::_List_iterator<boost::detail::sep_<size_t,
   Vertex>, boost::detail::sep_<size_t, Vertex>&, boost::detail::sep_<size_t,
   Vertex>*>, size_t, boost::detail::edge_desc_impl<boost::directed_tag,
   size_t>, ptrdiff_t>, Value =
   boost::detail::edge_desc_impl<boost::directed_tag, size_t>,
   CategoryOrTraversal = boost::bidirectional_traversal_tag, Reference =
   boost::detail::edge_desc_impl<boost::directed_tag, size_t>, Difference =
   ptrdiff_t]()]'
boost_wrapper.cpp:196: error: no match for 'operator[]' in 'graph[
   boost::iterator_facade<I, V, TC, R, D>::operator*() const [with Derived =
   boost::detail::out_edge_iter<std::_List_iterator<boost::detail::sep_<size_t,
   Vertex>, boost::detail::sep_<size_t, Vertex>&, boost::detail::sep_<size_t,
   Vertex>*>, size_t, boost::detail::edge_desc_impl<boost::directed_tag,
   size_t>, ptrdiff_t>, Value =
   boost::detail::edge_desc_impl<boost::directed_tag, size_t>,
   CategoryOrTraversal = boost::bidirectional_traversal_tag, Reference =
   boost::detail::edge_desc_impl<boost::directed_tag, size_t>, Difference =
   ptrdiff_t]()]'
boost_wrapper.cpp: In function `void graph_add_edge(G&, int, int, int, double)
   [with G = boost_dijkstra(edge_t*, unsigned int, int, int, bool, bool,
   path_element_t**, int*, char**)::graph_t, E = boost_dijkstra(edge_t*,
   unsigned int, int, int, bool, bool, path_element_t**, int*,
   char**)::edge_descriptor]':
boost_wrapper.cpp:99:   instantiated from here
boost_wrapper.cpp:72: error: no match for 'operator[]' in 'graph[e]'
boost_wrapper.cpp:73: error: no match for 'operator[]' in 'graph[e]'
make: *** [boost_wrapper.o] Error 1


----- Original Message ----
From: Hassan <hechy_man at yahoo.com>
To: Cartoweb-users at lists.maptools.org
Sent: Thursday, June 29, 2006 12:51:28 PM
Subject: Re: [Cartoweb-users] Regarding PGDIJKSTRA installation

Yeah it is getting old. Well I have boost 1.33.1 installed. What version of boost is pgdijkstra suppose to work with? Is there a way to test if boost is properly installed. I tried executing the dijstra.sql, and the system complained saying that it could not access "$libdir/dijkstra: No such file of directory".
 
 
PS. Apologies on the reply....Just hit reply without checking.

----- Original Message ----
From: Sylvain Pasche <sylvain.pasche at camptocamp.com>
To: Cartoweb users <cartoweb-users at lists.maptools.org>
Sent: Thursday, June 29, 2006 12:42:02 PM
Subject: Re: [Cartoweb-users] Regarding PGDIJKSTRA installation


Le jeudi 29 juin 2006 à 09:25 -0700, Hassan a écrit :
> On make install, I get error messages
>  
> boost_wrapper.cpp:72: error: no match for 'operator[ ]' in 'graph[e]'
> boost_wrapper.cpp:73: error: no match for 'operator[ ]' in 'graph[e]'
>  
> I dont want to clog the message board with the messages from the make install, but I will if I have to.
>  
> I had the boost development package installed on the machine. It installed in my /usr/include/boost/ directory.
>  

Maybe this is an incompatibility with the boost version used. Which
boost version are you using? I guess core 2 is getting old these
days ;-)


Sylvain


PS: please reply to the list


_______________________________________________
Cartoweb-users mailing list
Cartoweb-users at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/cartoweb-users

_______________________________________________
Cartoweb-users mailing list
Cartoweb-users at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/cartoweb-users






More information about the Cartoweb-users mailing list