[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libevent 1.4



cancel that. must have been statically linked or something as i recompiled it and it works (i think):

swilson-mbp-vdebian:~/code/gearmand-0.18# gearmand -vvv -u root
 INFO [  main ] Starting up
 INFO [  main ] Listening on 0.0.0.0:4730

 INFO [  main ] Listening on 0.0.0.0:4730 (6)
 INFO [  main ] Listening on :::4730

 INFO [  main ] Listening on :::4730 (7)
 INFO [  main ] Creating wakeup pipe
 INFO [  main ] Initializing libevent for IO thread
 INFO [  main ] Creating IO thread wakeup pipe
 INFO [     1 ] Entering thread event loop
 INFO [  main ] Thread 1 created
 INFO [  main ] Initializing libevent for IO thread
 INFO [  main ] Creating IO thread wakeup pipe
 INFO [     2 ] Entering thread event loop
 INFO [  main ] Thread 2 created
 INFO [  main ] Initializing libevent for IO thread
 INFO [  main ] Creating IO thread wakeup pipe
 INFO [     3 ] Entering thread event loop
 INFO [  main ] Thread 3 created
 INFO [  main ] Initializing libevent for IO thread
 INFO [  main ] Creating IO thread wakeup pipe
 INFO [     4 ] Entering thread event loop
 INFO [  main ] Thread 4 created
 INFO [  main ] Adding event for listening socket (6)
 INFO [  main ] Adding event for listening socket (7)
 INFO [  main ] Adding event for wakeup pipe
 INFO [  main ] Entering main event loop -> libgearman-server/gearmand.c:334


On Wed, Mar 23, 2011 at 3:18 PM, shawn wilson <ag4ve.us@gmail.com> wrote:
ok, i'll ask on the gearman list if it is deemed appropriate. however, i'm pretty sure this is a debian thing. any ideas?

swilson-mbp-vdebian:~/code/gearmand-0.18# gearmand -vvv -u root
 INFO [  main ] Starting up
FATAL [  main ] Multi-threaded gearmand requires libevent 1.4 or later, libevent 1.3 does not provided a thread-safe interface. -> libgearman-server/gearmand.c:281
 INFO [  main ] Shutting down all threads
 INFO [  main ] Shutdown complete
swilson-mbp-vdebian:~/code/gearmand-0.18# apt-cache show libevent-dev
Package: libevent-dev
Priority: optional
Section: libdevel
Installed-Size: 524
Maintainer: Anibal Monsalve Salazar <anibal@debian.org>
Architecture: amd64
Source: libevent
Version: 1.4.13-stable-1
Depends: libevent-1.4-2 (= 1.4.13-stable-1), libevent-core-1.4-2 (= 1.4.13-stable-1), libevent-extra-1.4-2 (= 1.4.13-stable-1)
Filename: pool/main/libe/libevent/libevent-dev_1.4.13-stable-1_amd64.deb
Size: 171174
MD5sum: 8614df2c733ea960ef116d4278c2fb36
SHA1: 2d164c0148ee684956720c075d0b0ebde749dc7d
SHA256: 422af31174f949e3f9b7bb9887edf9ebc77aa0e25b4cb71d49d6ebcc57c89af5
Description: Development libraries, header files and docs for libevent
 Contains the header files, documentation, examples and static libraries
 for use in developing applications that use the libevent library.
 .
 The libevent library is an asynchronous event notification library
 that provides a mechanish to execute a callback function when a specific
 event occurs on a file descriptor or after a timeout has been reached.
Homepage: http://www.monkey.org/~provos/libevent/
Tag: devel::library, role::devel-lib, works-with::software:running

swilson-mbp-vdebian:~/code/gearmand-0.18# apt-get install libevent-dev
Reading package lists... Done
Building dependency tree      
Reading state information... Done
libevent-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
swilson-mbp-vdebian:~/code/gearmand-0.18# apt-get install libevent-extra-1.4.2
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Note, selecting 'libevent-extra-1.4-2' for regex 'libevent-extra-1.4.2'
libevent-extra-1.4-2 is already the newest version.
libevent-extra-1.4-2 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
swilson-mbp-vdebian:~/code/gearmand-0.18# apt-get install libevent1
Reading package lists... Done
Building dependency tree      
Reading state information... Done
libevent1 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
swilson-mbp-vdebian:~/code/gearmand-0.18#



Reply to: