Open yurinek opened 5 years ago
Hi , I try to install it for pg 11 on debian stretch. On 2 servers I got the same error.
My script:
sudo apt-get -y install git gcc g++ zlib1g-dev make postgresql-server-dev-${NEWVERSION}
mkdir ~/git
git config --global http.sslVerify false
git clone -b v0.11.6 https://github.com/edenhill/librdkafka.git ~/git/librdkafka git clone https://github.com/pipelinedb/pipeline_kafka.git ~/git/pipeline_kafka
cd ~/git/librdkafka bash configure --prefix=/usr make sudo make install
cd ~/git/pipeline_kafka bash configure make sudo make install
~/git/pipeline_kafka# make # outputs following errors: " gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fno-omit-frame-pointer -fPIC -I/usr/include/postgresql -I/usr/include/postgresql/11/server/../pipelinedb -I. -I./ -I/usr/include/postgresql/11/server -I/usr/include/postgresql/internal -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/mit-krb5 -c -o pipeline_kafka.o pipeline_kafka.c pipeline_kafka.c:32:20: fatal error: config.h: No such file or directory
^
compilation terminated.
the issue is that pipelinedb package has not been installed sudo apt install -y pipelinedb-postgresql-11 solved the problem
sudo apt install -y pipelinedb-postgresql-11
Hi , I try to install it for pg 11 on debian stretch. On 2 servers I got the same error.
My script:
sudo apt-get -y install git gcc g++ zlib1g-dev make postgresql-server-dev-${NEWVERSION}
mkdir ~/git
git config --global http.sslVerify false
git clone -b v0.11.6 https://github.com/edenhill/librdkafka.git ~/git/librdkafka git clone https://github.com/pipelinedb/pipeline_kafka.git ~/git/pipeline_kafka
cd ~/git/librdkafka bash configure --prefix=/usr make sudo make install
cd ~/git/pipeline_kafka bash configure make sudo make install
~/git/pipeline_kafka# make # outputs following errors: " gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fno-omit-frame-pointer -fPIC -I/usr/include/postgresql -I/usr/include/postgresql/11/server/../pipelinedb -I. -I./ -I/usr/include/postgresql/11/server -I/usr/include/postgresql/internal -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/mit-krb5 -c -o pipeline_kafka.o pipeline_kafka.c pipeline_kafka.c:32:20: fatal error: config.h: No such file or directory
include "config.h"
compilation terminated.