How to install the rabbitmq-c-aafba2c665b5 version of rabbitmq-C

Source: Internet
Author: User

Http://hi.baidu.com/snowhilloldman/blog/item/a26830dd76b768205882dd30.html

Installation of a library should not be a spam.ArticleIt's just that I am really miserable and hope the audience can understand it!

Download this library first: (After clicking it, the file name will automatically become rabbitmq-c-aafba2c665b5.tar.gz)
Http://hg.rabbitmq.com/rabbitmq-c/archive/tip.tar.gz

The last update time for this library is, and its version is named: rabbitmq-c-20100420

Download another library: (the file name will automatically become rabbitmq-codegen-5c1cb4cd1b52.tar.gz)
Http://hg.rabbitmq.com/rabbitmq-codegen/archive/tip.tar.gz
Why? Later

Upload and execute:
Tar-zxvf rabbitmq-c-aafba2c665b5.tar.gz
CD rabbitmq-c-aafba2c665b5
Autoreconf-I # automatic configuration
./Configure -- prefix =/home/ahfu/rabbitmq-c-20100420 -- disable-shared -- enable-static
This step reports the following error:
Checking location of amqp codegen directory... configure: Error: cocould not find amqp spec file at "'/home/ahfu/rabbitmq-c-aafba2c665b5/codegen/amqp-0.9.1.json '"

compile a C library that actually requires Python and JSON. You can say that the neural network is not neural.
okay:
tar-zxvf rabbitmq-codegen-5c1cb4cd1b52.tar.gz
Cd rabbitmq-c-aafba2c665b5/
mkdir codegen
CP .. /rabbitmq-codegen-5c1cb4cd1b52/* codegen/
create directory, continue:
. /configure -- prefix =/home/ahfu/rabbitmq-c-20100420 -- disable-shared -- enable-static
make install
finally ready !!!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.