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 !!!