How to compile percona in osx?

I try compile percona with

CFLAGS=“-arch i386 -arch x86_64 -O3 -fno-omit-frame-pointer"CXXFLAGS=”-arch i386 -arch x86_64 -O3 -fno-omit-frame-pointer-felide-constructors -fno-exceptions -fno-rtti" ./configure–prefix=/Applications/MEPP/Library/mysql–disable-dependency-tracking --with-extra-charsets=complex–enable-thread-safe-client --enable-local-infile–with-unix-socket-path=/Applications/MEPP/tmp/mysql/mysql.sock–with-charset=latin1 --with-collation=latin1_general_ci–with-mysqld-user=_mysql --disable-shared --with-plugins=all

but retuns this error

./lex.h:109: error: ‘CLIENT_STATS_SYM’ was not declared in this scope./lex.h:249: error: ‘INDEX_STATS_SYM’ was not declared in this scope./lex.h:370: error: ‘NOLOCK_SYM’ was not declared in this scope./lex.h:398: error: ‘PATCHES’ was not declared in this scope./lex.h:419: error: ‘QUERY_RESPONSE_TIME_SYM’ was not declared in this scope./lex.h:485: error: ‘SLOW_SYM’ was not declared in this scope./lex.h:504: error: ‘SQL_NO_FCACHE_SYM’ was not declared in this scope./lex.h:536: error: ‘TABLE_STATS_SYM’ was not declared in this scope./lex.h:543: error: ‘THREAD_STATS_SYM’ was not declared in this scope./lex.h:579: error: ‘USER_STATS_SYM’ was not declared in this scopeIn file included from ./lex_hash.h:25, from sql_lex.cc:81:./lex.h:109: error: ‘CLIENT_STATS_SYM’ was not declared in this scope./lex.h:249: error: ‘INDEX_STATS_SYM’ was not declared in this scope./lex.h:370: error: ‘NOLOCK_SYM’ was not declared in this scope./lex.h:398: error: ‘PATCHES’ was not declared in this scope./lex.h:419: error: ‘QUERY_RESPONSE_TIME_SYM’ was not declared in this scope./lex.h:485: error: ‘SLOW_SYM’ was not declared in this scope./lex.h:504: error: ‘SQL_NO_FCACHE_SYM’ was not declared in this scope./lex.h:536: error: ‘TABLE_STATS_SYM’ was not declared in this scope./lex.h:543: error: ‘THREAD_STATS_SYM’ was not declared in this scope./lex.h:579: error: ‘USER_STATS_SYM’ was not declared in this scopelipo: can’t figure out the architecture type of:/var/folders/vV/vVYXG0EWGXKFSdVsptlB+E+++TI/-Tmp-//cc1C3nHv.outmake[3]: *** [sql_lex.o] Error 1make[2]: *** [all-recursive] Error 1make[1]: *** [all] Error 2make: *** [all-recursive] Error 1

Any suggestions?

This was answered at http://groups.google.com/group/percona-discussion/browse_thr ead/thread/95bccd5cef4a9a3d