Hello everybody, I managed to build the latest MonetDB version on my Mac with all default modules, excluding the DataCell and RDF, but the ODBC build fails. Trying to fix it I encountered several issues: A few libraries could not be found with the default build settings: hwcounters = no (no supported harwdware counters interface found) mseed = no (libmseed.h header not found) raptor = no (by default) readline = no (readline/readline.h does not contain rl_completion_func_t, is it GNU readline?) setsockopt = no (by default) sphinxclient = no (sphinxclient.h header not found) unixodbc = no (odbcinst.h not found) valgrind = no (by default) So far it makes sense, since unixODBC cannot be found, the ODBC driver cannot be built. Just that I've actually installed the library. Adding the following line: --with-unixodbc=/opt/local --with-sphinxclient=/opt/local --with-readline=/opt/local to point to some of the libs location appeared to fix the configuration: checking odbcinst.h usability... yes checking odbcinst.h presence... yes checking for odbcinst.h... yes checking for SQLGetPrivateProfileString in -lodbcinst... yes checking for SQLGetDiagRec in -lodbc... yes checking checking whether SQLColAttribute uses SQLLEN * or SQLPOINTER... using "SQLPOINTER" hwcounters = no (no supported harwdware counters interface found) mseed = no (libmseed.h header not found) raptor = no (by default) setsockopt = no (by default) valgrind = no (by default) Now, trying to build that configuration yields the following error: libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../clients/odbc/driver -I../../.. -I../../../../clients/odbc/driver -I../../mapilib -I../../../../clients/odbc/driver/../../mapilib -I../../../common/options -I../../../../clients/odbc/driver/../../../common/options -I/opt/local/include -DLIBMONETODBC -g -O2 -I/opt/local/include -c ../../../../clients/odbc/driver/SQLColAttributes.c -fno-common -DPIC -o .libs/libMonetODBC_la-SQLColAttributes.o ../../../../clients/odbc/driver/SQLColAttribute.c:243:1: error: conflicting types for 'SQLColAttribute' SQLColAttribute(SQLHSTMT StatementHandle, ^ /opt/local/include/sql.h:609:24: note: previous declaration is here SQLRETURN SQL_API SQLColAttribute(SQLHSTMT StatementHandle, ^ ../../../../clients/odbc/driver/SQLColAttribute.c:272:1: error: conflicting types for 'SQLColAttributeA' SQLColAttributeA(SQLHSTMT StatementHandle, ^ /opt/local/include/sqlucode.h:377:19: note: previous declaration is here SQLRETURN SQL_API SQLColAttributeA( ^ ../../../../clients/odbc/driver/SQLColAttribute.c:290:1: error: conflicting types for 'SQLColAttributeW' SQLColAttributeW(SQLHSTMT StatementHandle, ^ /opt/local/include/sqlucode.h:29:19: note: previous declaration is here SQLRETURN SQL_API SQLColAttributeW( ^ 3 errors generated. make[7]: *** [libMonetODBC_la-SQLColAttribute.lo] Error 1 I am running: OS X 10.9.2 / Darwin Kernel Version 13.1.0 x86_64 Xcode 5.0.2 and gcc -v reports: Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) unixODBC 2.3.1_0 installed from MacPorts 2.2.1 Any ideas? Thanks, Dimitar