I guess I solve this. I remember I started up qpidd with non-default port. So I issued qpid-config with explicit -b option, and it works:-)
在 2012年3月31日 下午5:51,Zhihua Che <[email protected]> 写道: > I learn from FAQ that > > How to install the qpid-tools for c++ broker? > * > * > If you are installing from source, make sure you configure with the > same prefix where Python is installed. This is most likely: > > # configure --prefix=/usr > # make > # make install > > As for me, I configure with --prefix=/usr/local, does it matter? I > really doubt if it's necessary:-( > > 在 2012年3月31日 下午5:10,Zhihua Che <[email protected]> 写道: >> Hi, everyone >> >> Sorry to bother you all. I'd say I get another problem about >> qpid-config. I''ve written an example using qpid::messaging. And it >> works:-). >> >> Furthermore, I wanna I can control my qpidd using tools like qpid-config. >> I installed tools following the steps below: >> >> cd <src-dir>/extras/qmf/ >> python setup.py build >> python setup.py install >> >> cd <src-dir>/tools >> python setup.py build >> sudo python setup.py install >> >> export PYTHONPATH=<src/dir>/python:<src/dir>/extras/qmf/src/py >> >> After these setups, I issued qpid-config --help, it printed help info. >> I thought it is installed correctly. >> Unfortunately, I was wrong, when I issued qpid-config add queue xxx, >> it complained >> >> Failed: VersionError: client: 0-10, server: 9-1 >> >> I guess it was caused by mismatch between the version of broker and >> that of client. But I installed them all from the same code >> repository. Did I miss something. >> >> Appreciate any help:-( --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
