Je suis ne pas compilé la bibliothèque rabbitmq-c
sous Mac OS 10.6.6Comment compiler la bibliothèque rabbitmq-c sur Mac OS X?
J'ai l'intention de construire l'extension php-ampq
contre elle.
J'ai essayé à la fois la dernière branche de rabbitmq-c
et rabbitmq-codegen
selon la instructions here et les branches spécifiques selon le instructions here.
Exécution autoreconf -i
selon les instructions que j'obtenir:
glibtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
glibtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
glibtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:12: installing `./config.sub'
configure.ac:12: required file `./ltmain.sh' not found
configure.ac:3: installing `./missing'
configure.ac:3: installing `./install-sh'
configure.ac:12: installing `./config.guess'
examples/Makefile.am: installing `./depcomp'
autoreconf: automake failed with exit status: 1
Courir simplement autoconf
je reçois:
configure.ac:3: error: possibly undefined macro: AM_INIT_AUTOMAKE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:12: error: possibly undefined macro: AM_PROG_LIBTOOL
configure.ac:90: error: possibly undefined macro: AM_CONDITIONAL
La plupart de ce que je peux trouver en recherchant en ligne suggère que je n'ont pas libtool
ou automake
. J'ai les deux. J'ai peur que je ne sois pas à bout avec autoconf, donc je ne sais pas comment/où modifier configure.ac, ou si l'avertissement est n'importe quoi avec le fichier ltmain.sh
manquant.
Vous devriez poser cette question sur la RabbitMQ Discuter liste de diffusion. Le mainteneur actuel de rabbitmq-c répond aux questions ici. Ou, ouvrez un problème sur la page GitHub: https://github.com/alanxz/rabbitmq-c – scvalex