Hi Dmitry! Thursday 12, at 10:28:54 PM you wrote: > Hi, > > On Thu, Apr 12, 2007 at 10:25:30PM +0400, Konstantin A. Lepikhov wrote: > > Thursday 12, at 01:59:32 PM you wrote: > > > > .... > > > checking for PHP includes... -I/usr/include/php/5.2.1 -I/usr/include/php/5.2.1/main -I/usr/include/php/5.2.1/TSRM -I/usr/include/php/5.2.1/Zend -I/usr/include/php/5.2.1/ext -I/usr/include/php/5.2.1/ext/date/lib > > > checking for PHP extension directory... /usr/lib64/php/5.2.1/extensions > > > checking for PHP installed headers prefix... /usr/include/php/5.2.1 > > > checking for re2c... no > > > configure: WARNING: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers. > > > checking for gawk... gawk > > > checking whether to enable DBA... yes, shared > > > checking for QDBM support... no > > > checking for gdbm_open in -lgdbm... yes > > > checking for GDBM support... yes > > > checking for NDBM support... no > > > checking how to run the C preprocessor... x86_64-alt-linux-gcc -E > > > checking for db4 major version... configure: error: Header contains different version > > а что у нас с db4 на x86-64? > > А что там проверяет configure-скрипт? ... dnl Berkeley specific (library and version test) dnl parameters(version, library list, function) AC_DEFUN([PHP_DBA_DB_CHECK],[ for LIB in $2; do if test -f $THIS_PREFIX/$PHP_LIBDIR/lib$LIB.a || test -f $THIS_PREFIX/$PHP_LIBDIR/lib$LIB.$SHLIB_SUFFIX_NAME; then PHP_TEMP_LDFLAGS(-L$THIS_PREFIX/$PHP_LIBDIR, -l$LIB,[ AC_TRY_LINK([ #include "$THIS_INCLUDE" ],[ $3; ],[ AC_EGREP_CPP(yes,[ #include "$THIS_INCLUDE" #if DB_VERSION_MAJOR == $1 yes #endif ],[ THIS_LIBS=$LIB break ]) ]) ]) fi done if test -z "$THIS_LIBS"; then AC_MSG_CHECKING(for db$1 major version) AC_MSG_ERROR(Header contains different version) fi -- WBR et al.