<div dir="ltr">Hi Boris,<div><br></div><div>I can't say much about Redhat/CentOS, but I thought there should also be packages available on those platforms.</div><div>On Debian/Ubuntu you can add the PostgreSQL maintained repositories and always have access to the latest versions.</div><div>I haven't tried, but this might be also the case for CentOS: <a href="https://www.postgresql.org/download/">https://www.postgresql.org/download/</a></div><div><br></div><div>This is just an example, something that showed up early in my search results:</div><div><a href="https://centos.pkgs.org/7/postgresql-12-x86_64/pgrouting_12-3.0.0-1.rhel7.x86_64.rpm.html">https://centos.pkgs.org/7/postgresql-12-x86_64/pgrouting_12-3.0.0-1.rhel7.x86_64.rpm.html</a><br></div><div>It lists required package names. And you can download the SRC package, open it and look into the ".spec" file, which may look like this:</div><div><br></div><div><font face="monospace">Summary:     Routing functionality for PostGIS<br>Name:                %{sname}_%{pgmajorversion}<br>Version:    %{pgroutingmajorversion}.0<br>Release:    1%{dist}<br>License:      GPLv2<br>Source0: <a href="https://github.com/pgRouting/%{sname}/archive/v%{version}.tar.gz">https://github.com/pgRouting/%{sname}/archive/v%{version}.tar.gz</a><br>URL:             <a href="https://pgrouting.org/">https://pgrouting.org/</a><br>BuildRequires:       gcc-c++<br>%if 0%{?rhel} && 0%{?rhel} == 7<br>BuildRequires:        cmake3<br># EPEL:<br>BuildRequires: boost169-devel<br>%else<br>BuildRequires:   cmake => 2.8.8<br>BuildRequires:       boost-devel >= 1.53<br>%endif<br>BuildRequires:  postgresql%{pgmajorversion}-devel<br>BuildRequires:       gmp-devel<br>Requires:    postgis30_%{pgmajorversion} >= %{postgismajorversion}<br>Requires:     postgresql%{pgmajorversion}</font><br></div><div><br></div><div>.... if you really want to build yourself.</div><div><br></div><div>Hope that helps,</div><div>Daniel</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 3, 2020 at 10:41 PM Boris Hikin <<a href="mailto:boris.hikin@gmail.com">boris.hikin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thank you for your replay Daniel,<div><br></div><div>Do you think it will be better to install it on debian or ubuntu ?</div><div>I installing it on centos 7</div><div><br></div><div> </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 3 Sep 2020 at 16:28, Daniel Kastl <<a href="mailto:daniel@georepublic.de" target="_blank">daniel@georepublic.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Boris,<div><br></div><div>Do you have all build dependencies installed?</div><div><a href="https://docs.pgrouting.org/latest/en/pgRouting-installation.html#dependencies" target="_blank">https://docs.pgrouting.org/latest/en/pgRouting-installation.html#dependencies</a><br></div><div><br></div><div>In particular you may be missing the postgresql-server-dev-xx package as it's named in Debian/Ubuntu. </div><div><br></div><div>Looking at your error output it seems like you try to compile pgRouting 2.4.</div><div>There are already much newer versions in the meanwhile, so you may better try those.</div><div><br></div><div>Best regards,</div><div>Daniel</div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 3, 2020 at 8:51 PM Boris Hikin <<a href="mailto:boris.hikin@gmail.com" target="_blank">boris.hikin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi i am getting error when i make pgrouting<div><br></div><div> [  0%] Built target ProcessSQLFiles<br>[  0%] Built target build-time-sql-directory<br>[  1%] Building C object src/withPoints/src/CMakeFiles/withPoints.dir/one_to_one_withPoints.c.o<br>In file included from /usr/include/pgsql/server/c.h:53:0,<br>                 from /usr/include/pgsql/server/postgres.h:47,<br>                 from /root/pgrouting-2.4.0/src/withPoints/src/./../../common/src/postgres_connection.h:34,<br>                 from /root/pgrouting-2.4.0/src/withPoints/src/one_to_one_withPoints.c:30:<br>/usr/include/pgsql/server/pg_config.h:14:30: fatal error: pg_config_x86_64.h: No such file or directory<br> #include "pg_config_x86_64.h"<br>                              ^<br>compilation terminated.<br>make[2]: *** [src/withPoints/src/CMakeFiles/withPoints.dir/one_to_one_withPoints.c.o] Error 1<br>make[1]: *** [src/withPoints/src/CMakeFiles/withPoints.dir/all] Error 2<br>make: *** [all] Error 2</div><div><br></div><div><br></div><div>do you know about this error ?</div><div><br></div><div>Thank You</div><div>Boris</div></div>
_______________________________________________<br>
Pgrouting-users mailing list<br>
<a href="mailto:Pgrouting-users@lists.osgeo.org" target="_blank">Pgrouting-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/pgrouting-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/pgrouting-users</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse">Georepublic UG & Georepublic Japan<br>eMail: <a href="mailto:daniel.kastl@georepublic.de" style="color:rgb(66,99,171)" target="_blank">daniel.kastl@georepublic.de</a><br>Web: <a href="https://georepublic.info" target="_blank">https://georepublic.info</a></span><div><br></div><div><br></div><div><br></div></div></div></div></div>
_______________________________________________<br>
Pgrouting-users mailing list<br>
<a href="mailto:Pgrouting-users@lists.osgeo.org" target="_blank">Pgrouting-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/pgrouting-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/pgrouting-users</a></blockquote></div>
_______________________________________________<br>
Pgrouting-users mailing list<br>
<a href="mailto:Pgrouting-users@lists.osgeo.org" target="_blank">Pgrouting-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/pgrouting-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/pgrouting-users</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse">Georepublic UG & Georepublic Japan<br>eMail: <a href="mailto:daniel.kastl@georepublic.de" style="color:rgb(66,99,171)" target="_blank">daniel.kastl@georepublic.de</a><br>Web: <a href="https://georepublic.info" target="_blank">https://georepublic.info</a></span><div><br></div><div><br></div><div><br></div></div></div></div></div>