Problems with installing and testing rabbitmq-c

Source: Internet
Author: User
Tags rabbitmq amq
When problems occur in the installation and test of rabbitmq-c due to the original installation and test of rabbitmq-c https://github.com/alanxz/rabbitmq-c The provided steps are carried out step by step, and the final result is displayed. Delivery1, exchangeamq. direct... when problems occur in the installation and test of rabbitmq-c due to the original installation and test of rabbitmq-c https://github.com/alanxz/rabbitmq-c Step by step. The final result is displayed, "Delivery 1, exchange amq. direct routingkey test Content-type: text/plain ", but the transmitted" hello world "has not been detected ". So I pushed it back and re-installed it by step, but there were hundreds of problems. I thought it was a problem with CMAKE. of course, this cmake also had a problem, that is, I just downloaded and installed it again after rm was dropped, however, cmake: file exists always appears when it is moved to usr/bin, for example, "ln: failed to create symbolic link '/usr/bin/ccmake ': file exists "and so on, and then delete the original installation package, and then repeat git clone and install the package. Finally, return to rabbitmq-c and go to "cmake-DCMAKE_INSTALL_PREFIX =/usr/local .. cmake -- build. -- target install always has an error, that is, a file or something is missing. when "autoreconf-I" is reached, "'configure. AC' or 'configure. in 'is required ", so google found that cmake-DCMAKE_INSTALL_PREFIX =/usr/local, and then executed" make clean & make & sudo make install ", then the problem is solved. Problem Analysis: It is estimated that when you re-delete and re-install the environment variable, the original environment variable is still there, and every time later, make will not be included, so you need to clean it. Now I finally see: "timky @ timky-Satellite-L510 :~ /Documents/intership/rabbitmq/rabbitmq-c-rabbitmq-c-v0.3.0 $ "after" v0.3.0 $. /examples/amqp_listen localhost 5672 amq. direct testResult 0 Frame type 1, channel 1 Method AMQP_BASIC_DELIVER_METHODDelivery 1, exchange amq. direct routingkey testContent-type: text/plain ---- 00000000: 68 65 6C 6C 6F 20 77 6F: 72 6C 64 hello world0000000B :"

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.