From: Markus H. <mar...@mh...> - 2013-06-11 09:22:56
|
Am 2013-06-11 10:53, schrieb Flur Blubr: > ./configure --prefix=/apps/cactiprod/syslog-ng/libdbi-drivers --with-dbi-incdir=/apps/cactiprod/syslog-ng/libdbi/include/dbi --with-dbi-libdir=/apps/cactiprod/syslog-ng/libdbi/lib --with-mysql --with-mysql-libdir=/apps/cactiprod/mariadb/lib --with-mysql-incdir=/apps/cactiprod/mariadb/include/mysql --disable-docs > > [...] dbd_mysql.c:50:21: error: dbi/dbi.h: No such file or directory Hi there, I haven't tested this yet, but you should get better results if you specify the libdbi include directory as "--with-dbi-incdir=/apps/cactiprod/syslog-ng/libdbi/include" (no trailing "/dbi"). The sources reference the include files as "dbi/foo.h", so the trailing "dbi" in your specification confused the preprocessor. NB the --XX-incdir and --XX-libdir options should be avoided anyway and should probably have been removed or at least be deprecated. For a cleaner solution, please define CFLAGS and LDFLAGS appropriately before running configure and make. regards, Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38 |