Closed GeorgeShagov closed 5 years ago
alien_repository => {
protocol => 'https',
exact_filename => 'https://github.com/edenhill/librdkafka/archive/v0.11.6.tar.gz',
exact_version => 'v0.11.6',
},
here is the latest:
https://github.com/edenhill/librdkafka/archive/v1.1.0.zip
changed to tbz will you be able to deploy to cpan? thx in advance
You can use the environment to override the repo values:
https://metacpan.org/pod/Alien::Base::ModuleBuild#ALIEN_${MODULENAME}_REPO_${PROTOCOL}_${KEY}
You can also install librdkafka manually and add the lib/pkgconf
directory to PKG_CONFIG_PATH
. That would use it as a system library.
Hello
had this update been deployed to cpan I wonder, I tried to rebuild from cpan, and still see:
#define RD_KAFKA_VERSION 0x000b06ff
thx in advance
Is that for a system
or share
install? This is what I see for a share install:
veracious% cd `perl -MAlien::Librdkafka -E 'say Alien::Librdkafka->dist_dir'`/include
Use of uninitialized value $1 in concatenation (.) or string at /home/ollisg/perl5/lib/perl5/Alien/Base.pm line 285.
Use of uninitialized value $1 in concatenation (.) or string at /home/ollisg/perl5/lib/perl5/Alien/Base.pm line 285.
Could not resolve -lstdc++ at -e line 0.
veracious% grep RD_KAFKA_VERSION librdkafka/*.h
librdkafka/rdkafka.h:#define RD_KAFKA_VERSION 0x010100ff
librdkafka/rdkafka.h: * @sa See RD_KAFKA_VERSION for how to parse the integer format.
librdkafka/rdkafkacpp.h:#define RD_KAFKA_VERSION 0x010100ff
librdkafka/rdkafkacpp.h: * @sa See RD_KAFKA_VERSION for how to parse the integer format.
The latest release for librdkafka is 1.1.0 Yet when I tried to install
sudo cpanm --reinstall --force Kafka::Librd
I see that librdkafka is 0.11.6 Is there any way to specify the version of librdkafka? thx