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

Compilation failure on debian/jessie #1

Closed
eserte opened this issue Oct 14, 2016 · 1 comment
Closed

Compilation failure on debian/jessie #1

eserte opened this issue Oct 14, 2016 · 1 comment

Comments

@eserte
Copy link
Contributor

eserte commented Oct 14, 2016

On debian/jessie systems with installed package librdkafka-dev (version 0.8.5-2) the compilation fails:

cc -c   -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2   -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC "-I/opt/perl-5.22.2/lib/5.22.2/x86_64-linux/CORE"   Rdkafka.c
Rdkafka.xs: In function 'XS_Kafka__Librd_subscribe':
Rdkafka.xs:64:9: error: unknown type name 'rd_kafka_topic_partition_list_t'
         rd_kafka_topic_partition_list_t* topic_list;
         ^
...
Rdkafka.xs: In function 'XS_Kafka__Librd__Error_rd_kafka_get_err_descs':
Rdkafka.xs:198:13: error: invalid use of undefined type 'struct rd_kafka_err_desc'
             if (descs[i].name != NULL) {
             ^
...
@trinitum
Copy link
Collaborator

Thank you, I see the problem. The module requires librdkafka 0.9.1, as it implements high-level kafka consumer. I will try and see over the weekend if I can produce Alien module that would install the required version.

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

2 participants