Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make failed in ubuntu 23.04 (with quick and dirty fix) #4434

Open
paapu88 opened this issue Mar 8, 2024 · 0 comments
Open

make failed in ubuntu 23.04 (with quick and dirty fix) #4434

paapu88 opened this issue Mar 8, 2024 · 0 comments

Comments

@paapu88
Copy link

paapu88 commented Mar 8, 2024

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:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant