Closed rainhead closed 13 years ago
I should say that stock libmemcached 0.32 installs cleanly.
I should also say that this is a 64bit-only install.
Hi Rainhead, I also faced this problem on my server(64bit) that has almost same version libraries as yours.
I could not solve it smartly but escaped from it with a workaround. Actually I can't figure out why this let it link successfully so I'll wait the right solution.
I hope this helps someone who has the same problem.
That's strange. Are you sure you have all the development headers for SASL?
I can confirm that tnzk's patch fixed the problem–thanks!
SASL built and installed cleanly, so I imagine I have all the headers. Several of my systems exhibit the problem.
Rake is now aborting on one error and one failure running the tests. It also leaves nine memcached processes running for me to clean up.
Started ...........................E............................................................F......................... Finished in 28.872385 seconds.
1) Error:
test_get(MemcachedTest):
Memcached::UnknownReadFailure: Key {"test_get"=>"localhost:43053"}
./lib/memcached/memcached.rb:614:in check_return_code' ./lib/memcached/memcached.rb:314:in
set'
./test/unit/memcached_test.rb:248:in `test_get'
2) Failure:
test_set(MemcachedTest) [./test/unit/memcached_test.rb:458]:
Exception raised:
Class: Memcached::UnknownReadFailure
Message: <"Key {\"test_set\"=>\"localhost:43053\"}">
---Backtrace---
./lib/memcached/memcached.rb:614:in check_return_code' ./lib/memcached/memcached.rb:314:in
set'
./test/unit/memcached_test.rb:459:in test_set' ./test/unit/memcached_test.rb:458:in
test_set'
Hey guys.. I'm having the same here(freebsd/i386 8.1-release);
1) http://pastie.org/1191776 (installing from gem) 2) http://gist.github.com/605211 (trying a rake install from gem base-dir) 3) http://pastie.org/1192036 (ports that are installed)
Sorry.. just today I found this page. If you need some help to test things I'm dispose to do it.
cheers, Vinnix
tnzk's workaround doesn't change the error for me, I still get:
rlibmemcached_wrap.c:13694: error: ‘SASL_OK’ undeclared (first use in this function) make: *\ [rlibmemcached_wrap.o] Error 1
Thanks for trying my workaround.
Perhaps the error you face is different from mine, it seems to be caused by the lack of SASL header files. Check where your SASL headers are installed.
tnzk, your fix actually did turn out to work, I needed to delete the bad unpacked fauna gem from .gems.
Applied the fix to trunk.
Thanks, evan!
http://gist.github.com/583325
I originally tried with cyrus-sasl-2.1.23 with the same result. Some package versions:
app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.5-r3, 3.1.2-r4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.3 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.65 sys-devel/automake: 1.7.9-r2, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.3.4, 4.4.3-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.30-r1