I got a problem that I had been trying to fix it for several days. It's still there, I can not get over it.
here is report when I do this command: $ aclocal report: configure.in:9: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from... /usr/share/aclocal/libtool.m4:615: AC_LIBTOOL_COMPILER_OPTION is expanded from... /usr/share/aclocal/libtool.m4:4835: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
/usr/share/aclocal/libtool.m4:2668: _LT_AC_LANG_C_CONFIG is expanded from... /usr/share/aclocal/libtool.m4:2667: AC_LIBTOOL_LANG_C_CONFIG is expanded from... /usr/share/aclocal/libtool.m4:80: AC_LIBTOOL_SETUP is expanded from...
/usr/share/aclocal/libtool.m4:60: _AC_PROG_LIBTOOL is expanded from... /usr/share/aclocal/libtool.m4:25: AC_PROG_LIBTOOL is expanded from... /usr/share/aclocal/libtool.m4:6335: AM_PROG_LIBTOOL is expanded from... configure.in:9: the top level configure.in:9: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached
/usr/share/aclocal/libtool.m4:660: AC_LIBTOOL_LINKER_OPTION is expanded from... configure.in:9: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
/usr/share/aclocal/libtool.m4:2749: _LT_AC_LANG_CXX_CONFIG is expanded from... /usr/share/aclocal/libtool.m4:2748: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from... /usr/share/aclocal/libtool.m4:1804: _LT_AC_TAGCONFIG is expanded from... configure.in:9: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached configure.in:9: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached
/usr/share/aclocal/libtool.m4:3916: _LT_AC_LANG_F77_CONFIG is expanded from... /usr/share/aclocal/libtool.m4:3915: AC_LIBTOOL_LANG_F77_CONFIG is expanded from... configure.in:9: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached configure.in:9: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached /usr/share/aclocal/libtool.m4:4018: _LT_AC_LANG_GCJ_CONFIG is expanded from...
/usr/share/aclocal/libtool.m4:4017: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from... configure.in:9: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached
my configure.in is like this: 1 # -*- Autoconf -*- 2 # Process this file with autoconf to produce a configure script. 3
4 AC_PREREQ([2.59]) 5 AC_INIT([ltp-service], [1.0], [address@hidden]) 6 AC_CONFIG_SRCDIR([__xml4nlp/tinyxmlerror.cpp]) 7 AM_CONFIG_HEADER([config.h]) 8 AM_INIT_AUTOMAKE(ltp-service, 1.0)
9 AM_PROG_LIBTOOL 10 11 # Checks for programs. 12 AC_PROG_CXX 13 AC_PROG_CC 14 15 # Checks for libraries. 16 # FIXME: Replace `main' with a function in `-lbase64': 17 AC_CHECK_LIB([base64], [main])
18 # FIXME: Replace `main' with a function in `-ldl': 19 AC_CHECK_LIB([dl], [main]) 20 # FIXME: Replace `main' with a function in `-lltpservice': 21 AC_CHECK_LIB([ltpservice], [main]) 22 # FIXME: Replace `main' with a function in `-lutil':
23 AC_CHECK_LIB([util], [main]) 24 # FIXME: Replace `main' with a function in `-lxml4nlp': 25 AC_CHECK_LIB([xml4nlp], [main]) 26 27 # Checks for header files. 28 AC_CHECK_HEADERS([netdb.h stddef.h stdlib.h string.h])
29 30 # Checks for typedefs, structures, and compiler characteristics. 31 AC_HEADER_STDBOOL 32 AC_C_INLINE 33 AC_TYPE_SIZE_T 34 AC_CHECK_TYPES([ptrdiff_t]) 35 36 # Checks for library functions.
37 AC_CHECK_FUNCS([gethostbyname memmove socket strchr]) 38 39 AC_CONFIG_FILES([Makefile 40 __ltpService/Makefile 41 __util/Makefile 42 __xml4nlp/Makefile
43 examples/Makefile]) 44 AC_OUTPUT