老Debian的RabbitMQ c++客户端

RabbitMQ C++ client for old Debian

本文关键字:c++ 客户端 RabbitMQ Debian      更新时间:2023-10-16

我有一个旧的Debian (Lenny),我开发了一个应用程序,应该连接到RabbitMQ。我从https://github.com/alanxz/rabbitmq-c/releases/tag/v0.8.0下载了官方的c++客户端rabbitmq-c-0.8.0,但不幸的是,我无法在我的旧Debian上编译它:

wget https://github.com/alanxz/rabbitmq-c/archive/v0.8.0.tar.gz
tar zxvf v0.8.0.tar.gz
autoreconf -i
结果:

autoreconf -i
/usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of AM_PATH_LIBMCRYPT
/usr/share/aclocal/libmcrypt.m4:17:   run info '(automake)Extending aclocal'
/usr/share/aclocal/libmcrypt.m4:17:   or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
Makefile.am:6: Libtool library used but `LIBTOOL' is undefined
Makefile.am:6:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
Makefile.am:6:   to `configure.ac' and run `aclocal' and `autoconf' again.
Makefile.am:6:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
Makefile.am:6:   its definition is in aclocal's search path.
autoreconf2.50: automake failed with exit status: 1

我拥有的automake版本(无法升级):1:1.10.1-3

libtool的版本(我不能升级它):1.5.26-4+lenny1

有人知道如何在我使用的旧操作系统上构建RabbitMQ客户端吗?

多谢! !

最终,最好的解决方案是迁移到ubuntu 14+