Problems with the installation and test of rabbitmq-c due to the original installation and test of rabbitmq-c, press Protocol 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 :"