WebFaction
Community site: login faq

Is it possible to install and use ZeroMQ on WebFaction? Specifically, with Python using pyzmq. I tried:

easy_install pyzmq

But that failed... any assistance?

asked 11 Sep '11, 17:58

FogleBird
111
accept rate: 0%


It should be possible however you would have to build ZMQ before installing the python binding, as we do not have it installed already and python appears to require it to build its binding,

$ easy_install-2.7 pyzmq
Searching for pyzmq
Reading http://pypi.python.org/simple/pyzmq/
Reading http://github.com/zeromq/pyzmq
Reading http://github.com/zeromq/pyzmq/downloads
Best match: pyzmq 2.1.9
Downloading https://github.com/downloads/zeromq/pyzmq/pyzmq-2.1.9.zip
Processing pyzmq-2.1.9.zip
Running pyzmq-2.1.9/setup.py -q bdist_egg --dist-dir /tmp/easy_install-j4x6mm/pyzmq-2.1.9/egg-dist-tmp-W2lSSK
******************************************
Configure: Autodetecting ZMQ settings...
    Custom ZMQ dir:       None
detect/vers.c:3:17: error: zmq.h: No such file or directory
detect/vers.c: In function ‘main’:
detect/vers.c:7: warning: implicit declaration of function ‘zmq_version’
Fatal: 
    Failed to compile ZMQ test program.  Please check to make sure:

    * You have a C compiler installed
    * A development version of Python is installed (including header files)
    * A development version of ZMQ >= 2.1.4 is installed (including header files)
    * If ZMQ is not in a default location, supply the argument --zmq=<path>
    * If you did recently install ZMQ to a default location, 
      try rebuilding the ld cache with `sudo ldconfig`
      or specify zmq's location with `--zmq=/usr/local`

******************************************
error: Setup script exited with 142

The download/installation instructions outlined here should work,

http://www.zeromq.org/intro:get-the-software

Just remember you will not use 'sudo' as you do not have root access.

You may still end up needing to build or install the python module manually, if you run into any trouble paste the error here so we can see.

permanent link

answered 11 Sep '11, 19:08

johns
5.4k312
accept rate: 23%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×337
×1

question asked: 11 Sep '11, 17:58

question was seen: 3,556 times

last updated: 11 Sep '11, 19:08

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM