I know what happen. Because of my aclocal and automake has multi version. But, in autogen.sh, automake's version is 1.12, but aclocal is not 1.12.
So, I think some data is mismatching. When I add aclocal-1.12, no error happens. I don't know why. BTW,It's a right way to add version in autogen.sh? 在 2012年12月31日星期一UTC+8下午12时38分56秒,Bo Liu写道: > > run autogen.sh to create configure ?? > > 在 2012年12月31日星期一UTC+8上午11时28分16秒,Bo Liu写道: >> >> os is centos 5.4 >> >> 在 2012年12月31日星期一UTC+8上午11时21分12秒,Bo Liu写道: >>> >>> thank you for you reply. >>> >>> here is my operation: >>> >>> [liubo@linux64 github]$ git clone git:// >>> github.com/memcached/memcached.git memcached/ >>> Cloning into memcached... >>> remote: Counting objects: 7780, done. >>> remote: Compressing objects: 100% (2922/2922), done. >>> remote: Total 7780 (delta 5523), reused 6514 (delta 4555) >>> Receiving objects: 100% (7780/7780), 5.30 MiB | 10 KiB/s, done. >>> Resolving deltas: 100% (5523/5523), done. >>> [liubo@linux64 github]$ cd memcached >>> [liubo@linux64 memcached]$ ./autogen.sh >>> aclocal... >>> autoheader... >>> automake... >>> configure.ac:7: error: version mismatch. This is Automake 1.12, >>> configure.ac:7: but the definition used by this AM_INIT_AUTOMAKE >>> configure.ac:7: comes from Automake 1.7.9. You should recreate >>> configure.ac:7: aclocal.m4 with aclocal and run automake again. >>> configure.ac:5: installing './config.guess' >>> configure.ac:5: installing './config.sub' >>> configure.ac:7: installing './install-sh' >>> Makefile.am: installing './depcomp' >>> configure.ac:7: error: version mismatch. This is Automake 1.12, >>> configure.ac:7: but the definition used by this AM_INIT_AUTOMAKE >>> configure.ac:7: comes from Automake 1.7.9. You should recreate >>> configure.ac:7: aclocal.m4 with aclocal and run automake again. >>> Makefile.am: installing './INSTALL' >>> Makefile.am: error: required file './README' not found >>> doc/Makefile.am:12: warning: '%'-style pattern rules are a GNU make >>> extension >>> doc/Makefile.am:15: warning: '%'-style pattern rules are a GNU make >>> extension >>> doc/Makefile.am:18: warning: '%'-style pattern rules are a GNU make >>> extension >>> [liubo@linux64 memcached]$ ls >>> aclocal.m4 autogen.sh cache.h config.sub daemon.c >>> Doxyfile hash.h items.h memcached.c >>> memcached.spec.in sasl_defs.c slabs.c stats.h timedrun.c >>> version.m4 >>> assoc.c autom4te.cache ChangeLog configure.ac depcomp >>> globals.c INSTALL LICENSE memcached_dtrace.d NEWS >>> sasl_defs.h slabs.h t trace.h version.pl >>> assoc.h BUILD config.guess CONTRIBUTING devtools >>> HACKING install-sh m4 memcached.h protocol_binary.h >>> scripts solaris_priv.c testapp.c util.c version.sh >>> AUTHORS cache.c config.h.in COPYING doc >>> hash.c items.c Makefile.am memcached.spec README.md >>> sizes.c stats.c thread.c util.h >>> [liubo@linux64 memcached]$ >>> >>> My automake is to old ?? >>> >>> >>> 在 2012年12月31日星期一UTC+8上午11时03分07秒,[email protected]写道: >>>> >>>> Updates: >>>> Status: Invalid >>>> >>>> Comment #1 on issue 303 by [email protected]: where is the current >>>> code? >>>> here or github >>>> http://code.google.com/p/memcached/issues/detail?id=303 >>>> >>>> github. The master branch should work fine? >>>> >>>> Why is this a bug report? if you're having trouble finding/building it, >>>> >>>> please use the mailing list to ask for help. >>>> >>>> Please include the full output from autogen.sh, at the very least. >>>> >>>>
