WebFaction
Community site: login faq

can I follow the guide posted here to install gearman? if not, what other alternatives can I consider?

asked 10 Apr '11, 00:54

Jeffrey04
736
accept rate: 0%


Unless gearman actually requires root access (unlikely), you should be able to install this program using something like this:

tar xzf gearmand-X.Y.tar.gz
cd gearmand-X.Y
./configure --prefix=$HOME
make
make install

Note the added "--prefix=$HOME" passed to the configure command. This will configure the software to run from your home directory instead of from the system-wide shared program directories. Essentially, there's not much of a difference between these two. The only real difference is that you have permission to create new files in your home directory, but not to create files in directories that are far outside of it and are shared by all users on the machine.

For more details on compiling and installing software in general into your home directory, take a look at our home-install guide. Hope that helps!

permanent link

answered 10 Apr '11, 01:10

ryans ♦♦
5.0k93360
accept rate: 43%

edited 10 Apr '11, 01:11

what about the php-extension?!

(10 Apr '11, 02:13) Jeffrey04

You can't add PHP extensions to the existing PHP so you'll need to build PHP and Apache from scratch in your home directory.

(10 Apr '11, 02:29) David L ♦♦

oh, thanks. I don't need apache, so I will just try compiling php myself. :)

(10 Apr '11, 04:19) Jeffrey04

why not? I followed some of the advice to install gearman and yes it goes. I have installed it and so u must.

permanent link

answered 11 Apr '11, 04:09

ricamonete
1
accept rate: 0%

I'm getting this error while running the ./configure script "configure: error: cannot find Boost headers version >= 1.37.0"

(11 Apr '11, 21:48) Jeffrey04

Than you will have to build the boost library too, http://www.boost.org/

(11 Apr '11, 21:55) johns

Building Gearman 0.2.0

  1. first update the LD_LIBRARY_PATH and LD_INCLUDE_PATH

    export LD_INCLUDE_PATH=$HOME/include:$LD_INCLUDE_PATH

    export LD_LIBRARY_PATH=$HOME/lib:$LD_LIBRARY_PATH

  2. then build libevent

  3. then build boost (may be terminated half way due to excessive memory consumption)
  4. Lastly, build gearman
  5. Location of the tools

    gearmand is at ~/sbin

    gearadmin is at ~/bin

permanent link

answered 12 Apr '11, 01:16

Jeffrey04
736
accept rate: 0%

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:

×262
×10
×2

question asked: 10 Apr '11, 00:54

question was seen: 5,057 times

last updated: 12 Apr '11, 01:16

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