Hello,

Trying to compile to OSX Mavericks, I got nor only pthread problem but this:
1) automake version compabilitie:
./autogen.sh 
aclocal... 
autoheader... 
automake... 
Did not find a supported automake

My automaker version: 1.14

2) testapp.c:
testapp.c:1812:13: error: variable length array folded to constant array as 
an extension [-Werror,-Wpedantic]

If accepted as a issue I would like to create a patch to fix it and better 
detect libpthread.



On Wednesday, October 23, 2013 12:48:35 PM UTC-2, Matt Galvin wrote:
>
> Hello,
>
> On both Mac OS X 10.8 and the new 10.9 with Xcode 5 memcached fails to 
> compile. Is this a know issue already? Is there a fix in the works already?
>
> ./configure --enable-64bit --with-libevent=/usr/local
>
> ---
>
> gcc -v 
>
> Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr 
> --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1
>  
>
>
> Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) 
>
> Target: x86_64-apple-darwin13.0.0 
>
> Thread model: posix
>
> ---
>
> gcc -DHAVE_CONFIG_H -I. -DNDEBUG -I/usr/local/include -m64 -g -O2 -pthread 
> -pthread -Wall -Werror -pedantic -Wmissing-prototypes 
> -Wmissing-declarations -Wredundant-decls -MT memcached-cache.o -MD -MP -MF 
> .deps/memcached-cache.Tpo -c -o memcached-cache.o `test -f 'cache.c' || 
> echo './'`cache.c 
>
> mv -f .deps/memcached-cache.Tpo .deps/memcached-cache.Po 
>
> gcc -m64 -g -O2 -pthread -pthread -Wall -Werror -pedantic 
> -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls 
> -L/usr/local/lib -Wl,-rpath,/usr/local/lib -o memcached 
> memcached-memcached.o memcached-hash.o memcached-slabs.o memcached-items.o 
> memcached-assoc.o memcached-thread.o memcached-daemon.o memcached-stats.o 
> memcached-util.o memcached-cache.o -levent 
>
> clang: error: argument unused during compilation: '-pthread' 
>
> clang: error: argument unused during compilation: '-pthread' 
>
> make[2]: *** [memcached] Error 1 
>
> make[1]: *** [all-recursive] Error 1 
>
> make: *** [all] Error 2
> ---
>
> If I manually remove the -pthread(s) it compiles fine but I'm not sure if 
> that is the correct fix as I've not done any development on memcached as of 
> yet.
>
> Thoughts?
>
> Thanks,
>
> Matt
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to