网站地图    收藏   

主页 > 系统 > windows >

InstallZeromq - Windows操作系统 - 自学php

来源:自学PHP网    时间:2015-04-17 17:13 作者: 阅读:

[导读] In the ubuntu 12 04 server version check system:uname -a step01sudo apt-get update step02check latest version of zeromq:please visit: http: zeromq org area:download...

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

 

error: Setup script exited with error: command 'gcc' failed with exit status 1


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:

\

 

自学PHP网专注网站建设学习,PHP程序学习,平面设计学习,以及操作系统学习

京ICP备14009008号-1@版权所有www.zixuephp.com

网站声明:本站所有视频,教程都由网友上传,站长收集和分享给大家学习使用,如由牵扯版权问题请联系站长邮箱904561283@qq.com

添加评论