[pgrouting-users] Problems installing version 2.0

Hello everyone,

I’m trying to install 2.0 version of pgrouting and I can’t.

I’ve tried on a brand new server, but it complains about cgal9 and cgal8.

Here are the logs:

george@atlas:~/projetos/pleno.rotas/src$ sudo aptitude install postgresql-9.1-pgrouting
The following NEW packages will be installed:
postgresql-9.1-pgrouting{b}
0 packages upgraded, 1 newly installed, 0 to remove and 10 not upgraded.
Need to get 255 kB of archives. After unpacking 924 kB will be used.
The following packages have unmet dependencies:
postgresql-9.1-pgrouting : Depends: libcgal9 which is a virtual package. or
libcgal8 which is a virtual package.
The following actions will resolve these dependencies:

Keep the following packages at their current version:

  1. postgresql-9.1-pgrouting [Not Installed]

Accept this solution? [Y/n/q/?] y
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

This log came from my dev machine.

I’ve used the build-dep command from aptitude, and tried again. libcgal-dev was installed.

Do I need to install any dependencies? I won’t need the functionality cgal provides (DD), so this should be installed without problems.

Any tips?

Thanks

George R. C. Silva
SIGMA Consultoria

http://www.consultoriasigma.com.br/

On Wed, Mar 12, 2014 at 9:54 PM, George Silva <georger.silva@gmail.com>wrote:

Hello everyone,

I'm trying to install 2.0 version of pgrouting and I can't.

I've tried on a brand new server, but it complains about cgal9 and cgal8.

Is your server running Debian?

On Ubuntu these are in general all required packages:

sudo apt-get install git cmake build-essentials libcgal-dev
libboost-graph-dev libboost-thread-dev postgresql-9.1-postgis
postgresql-server-dev-9.1

Regards,
Daniel

--
Georepublic UG & Georepublic Japan
eMail: daniel.kastl@georepublic.de
Web: http://georepublic.info

Hi Daniel,

I’m on ubuntu 13.10, sorry to omit that info.

Still not working:

george@atlas:~/projetos/pleno.rotas/src$ sudo apt-get install git cmake build-essential libcgal-dev libboost-graph-dev libboost-thread-dev postgresql-9.1-postgis postgresql-server-dev-9.1
Reading package lists… Done
Building dependency tree
Reading state information… Done
build-essential is already the newest version.
cmake is already the newest version.
git is already the newest version.
libboost-thread-dev is already the newest version.
libboost-thread-dev set to manually installed.
libboost-graph-dev is already the newest version.
libcgal-dev is already the newest version.
postgresql-9.1-postgis is already the newest version.
postgresql-9.1-postgis set to manually installed.
postgresql-server-dev-9.1 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.

libcgal9 and 8 are still marked as virtual packages and could not be installed.

···

On Wed, Mar 12, 2014 at 10:02 AM, Daniel Kastl <daniel@georepublic.de> wrote:


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

George R. C. Silva
SIGMA Consultoria

http://www.consultoriasigma.com.br/

On Wed, Mar 12, 2014 at 9:54 PM, George Silva <georger.silva@gmail.com> wrote:

Hello everyone,

I’m trying to install 2.0 version of pgrouting and I can’t.

I’ve tried on a brand new server, but it complains about cgal9 and cgal8.

Is your server running Debian?

On Ubuntu these are in general all required packages:

sudo apt-get install git cmake build-essentials libcgal-dev libboost-graph-dev libboost-thread-dev postgresql-9.1-postgis postgresql-server-dev-9.1

Regards,
Daniel

Georepublic UG & Georepublic Japan
eMail: daniel.kastl@georepublic.de
Web: http://georepublic.info

I’ve download GCAL by hand and still get the same message.

:frowning:

···

On Wed, Mar 12, 2014 at 1:11 PM, George Silva <georger.silva@gmail.com> wrote:

Hi Daniel,

I’m on ubuntu 13.10, sorry to omit that info.

Still not working:

george@atlas:~/projetos/pleno.rotas/src$ sudo apt-get install git cmake build-essential libcgal-dev libboost-graph-dev libboost-thread-dev postgresql-9.1-postgis postgresql-server-dev-9.1
Reading package lists… Done
Building dependency tree
Reading state information… Done
build-essential is already the newest version.
cmake is already the newest version.
git is already the newest version.
libboost-thread-dev is already the newest version.
libboost-thread-dev set to manually installed.
libboost-graph-dev is already the newest version.
libcgal-dev is already the newest version.
postgresql-9.1-postgis is already the newest version.
postgresql-9.1-postgis set to manually installed.
postgresql-server-dev-9.1 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.

libcgal9 and 8 are still marked as virtual packages and could not be installed.

George R. C. Silva
SIGMA Consultoria

http://www.consultoriasigma.com.br/

On Wed, Mar 12, 2014 at 10:02 AM, Daniel Kastl <daniel@georepublic.de> wrote:


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

George R. C. Silva
SIGMA Consultoria

http://www.consultoriasigma.com.br/

On Wed, Mar 12, 2014 at 9:54 PM, George Silva <georger.silva@gmail.com> wrote:

Hello everyone,

I’m trying to install 2.0 version of pgrouting and I can’t.

I’ve tried on a brand new server, but it complains about cgal9 and cgal8.

Is your server running Debian?

On Ubuntu these are in general all required packages:

sudo apt-get install git cmake build-essentials libcgal-dev libboost-graph-dev libboost-thread-dev postgresql-9.1-postgis postgresql-server-dev-9.1

Regards,
Daniel

Georepublic UG & Georepublic Japan
eMail: daniel.kastl@georepublic.de
Web: http://georepublic.info

I’m sorry, I’ve downloaded and compiled it by hand, but still it’s the same.

···

On Wed, Mar 12, 2014 at 1:21 PM, George Silva <georger.silva@gmail.com> wrote:

I’ve download GCAL by hand and still get the same message.

:frowning:

George R. C. Silva
SIGMA Consultoria

http://www.consultoriasigma.com.br/

On Wed, Mar 12, 2014 at 1:11 PM, George Silva <georger.silva@gmail.com> wrote:

Hi Daniel,

I’m on ubuntu 13.10, sorry to omit that info.

Still not working:

george@atlas:~/projetos/pleno.rotas/src$ sudo apt-get install git cmake build-essential libcgal-dev libboost-graph-dev libboost-thread-dev postgresql-9.1-postgis postgresql-server-dev-9.1
Reading package lists… Done
Building dependency tree
Reading state information… Done
build-essential is already the newest version.
cmake is already the newest version.
git is already the newest version.
libboost-thread-dev is already the newest version.
libboost-thread-dev set to manually installed.
libboost-graph-dev is already the newest version.
libcgal-dev is already the newest version.
postgresql-9.1-postgis is already the newest version.
postgresql-9.1-postgis set to manually installed.
postgresql-server-dev-9.1 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.

libcgal9 and 8 are still marked as virtual packages and could not be installed.

George R. C. Silva
SIGMA Consultoria

http://www.consultoriasigma.com.br/

On Wed, Mar 12, 2014 at 10:02 AM, Daniel Kastl <daniel@georepublic.de> wrote:


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

George R. C. Silva
SIGMA Consultoria

http://www.consultoriasigma.com.br/

On Wed, Mar 12, 2014 at 9:54 PM, George Silva <georger.silva@gmail.com> wrote:

Hello everyone,

I’m trying to install 2.0 version of pgrouting and I can’t.

I’ve tried on a brand new server, but it complains about cgal9 and cgal8.

Is your server running Debian?

On Ubuntu these are in general all required packages:

sudo apt-get install git cmake build-essentials libcgal-dev libboost-graph-dev libboost-thread-dev postgresql-9.1-postgis postgresql-server-dev-9.1

Regards,
Daniel

Georepublic UG & Georepublic Japan
eMail: daniel.kastl@georepublic.de
Web: http://georepublic.info

George,

I have these Ubunto packages install:

$ apt-show-versions | grep cgal
libcgal-dev/precise uptodate 3.9-1build1
libcgal8/precise uptodate 3.9-1build1

And have not problems compiling and linking.

-Steve

On 3/12/2014 12:22 PM, George Silva wrote:

I'm sorry, I've downloaded and compiled it by hand, but still it's the same.

On Wed, Mar 12, 2014 at 1:21 PM, George Silva <georger.silva@gmail.com
<mailto:georger.silva@gmail.com>> wrote:

    I've download GCAL by hand and still get the same message.

    :(

    On Wed, Mar 12, 2014 at 1:11 PM, George Silva
    <georger.silva@gmail.com <mailto:georger.silva@gmail.com>> wrote:

        Hi Daniel,

        I'm on ubuntu 13.10, sorry to omit that info.

        Still not working:

        george@atlas:~/projetos/pleno.rotas/src$ sudo apt-get install
        git cmake build-essential libcgal-dev libboost-graph-dev
        libboost-thread-dev postgresql-9.1-postgis postgresql-server-dev-9.1
        Reading package lists... Done
        Building dependency tree
        Reading state information... Done
        build-essential is already the newest version.
        cmake is already the newest version.
        git is already the newest version.
        libboost-thread-dev is already the newest version.
        libboost-thread-dev set to manually installed.
        libboost-graph-dev is already the newest version.
        libcgal-dev is already the newest version.
        postgresql-9.1-postgis is already the newest version.
        postgresql-9.1-postgis set to manually installed.
        postgresql-server-dev-9.1 is already the newest version.
        0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.

        libcgal9 and 8 are still marked as virtual packages and could
        not be installed.

        On Wed, Mar 12, 2014 at 10:02 AM, Daniel Kastl
        <daniel@georepublic.de <mailto:daniel@georepublic.de>> wrote:

            On Wed, Mar 12, 2014 at 9:54 PM, George Silva
            <georger.silva@gmail.com <mailto:georger.silva@gmail.com>>
            wrote:

                Hello everyone,

                I'm trying to install 2.0 version of pgrouting and I can't.

                I've tried on a brand new server, but it complains about
                cgal9 and cgal8.

            Is your server running Debian?

            On Ubuntu these are in general all required packages:

            sudo apt-get install git cmake build-essentials libcgal-dev
            libboost-graph-dev libboost-thread-dev
            postgresql-9.1-postgis postgresql-server-dev-9.1

            Regards,
            Daniel

            --
            Georepublic UG & Georepublic Japan
            eMail: daniel.kastl@georepublic.de
            <mailto:daniel.kastl@georepublic.de>
            Web: http://georepublic.info

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

        --
        George R. C. Silva
        SIGMA Consultoria
        ----------------------------
        http://www.consultoriasigma.com.br/

    --
    George R. C. Silva
    SIGMA Consultoria
    ----------------------------
    http://www.consultoriasigma.com.br/

--
George R. C. Silva
SIGMA Consultoria
----------------------------
http://www.consultoriasigma.com.br/

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

george@atlas:/usr/local/lib$ apt-show-versions | grep cgal
libcgal-dev:amd64/saucy 4.2-4ubuntu1 uptodate
libcgal10:amd64/saucy 4.2-4ubuntu1 uptodate

The problem, I guess is that Ubuntu 13.10 is looking for the default 10 version. Does anyone know what version in CGAL download website corresponds to libcgal8/9? The numbers are totally different!

Still nothing. I removed everything and I’m trying to install the correct version.

···

On Wed, Mar 12, 2014 at 2:22 PM, Stephen Woodbridge <woodbri@swoodbridge.com> wrote:

George,

I have these Ubunto packages install:

$ apt-show-versions | grep cgal
libcgal-dev/precise uptodate 3.9-1build1
libcgal8/precise uptodate 3.9-1build1

And have not problems compiling and linking.

-Steve

On 3/12/2014 12:22 PM, George Silva wrote:

I’m sorry, I’ve downloaded and compiled it by hand, but still it’s the same.

On Wed, Mar 12, 2014 at 1:21 PM, George Silva <georger.silva@gmail.com

mailto:[georger.silva@gmail.com](mailto:georger.silva@gmail.com)> wrote:

I’ve download GCAL by hand and still get the same message.

:frowning:

On Wed, Mar 12, 2014 at 1:11 PM, George Silva

<georger.silva@gmail.com mailto:[georger.silva@gmail.com](mailto:georger.silva@gmail.com)> wrote:

Hi Daniel,

I’m on ubuntu 13.10, sorry to omit that info.

Still not working:

george@atlas:~/projetos/pleno.rotas/src$ sudo apt-get install
git cmake build-essential libcgal-dev libboost-graph-dev
libboost-thread-dev postgresql-9.1-postgis postgresql-server-dev-9.1
Reading package lists… Done
Building dependency tree
Reading state information… Done
build-essential is already the newest version.
cmake is already the newest version.
git is already the newest version.
libboost-thread-dev is already the newest version.
libboost-thread-dev set to manually installed.
libboost-graph-dev is already the newest version.
libcgal-dev is already the newest version.
postgresql-9.1-postgis is already the newest version.
postgresql-9.1-postgis set to manually installed.
postgresql-server-dev-9.1 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.

libcgal9 and 8 are still marked as virtual packages and could
not be installed.

On Wed, Mar 12, 2014 at 10:02 AM, Daniel Kastl

<daniel@georepublic.de mailto:[daniel@georepublic.de](mailto:daniel@georepublic.de)> wrote:

On Wed, Mar 12, 2014 at 9:54 PM, George Silva

<georger.silva@gmail.com mailto:[georger.silva@gmail.com](mailto:georger.silva@gmail.com)>

wrote:

Hello everyone,

I’m trying to install 2.0 version of pgrouting and I can’t.

I’ve tried on a brand new server, but it complains about
cgal9 and cgal8.

Is your server running Debian?

On Ubuntu these are in general all required packages:

sudo apt-get install git cmake build-essentials libcgal-dev
libboost-graph-dev libboost-thread-dev
postgresql-9.1-postgis postgresql-server-dev-9.1

Regards,
Daniel


Georepublic UG & Georepublic Japan
eMail: daniel.kastl@georepublic.de

mailto:[daniel.kastl@georepublic.de](mailto:daniel.kastl@georepublic.de)

Web: http://georepublic.info


Pgrouting-users mailing list
Pgrouting-users@lists.osgeo.org

mailto:[Pgrouting-users@lists.osgeo.org](mailto:Pgrouting-users@lists.osgeo.org)

http://lists.osgeo.org/mailman/listinfo/pgrouting-users


George R. C. Silva
SIGMA Consultoria

http://www.consultoriasigma.com.br/


George R. C. Silva
SIGMA Consultoria

http://www.consultoriasigma.com.br/


George R. C. Silva
SIGMA Consultoria

http://www.consultoriasigma.com.br/


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

George R. C. Silva
SIGMA Consultoria

http://www.consultoriasigma.com.br/

On Thu, Mar 13, 2014 at 2:22 AM, Stephen Woodbridge <woodbri@swoodbridge.com

wrote:

George,

I have these Ubunto packages install:

$ apt-show-versions | grep cgal
libcgal-dev/precise uptodate 3.9-1build1
libcgal8/precise uptodate 3.9-1build1

And have not problems compiling and linking.

-Steve

Hi George,

You could just install the pgRouting packages from this Launchpad PPA:
https://launchpad.net/~georepublic/+archive/pgrouting?field.series_filter=saucy

Daniel

--
Georepublic UG & Georepublic Japan
eMail: daniel.kastl@georepublic.de
Web: http://georepublic.info

Hello Daniel,

Still having the same problems. I was using the unstable ppa. I removed it and added the stable, updated apt-get, and tried. Still the same.

Should I just compile it?

···

On Wed, Mar 12, 2014 at 3:00 PM, Daniel Kastl <daniel@georepublic.de> wrote:


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

George R. C. Silva
SIGMA Consultoria

http://www.consultoriasigma.com.br/

On Thu, Mar 13, 2014 at 2:22 AM, Stephen Woodbridge <woodbri@swoodbridge.com> wrote:

George,

I have these Ubunto packages install:

$ apt-show-versions | grep cgal
libcgal-dev/precise uptodate 3.9-1build1
libcgal8/precise uptodate 3.9-1build1

And have not problems compiling and linking.

-Steve

Hi George,

You could just install the pgRouting packages from this Launchpad PPA:
https://launchpad.net/~georepublic/+archive/pgrouting?field.series_filter=saucy

Daniel

Georepublic UG & Georepublic Japan
eMail: daniel.kastl@georepublic.de

Web: http://georepublic.info

I’m sorry for all the noise, but I got it to compile just fine. The extension is installed.

Although the apt-get install is not working, this is sufficient for me.

Thanks!

···

On Wed, Mar 12, 2014 at 3:07 PM, George Silva <georger.silva@gmail.com> wrote:

Hello Daniel,

Still having the same problems. I was using the unstable ppa. I removed it and added the stable, updated apt-get, and tried. Still the same.

Should I just compile it?

George R. C. Silva
SIGMA Consultoria

http://www.consultoriasigma.com.br/

On Wed, Mar 12, 2014 at 3:00 PM, Daniel Kastl <daniel@georepublic.de> wrote:


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

George R. C. Silva
SIGMA Consultoria

http://www.consultoriasigma.com.br/

On Thu, Mar 13, 2014 at 2:22 AM, Stephen Woodbridge <woodbri@swoodbridge.com> wrote:

George,

I have these Ubunto packages install:

$ apt-show-versions | grep cgal
libcgal-dev/precise uptodate 3.9-1build1
libcgal8/precise uptodate 3.9-1build1

And have not problems compiling and linking.

-Steve

Hi George,

You could just install the pgRouting packages from this Launchpad PPA:
https://launchpad.net/~georepublic/+archive/pgrouting?field.series_filter=saucy

Daniel

Georepublic UG & Georepublic Japan
eMail: daniel.kastl@georepublic.de

Web: http://georepublic.info

On Thu, Mar 13, 2014 at 3:16 AM, George Silva <georger.silva@gmail.com>wrote:

I'm sorry for all the noise, but I got it to compile just fine. The
extension is installed.

Although the apt-get install is not working, this is sufficient for me.

Thanks!

Hi George,

You were right with CGAL dependency problem.
Lauchpad builds never reported an error, so I assumed it was OK (I never
updated to 13.10).
I don't know why the build was successful even if the dependency was not
met.

I just published an updated package in "pgrouting-unstable" PPA:
https://launchpad.net/~georepublic/+archive/pgrouting-unstable

And I tested it in a virtual machine and the package installs now.
I didn't test any queries, but I guess that it's OK.

Regards,
Daniel

--
Georepublic UG & Georepublic Japan
eMail: daniel.kastl@georepublic.de
Web: http://georepublic.info

Thanks! That’s super good news!

Thanks a lot Daniel!

···

On Wed, Mar 12, 2014 at 5:03 PM, Daniel Kastl <daniel@georepublic.de> wrote:


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

George R. C. Silva
SIGMA Consultoria

http://www.consultoriasigma.com.br/

On Thu, Mar 13, 2014 at 3:16 AM, George Silva <georger.silva@gmail.com> wrote:

I’m sorry for all the noise, but I got it to compile just fine. The extension is installed.

Although the apt-get install is not working, this is sufficient for me.

Thanks!

Hi George,

You were right with CGAL dependency problem.
Lauchpad builds never reported an error, so I assumed it was OK (I never updated to 13.10).
I don’t know why the build was successful even if the dependency was not met.

I just published an updated package in “pgrouting-unstable” PPA:
https://launchpad.net/~georepublic/+archive/pgrouting-unstable

And I tested it in a virtual machine and the package installs now.
I didn’t test any queries, but I guess that it’s OK.

Regards,
Daniel

Georepublic UG & Georepublic Japan
eMail: daniel.kastl@georepublic.de
Web: http://georepublic.info