[ 0%] Built target ProcessSQLFiles
[ 0%] Built target build-time-sql-directory
[ 1%] Building C object src/withPoints/src/CMakeFiles/withPoints.dir/one_to_one_withPoints.c.o
In file included from /usr/include/pgsql/server/c.h:53:0,
from /usr/include/pgsql/server/postgres.h:47,
from /root/pgrouting-2.4.0/src/withPoints/src/./…/…/common/src/postgres_connection.h:34,
from /root/pgrouting-2.4.0/src/withPoints/src/one_to_one_withPoints.c:30:
/usr/include/pgsql/server/pg_config.h:14:30: fatal error: pg_config_x86_64.h: No such file or directory #include “pg_config_x86_64.h”
^
compilation terminated.
make[2]: *** [src/withPoints/src/CMakeFiles/withPoints.dir/one_to_one_withPoints.c.o] Error 1
make[1]: *** [src/withPoints/src/CMakeFiles/withPoints.dir/all] Error 2
make: *** [all] Error 2
In particular you may be missing the postgresql-server-dev-xx package as it’s named in Debian/Ubuntu.
Looking at your error output it seems like you try to compile pgRouting 2.4.
There are already much newer versions in the meanwhile, so you may better try those.
In particular you may be missing the postgresql-server-dev-xx package as it’s named in Debian/Ubuntu.
Looking at your error output it seems like you try to compile pgRouting 2.4.
There are already much newer versions in the meanwhile, so you may better try those.
[ 0%] Built target ProcessSQLFiles
[ 0%] Built target build-time-sql-directory
[ 1%] Building C object src/withPoints/src/CMakeFiles/withPoints.dir/one_to_one_withPoints.c.o
In file included from /usr/include/pgsql/server/c.h:53:0,
from /usr/include/pgsql/server/postgres.h:47,
from /root/pgrouting-2.4.0/src/withPoints/src/./…/…/common/src/postgres_connection.h:34,
from /root/pgrouting-2.4.0/src/withPoints/src/one_to_one_withPoints.c:30:
/usr/include/pgsql/server/pg_config.h:14:30: fatal error: pg_config_x86_64.h: No such file or directory #include “pg_config_x86_64.h”
^
compilation terminated.
make[2]: *** [src/withPoints/src/CMakeFiles/withPoints.dir/one_to_one_withPoints.c.o] Error 1
make[1]: *** [src/withPoints/src/CMakeFiles/withPoints.dir/all] Error 2
make: *** [all] Error 2
I can’t say much about Redhat/CentOS, but I thought there should also be packages available on those platforms.
On Debian/Ubuntu you can add the PostgreSQL maintained repositories and always have access to the latest versions.
I haven’t tried, but this might be also the case for CentOS: https://www.postgresql.org/download/
I can’t say much about Redhat/CentOS, but I thought there should also be packages available on those platforms.
On Debian/Ubuntu you can add the PostgreSQL maintained repositories and always have access to the latest versions.
I haven’t tried, but this might be also the case for CentOS: https://www.postgresql.org/download/
In particular you may be missing the postgresql-server-dev-xx package as it’s named in Debian/Ubuntu.
Looking at your error output it seems like you try to compile pgRouting 2.4.
There are already much newer versions in the meanwhile, so you may better try those.
[ 0%] Built target ProcessSQLFiles
[ 0%] Built target build-time-sql-directory
[ 1%] Building C object src/withPoints/src/CMakeFiles/withPoints.dir/one_to_one_withPoints.c.o
In file included from /usr/include/pgsql/server/c.h:53:0,
from /usr/include/pgsql/server/postgres.h:47,
from /root/pgrouting-2.4.0/src/withPoints/src/./…/…/common/src/postgres_connection.h:34,
from /root/pgrouting-2.4.0/src/withPoints/src/one_to_one_withPoints.c:30:
/usr/include/pgsql/server/pg_config.h:14:30: fatal error: pg_config_x86_64.h: No such file or directory #include “pg_config_x86_64.h”
^
compilation terminated.
make[2]: *** [src/withPoints/src/CMakeFiles/withPoints.dir/one_to_one_withPoints.c.o] Error 1
make[1]: *** [src/withPoints/src/CMakeFiles/withPoints.dir/all] Error 2
make: *** [all] Error 2