好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

InstallZeromq - Windows操作系统 - 自学php

In the ubuntu 12.04 server version

check system:

 

uname -a

 

</step01>

 

sudo apt-get update

 

</step02>

check latest version of zeromq:

please visit: http://zeromq.org/area:download

</step03>

 

wget http://download.zeromq.org/zeromq-4.0.5.tar.gz

You will see:

 

</step04>

 

apt-get install libtool autoconf automake

You are maybe see those:

 

</step05>

 

apt-get install uuid-dev g++


 

You are maybe see those:

</step06>

 

apt-get install python-dev

You are maybe see those:

 

</step07>

check your download target:

</step08>

unpack package:

 

tar -zxvf zeromq-4.0.5.tar.gz 

You will see those:

 

</step09>

 

easy_install pyzmq

 

but ..I got a bug here:

when I run the line of code below:

It's show me I have a error:

</step10>

 

 rm /var/lib/apt/lists/* -vf

apt-get update

 

run </step04> again:

I got those tips:


 

Okay,I don'y care it ..keep going ..

run</step05>

run</step06>

run</step09>

</step11>

 

./configure

make

make install

ldconfig


 

</step12>

 

pip install pyzmq
or

 

 

easy_install pip

 


I gotta fix this error:

so i run:

 

apt-get install python-dev
but i got another error again:

 


so fix it is first ..

 

apt-get --fix-broken install
apt-get install python-dev

You will see those:

 


 

</step13>

easy_install pyzmq

You will see those:

</step14>

Testing:

 

python -c "import zmq"

 

You will see those:

 

查看更多关于InstallZeromq - Windows操作系统 - 自学php的详细内容...

  阅读:45次