compiling gearmand libevent on linux
After typing make to compile gearmand on Debian 4.3.2-1.1... I get this error:
./libgearman-
In file included from ./libgearman-
./libgearman-
In file included from ./libgearman-
./libgearman-
In file included from ./libgearman-
./libgearman-
make[1]: *** [gearmand/
I downloaded libevent and boost and compiled them myself; installed them in /local too. This is the configure command I used:
LIBEVENT_
Is there anything I'm missing?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Gearman Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
These lines precede the error message:
CXX gearmand/
In file included from gearmand/
./libgearman-
Revision history for this message
|
#2 |
These lines precede the error message:
CXX gearmand/
In file included from gearmand/
./libgearman-
Revision history for this message
|
#3 |
I believe gearman needs to be linked against libevent-2 , not libevent1.
Revision history for this message
|
#4 |
Modify Makefile
LIBEVENT_CPPFLAGS = -I/home/
LIBEVENT_LDFLAGS = -L/home/
and
DEFAULT_INCLUDES = -I. -I/home/
But i still failed there
[guweigang@maybach ~/download/
make -j9 all-am
make[1]: Entering directory `/home/
CXX libtest/
CXX libtest/
CXX libtest/
CXX util/libtest_
CXX util/libtest_
CXX libtest/
CXX libtest/abort.o
CXX libtest/wait.o
CXX libtest/dream.o
CC libhostile/
CC libhostile/
CC libhostile/
CC libhostile/
CC libhostile/
CC libhostile/
CC libhostile/
CC libhostile/
CC libhostile/
CC libhostile/
CC libhostile/
CC libhostile/
CC libhostile/
CC libhostile/
CC libhostile/
CXX benchmark/
CXX libgearman-
CXX libgearman-
CXX libgearman-
CXX libgearman-
CXX libgearman-
CXX libgearman-
CXX libgearman-
CXX libgearman-
CXX libgearman-
CXX libgearman/
In file included from ./libgearman-
/home/guweigang
In file included from ./libgearman-
/home/guweigang
CXX libgearman-
CXX libgearman-
CXX libgearman-
In file included from ./libgearman-
/home/guweigang
In file included from ./libgearman-
/home/guweigang
In file included from ./libgearman-
/home/guweigang
In file included from ./libgearman-
/home/guweigang
CC libgearman-
CXX libgearman-
In file included from ./libgearman-
/home/guweigang
CXX libgearman-
CC libgearman-
CXX libgearman-
CXX libgearman-
In file included from ./libgearman-
/home/guweigang
In file included from /home/guweigang
/home/guweigang
/home/guweigang
In file included from /home/guweigang
/home/guweigang
In file included from /home/guweigang
/home/guweigang
In file included from /home/guweigang
/home/guweigang
In file included from /home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
In file included from /home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
CC libgearman-
In file included from /home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
CXX libgearman-
CXX libgearman-
CC libgearman-
CXX libgearman-
CC libgearman-
In file included from ./libgearman-
/home/guweigang
CXX libgearman-
CC libgearman-
CXX libgearman-
In file included from /home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
CXX libgearman-
CXX libgearman-
CXX libgearman-
In file included from ./libgearman-
/home/guweigang
In file included from /home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
CXX libgearman-
In file included from libgearman-
/home/guweigang
In file included from ./libgearman-
/home/guweigang
In file included from /home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
CC libgearman-
CXX libgearman-
In file included from /home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
CXX libgearman-
CXX libgearman-
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX tests/tests_
CXX util/tests_
CXX util/tests_
CXX tests/workers/
CXX tests/workers/
CXX tests/workers/
CXX tests/workers/
CXX tests/workers/
CXX tests/workers/
CXX tests/workers/
CXX tests/workers/
CXX tests/workers/
CXX tests/workers/
CXX tests/workers/
CXX tests/workers/
CXX tests/workers/
CXX tests/workers/
CXX bin/arguments.o
CXX bin/function.o
CXX bin/gearman.o
CXX bin/error.o
CXX util/pidfile.o
CXX bin/bin_
CXX util/bin_
In file included from bin/gearadmin.
/home/guweigang
CXX util/bin_
In file included from /home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
CXX libtest/
CXX gearmand/
CXX util/gearmand_
CXX util/gearmand_
In file included from gearmand/
./libgearman-
compilation terminated.
make[1]: *** [gearmand/
make[1]: *** Waiting for unfinished jobs....
In file included from /home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
In file included from /home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
In file included from /home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
In file included from /home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
/home/guweigang
make[1]: Leaving directory `/home/
make: *** [all] Error 2
Revision history for this message
|
#5 |
$ wget http://
$ tar xzf libevent-
$ cd libevent-
$ ./configure --prefix=
# hopefully, you haven’t encountered any errors so far
$ make
# make install
Can you help with this problem?
Provide an answer of your own, or ask ray for more information if necessary.