You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did make of the main branch with ubuntu 23.04 and got at some point error:
fatal error: libpq-fe.h: No such file or directory
This was fixed by
sudo apt-get install libpq-dev
So my total procedure was:
sudo apt-get install libpq-dev
export MASON_BUILD=true
cd ~/git/OtherPeople
git clone https://github.com/mapnik/mapnik.git
cd mapnik
git submodule update --init
./configure
JOBS=8 make
Notice: dependencies not met for plugin 'postgis', not building...
Notice: dependencies not met for plugin 'pgraster', not building...
Notice: dependencies not met for plugin 'gdal', not building...
Notice: dependencies not met for plugin 'ogr', not building...
For some reason I was still getting error in make:
related to file test/unit/datasource/postgis.cpp
So I simply renamed that: mv test/unit/datasource/postgis.cpp test/unit/datasource/postgis.cpp.orig
And now make was running through and sudo make install worked.
Perhaps also make clean would have done the trick, but did not try.
Terveisin Markus
The text was updated successfully, but these errors were encountered:
Dear developers,
I did make of the main branch with ubuntu 23.04 and got at some point error:
fatal error: libpq-fe.h: No such file or directory
This was fixed by
sudo apt-get install libpq-dev
So my total procedure was:
For some reason I was still getting error in make:
related to file
test/unit/datasource/postgis.cpp
So I simply renamed that:
mv test/unit/datasource/postgis.cpp test/unit/datasource/postgis.cpp.orig
And now make was running through and sudo make install worked.
Perhaps also make clean would have done the trick, but did not try.
Terveisin Markus
The text was updated successfully, but these errors were encountered: