pipelinedb / pipeline_kafka

PipelineDB extension for Kafka support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compile src code failed !

GangLiCN opened this issue · comments

Hello,

When compiling "pipeline-kafka" src code, I hit below error:

gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -fPIC -I. -I./ -I/home/postgres/pg11/include/server -I/home/postgres/pg11/include/internal -D_GNU_SOURCE -c -o pipeline_kafka.o pipeline_kafka.c
pipeline_kafka.c:24:40: fatal error: catalog/pipeline_stream_fn.h: No such file or directory

I'm using latest version of "pipeline_kafka" src code package(0.9.5)

Some investigations that I finished:

  1. From pipelinedb src code(I use 1.0 version pipelinedb) dir, there is no dir named "catalog",
    also there is no file "pipeline_stream_fn.h" exists on include dir;

  2. Instead, "pipeline_stream.h" exists on include dir.

So, my questions are: In order to get "pipeline_kafka" src to be compiled successfully,

  1. Which version of pipelinedb that "pipeline-kafka" src can work on ?
  2. Which version of "librdkafka" that "pipeline-kafka" reply on ?

Thanks for your help in advance.

@GangLiCN for PipelineDB 1.0.0 you'll want to build pipeline_kafka from the master branch.