> What gives you that idea? The zdb debian packages install the libzdb > includes in /usr/include/zdb. > > To build dbmail you don't need to specify --with-zdb since if you > configure dbmail --prefix=/usr. > If you use a different prefix (i.e. /usr/local is standard when you > don't specify a --prefix) you need to do > --with-zdb=/path/to/zdb > where /path/to/zdb contains Connection.h and friends. >
I don't use --prefix, use the default path. flecha:/usr/local/src/postfix/git/dbmail# sh configure --with-sieve --with-zdb=/usr/include/zdb This is dbmail's GNU configure script. checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for libSieve headers... checking for libSieve libraries... -lsieve checking for pkg-config... /usr/bin/pkg-config checking GLib headers... -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include checking Glib libraries... -lglib-2.0 checking for pkg-config... /usr/bin/pkg-config checking GMime headers... -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gmime-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include checking GMime libraries... -lgmime-2.0 -lz -lnsl -lgobject-2.0 -lglib-2.0 checking GMime version >= 2.2.21... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking mhash.h usability... yes checking mhash.h presence... yes checking for mhash.h... yes checking for event.h... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking for URL.h... no checking for ResultSet.h... no checking for PreparedStatement.h... no checking for Connection.h... no checking for ConnectionPool.h... no checking for SQLException.h... no configure: error: Could not find ZDB library. flecha:/usr/local/src/postfix/git/dbmail# flecha:/usr/local/src/postfix/git/dbmail# ls -l /usr/include/zdb total 80 -rw-r--r-- 1 root root 9709 Fev 16 14:32 Connection.h -rw-r--r-- 1 root root 16421 Fev 16 14:32 ConnectionPool.h -rw-r--r-- 1 root root 10676 Fev 16 14:32 Exception.h -rw-r--r-- 1 root root 6774 Fev 16 14:32 PreparedStatement.h -rw-r--r-- 1 root root 13390 Fev 16 14:32 ResultSet.h -rw-r--r-- 1 root root 2039 Fev 16 14:32 SQLException.h -rw-r--r-- 1 root root 7330 Fev 16 14:32 URL.h flecha:/usr/local/src/postfix/git/dbmail# _______________________________________________ Dbmail-dev mailing list [email protected] http://twister.fastxs.net/mailman/listinfo/dbmail-dev
