forked from steveyen/moxi
-
Notifications
You must be signed in to change notification settings - Fork 12
Home
mindreframer edited this page Sep 13, 2010
·
13 revisions
- cannot be install because configure file is missing
- issues cannot be filed since issues tab is deactivated
- m4 configure.ca produces strange output (`GCC_VERSION=m4:configure.ac:451: ERROR: end of file in string`)
- very simple config fails: moxi -z 9999=127.0.0.1:22122, it listens, but on request throws ‘proxy write to downstream’ error
mcs_create failed, vbucket_config_parse_string: 127.0.0.1:22122 mcs_create failed: 127.0.0.1:22122
/usr/local/bin/moxi [flags] -z=<port=<mc_host:mc_port(,*)>
moxi listens on the given port and forwards to
downstream memcached servers running at
mc_host:mc_port. More than one mc_host:mc_port
can be listed, separated by commas.
For example, -z 11211=server1:11211,server2:11211
Things you may need for developing
check – C unit test framework
Package dependencies on platforms:
Ubuntu (tested with 8.0.4):
- build-essential
- automake
- libtool
- pkg-config
- check
- libssl-dev
- sqlite3
- libsqlite3-dev
- libevent-dev
- libglib2.0-dev
- libglib2.0-0-dbg
apt-get install build-essential automake libtool pkg-config check libssl-dev sqlite3 libsqlite3-dev libevent-dev libglib2.0-dev libglib2.0-0-dbg
Also note that you may need to set PKG_CONFIG_PATH=/usr/lib/pkgconfig or wherever your pkgconfig directory is for libmemcached
Fedora (tested with FC8):
- check
- check-devel
- openssl-devel
- libevent-devel
- sqlite3-devel (sqlite-devel on FC8 that’s provided by EC2)
- glib2-devel
- memcached
yum install check check-devel openssl-devel libevent-devel sqlite-devel glib2-devel memcached
You may want to yum groupinstall “Development Tools” and rpmdevtools too.
OpenSolaris (tested with 2009.06):
- pkg:/SUNWgnome-common-devel
- pkg:/SUNWgit
- pkg:/SUNWgnu-automake-110
- pkg:/SUNWaconf
- check (has to be built from source)
MacOS X:
- git-core from MacOS ports (and sub-dependencies)
- Updated m4 due to a bug in the MacOS supplied m4
- libevent from MacOS ports
You may need to set your PKG_CONFIG_PATH on MacOS as well.