Hi John, --On May 28, 2008 12:55:04 PM +0100 John Tanner <john.tanner@conformance.co.uk> wrote:
Is anyone else having a problem compiling memcached from the current svn? I'm getting an error:
Building memcached... checking build system type... powerpc-apple-darwin8.11.0 checking host system type... powerpc-apple-darwin8.11.0 checking target system type... powerpc-apple-darwin8.11.0 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details.
Edit the run script and remove "CFLAGS=-m64" from the libevent and memcache builds. Apparently there is a problem doing a fat build of those and we stuck with the intel flags, so the current run won't work on PowerPC. Of course this needs to be fixed... -- Cyrus Daboo