Hello, How did you generate your dijkstra.sql file ?
The MODULE_PATHNAME is a tag inside the dijkstra.sql.in file which is replaced when you build the module using the Makefile. If you just rename dijkstra.sql.in to dijkstra.sql, it won't work. Cheers, Sylvain Le vendredi 09 décembre 2005 à 23:40 +0900, Sarawut Ninsawat a écrit : > Dear All, > > I have a problem with pgdijkstra > > I try to install dijkstra.sql with > > "psql -d demo_ins -f dijkstra.sql " > > and I got this error > > ERROR: could not access file "MODULE_PATHNAME": No such file or > directory > > but > > "psql -d demo_ins -f dijkstra_postgis.sql " > > is no problem. > > I use Linux mandriva with PostgreSQL 8.04 and latest postGIS > > Any idea about this error. > > Sarawut > > CREATE OR REPLACE FUNCTION shortest_path(sql text, source_id integer, > > target_id integer, > > directed boolean, > > has_reverse_cost boolean) > > RETURNS SETOF path_result > > AS 'MODULE_PATHNAME' > > LANGUAGE 'C' IMMUTABLE STRICT; > > > > _______________________________________________ > Cartoweb-users mailing list > [email protected] > http://lists.maptools.org/mailman/listinfo/cartoweb-users _______________________________________________ Cartoweb-users mailing list [email protected] http://lists.maptools.org/mailman/listinfo/cartoweb-users
