I had the same problem. To make work my qpid python tools on my ubuntu I need 
to make a little change in the file : 
[qpid_python_install]/specs/amqp.0-10-qpid-errata.xml

my diff :

-<!DOCTYPE amqp SYSTEM "amqp.0-10.dtd">
+<!DOCTYPE amqp SYSTEM 
"file:///home/mffrench/work/AMQP/QPID/qpid/specs/amqp.0-10.dtd">

It should be usable then

++


I have python installed on my machine and  i did set the environment variable 
PYTHONPATH but still problem is persist...


You need python installed and you need to set your python path in the
directory above commands.

qpid-tool is a good one to start with.

qpid-tool <queueserver>

need to wait a little for results.

list
list queue
show 110(number that shows up in list).

Adam



On Tue, Mar 24, 2009 at 9:32 AM, ft420 <[email protected]> wrote:
>
> Hi
> I downloaded http://www.apache.org/dist/qpid/M4/qpid-python-M4.tar.gz  from 
> http://qpid.apache.org/download.html but how to install this? does this cmd 
> tools requires python be preinstalled in the system?
> I tried the tools in /python/commands folder but it gives command not found 
> error..
> i did check the FAQ where in following is given::
> How to install the qpid-tools for c++ broker?
> I see
> [commands]$ ./qpid-queue-stats
>  Traceback (most recent call last):
>  File "./qpid-queue-stats", line 29, in
>  from qmf.console import Session, Console
>  ImportError: No module named qmf.consoleThis problem occurs because the 
> PYTHONPATH environment variable does not include the location of the qpid 
> python files. If you are running from the SVN checkout, add 
> <path>/qpid/python to PYTHONPATH (where <path> is the location of your SVN 
> tree). 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
> If you are running from vendor RPMs, this should work automatically.
>
> there is no configure file in qpid-python-M4?? i am confused as to how to use 
> the qpid-tools???
> Thanks
>
> --
> View this message in context: 
> http://n2.nabble.com/how-to-use-qpid-tools-for-c%2B%2B-broker-tp2526501p2526501.html
> Sent from the Apache Qpid users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:[email protected]
>
>

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]






-- 
View this message in context: 
http://n2.nabble.com/how-to-use-qpid-tools-for-c%2B%2B-broker-tp2526501p2527204.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to