when I checkout pushgo, make works fine, but make simplepush results in a memcached error:
github.com/ianoshen/gomc
.godeps/src/github.com/ianoshen/gomc/const.go:4:10: fatal error: 'libmemcached/memcached.h' file not found
include <libmemcached/memcached.h>
^
1 error generated.
make: *\ [simplepush] Error 2
I believe at some point JR mentioned this:
https://bugzilla.mozilla.org/show_bug.cgi?id=1082188#c13
see:
JR Conlin [:jrconlin,:jconlin] 2014-10-22 15:47:53 PDT
in one of my forks, I have a make rule that excludes emcee_store.go and libmemcache because of just that sort of reason. Eventually, this will be addressed.
I've been using:
mv ./src/github.com/mozilla-services/pushgo/simplepush/emcee_store.go ./src/github.com/mozilla-services/pushgo/simplepush/emcee_store.no
but perhaps there needs to be a make option like
make emcee-store-no?
I see that there's a 'make memcached' option that (I thought) used to work for me, but on Mavericks, I get:
cd libmemcached-1.0.18 && \
sed -i '' $'/ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"/c\nax_pthread_flags=\"pthreads none -Kthread -kthread lthread -lpthread -lpthreads -mthreads pthread --thread-safe -mt pthread-config"\n' m4/ax_pthread.m4
cd libmemcached-1.0.18 && sudo make install
Password:
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /Users/rpappalardo/tmp/pushgo/libmemcached-1.0.18/build-aux/missing aclocal-1.13 -I m4 -I libtest/m4
/Users/rpappalardo/tmp/pushgo/libmemcached-1.0.18/build-aux/missing: line 81: aclocal-1.13: command not found
WARNING: 'aclocal-1.13' is missing on your system.
You should only need it if you modified 'acinclude.m4' or
'configure.ac' or m4 files included by 'configure.ac'.
The 'aclocal' program is part of the GNU Automake package:
http://www.gnu.org/software/automake
It also requires GNU Autoconf, GNU m4 and Perl in order to run:
http://www.gnu.org/software/autoconfhttp://www.gnu.org/software/m4/http://www.perl.org/
make: * [aclocal.m4] Error 127
make: * [memcached] Error 2
when I checkout pushgo, make works fine, but make simplepush results in a memcached error:
github.com/ianoshen/gomc
.godeps/src/github.com/ianoshen/gomc/const.go:4:10: fatal error: 'libmemcached/memcached.h' file not found
include <libmemcached/memcached.h>
1 error generated.
make: *\ [simplepush] Error 2
I believe at some point JR mentioned this: https://bugzilla.mozilla.org/show_bug.cgi?id=1082188#c13 see: JR Conlin [:jrconlin,:jconlin] 2014-10-22 15:47:53 PDT in one of my forks, I have a make rule that excludes emcee_store.go and libmemcache because of just that sort of reason. Eventually, this will be addressed.
I've been using: mv ./src/github.com/mozilla-services/pushgo/simplepush/emcee_store.go ./src/github.com/mozilla-services/pushgo/simplepush/emcee_store.no
but perhaps there needs to be a make option like make emcee-store-no?
I see that there's a 'make memcached' option that (I thought) used to work for me, but on Mavericks, I get:
cd libmemcached-1.0.18 && \ sed -i '' $'/ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"/c\nax_pthread_flags=\"pthreads none -Kthread -kthread lthread -lpthread -lpthreads -mthreads pthread --thread-safe -mt pthread-config"\n' m4/ax_pthread.m4 cd libmemcached-1.0.18 && sudo make install Password: CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /Users/rpappalardo/tmp/pushgo/libmemcached-1.0.18/build-aux/missing aclocal-1.13 -I m4 -I libtest/m4 /Users/rpappalardo/tmp/pushgo/libmemcached-1.0.18/build-aux/missing: line 81: aclocal-1.13: command not found WARNING: 'aclocal-1.13' is missing on your system. You should only need it if you modified 'acinclude.m4' or 'configure.ac' or m4 files included by 'configure.ac'. The 'aclocal' program is part of the GNU Automake package: http://www.gnu.org/software/automake It also requires GNU Autoconf, GNU m4 and Perl in order to run: http://www.gnu.org/software/autoconf http://www.gnu.org/software/m4/ http://www.perl.org/ make: * [aclocal.m4] Error 127 make: * [memcached] Error 2