ossc-db / pg_bulkload

High speed data loading utility for PostgreSQL
http://ossc-db.github.io/pg_bulkload/index.html
Other
433 stars 75 forks source link

Build Errors Postgresql 14 - master branch #125

Closed Kelo closed 2 years ago

Kelo commented 2 years ago

Hello,

I'm getting this error when trying to make

pgut/pgut.h:13:10: fatal error: c.h: No such file or directory
   13 | #include "c.h"
      |          ^~~~~
compilation terminated.

These are the steps I've taken to setup the project:

mkdir github
cd github
git clone https://github.com/ossc-db/pg_bulkload.git
sudo apt-get install build-essential 
sudo apt-get install postgresql-14 
make

I've also tried to use postgresql 13, resulting in the same error. Are there any steps I'm missing?

mikecaat commented 2 years ago

Hi, why don't you install postgresql-server-dev-14?

ref. https://github.com/ossc-db/pg_bulkload/blob/master/.github/workflows/build.yml

Kelo commented 2 years ago

Ah okay, I'll do that. Thanks.