From: Massimiliano Mirra Date: 2001-08-24T21:29:02+09:00 Subject: [ruby-talk:20280] ODBC under Debian Linux Has anyone successfully compiled ruby-odbc under Debian (woody)? I downloaded all the ODBC packages I could find in the distribution and still get after a make: gcc -fPIC -g -O2 -fPIC -I/usr/lib/ruby/1.6/i386-linux -I/usr/include -DHAVE_SQL_H -DHAVE_SQLEXT_H -c -o odbc.o odbc.c odbc.c:40: #error Missing include: odbcinst.h odbc.c:3956: macro `O_CONST' used with too many (2) args odbc.c:3957: macro `O_CONST' used with too many (2) args odbc.c:3958: macro `O_CONST' used with too many (2) args make: *** [odbc.o] Error 1 What must be there that contains odbcinst.h? Alternatively, is there any other way to uniformly access SQL databases? I am currently using Postgres but I'd like my code not to be tied to a single database. Massimiliano