[pgrouting-users] Language "C" not found

Hi guys

I have compiled pgrouting from the github version against Postgres 9.2, and when I try to do a psql -d routing -f routing_core.sql, I get the following:

psql:routing_core.sql:32: ERROR: language “C” does not exist
psql:routing_core.sql:43: ERROR: language “C” does not exist
psql:routing_core.sql:53: ERROR: language “C” does not exist

I thought C was built in to Postgres, as when I do a createlang, postgres says it is already built in.

O I am also using postgis 2.0.1

Any help?

Pieter

Hi Pieter,

I haven’t checked it yet, but the following site may be helpful.

[#1820 (Can’t compile against 9.2 beta1) – PostGIS]
http://trac.osgeo.org/postgis/ticket/1820

Regards,

2012/09/14 5:07 “Pieter du Plooy” <pjduplooy@zpanelcp.com>:

Hi guys

I have compiled pgrouting from the github version against Postgres 9.2, and when I try to do a psql -d routing -f routing_core.sql, I get the following:

psql:routing_core.sql:32: ERROR: language “C” does not exist
psql:routing_core.sql:43: ERROR: language “C” does not exist
psql:routing_core.sql:53: ERROR: language “C” does not exist

I thought C was built in to Postgres, as when I do a createlang, postgres says it is already built in.

O I am also using postgis 2.0.1

Any help?

Pieter


Pgrouting-users mailing list
Pgrouting-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/pgrouting-users

Hi Sanak

Changing LANGUAGE 'C' to LANGUAGE 'c' did the trick.

With dd I am getting the gmpq_equal error that comes up. I know there is a solution to this but I am not on the internet now so I can not go and look for it.

Quick help on this one please. Built against cgal 3.9. Ubuntu install except for gaul which was built from source.

Pieter
Sent from my BlackBerry® wireless device

-----Original Message-----
From: Sanak <geosanak@gmail.com>
Sender: pgrouting-users-bounces@lists.osgeo.org
Date: Fri, 14 Sep 2012 05:32:58
To: pgRouting users mailing list<pgrouting-users@lists.osgeo.org>
Reply-To: pgRouting users mailing list <pgrouting-users@lists.osgeo.org>
Subject: Re: [pgrouting-users] Language "C" not found

_______________________________________________
Pgrouting-users mailing list
Pgrouting-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/pgrouting-users

Hi Pieter,

Sorry, I also use mobile phone mail now.

The following site describe how to fix CGAL link issue.

https://github.com/sanak/pgrouting4w/commit/6ec1672f79f7070c60fb6095342d7d0b55cf2659

If yot need the above diff with mail content, reply this mail.

Regards,

2012/09/14 6:08 <pjduplooy@zpanelcp.com>:

Hi Sanak

Changing LANGUAGE ‘C’ to LANGUAGE ‘c’ did the trick.

With dd I am getting the gmpq_equal error that comes up. I know there is a solution to this but I am not on the internet now so I can not go and look for it.

Quick help on this one please. Built against cgal 3.9. Ubuntu install except for gaul which was built from source.

Pieter
Sent from my BlackBerry® wireless device

-----Original Message-----
From: Sanak <geosanak@gmail.com>
Sender: pgrouting-users-bounces@lists.osgeo.org
Date: Fri, 14 Sep 2012 05:32:58
To: pgRouting users mailing list<pgrouting-users@lists.osgeo.org>
Reply-To: pgRouting users mailing list <pgrouting-users@lists.osgeo.org>
Subject: Re: [pgrouting-users] Language “C” not found


Pgrouting-users mailing list
Pgrouting-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/pgrouting-users


Pgrouting-users mailing list
Pgrouting-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/pgrouting-users