From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id XAA22380; Wed, 14 Aug 2002 23:34:38 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id XAA22371 for ; Wed, 14 Aug 2002 23:34:38 +0200 (MET DST) Received: from flamingo.mail.pas.earthlink.net (flamingo.mail.pas.earthlink.net [207.217.120.232]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g7ELYaD21395 for ; Wed, 14 Aug 2002 23:34:37 +0200 (MET DST) Received: from user-0ccegbj.cable.mindspring.com ([24.199.65.115] helo=dragonfly.localdomain) by flamingo.mail.pas.earthlink.net with smtp (Exim 3.33 #1) id 17f5mj-0002fA-00 for caml-list@inria.fr; Wed, 14 Aug 2002 14:34:33 -0700 Received: from 209-9-234-140.sdsl.cais.net ([209.9.234.140]) (SquirrelMail authenticated user yminsky) by dragonfly.localdomain with HTTP; Wed, 14 Aug 2002 17:34:33 -0400 (EDT) Message-ID: <33864.209.9.234.140.1029360873.squirrel@dragonfly.localdomain> Date: Wed, 14 Aug 2002 17:34:33 -0400 (EDT) Subject: [Caml-list] ocamlodbc, unixODBC, and MinGW/Cygwin From: "Yaron M. Minsky" To: "Caml List " X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal X-Mailer: SquirrelMail (version 1.2.6) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk I've been trying to complie ocamlodbc on windows and have been running into trouble. I seem to have the necessary libs and include files (libodbc32.a, odbcinst.h, sql.h, sqlext.h, etc.), but configure nonetheless chokes, and in a somewhat weird way, spitting out "conftest.out: No such file or directory."It chokes here event hough the file it's looking for is actually there. So, does anyone know how to make this work? I've tried this using both Cygwin and Cygwin+MinGW, to no avail. Thanks, Yaron ocamlodbc-2.5$ ./configure checking for ocamlc... ocamlc ocaml version is 3.05 ocaml library path is C:/ocamlmgw/lib checking for ocamlopt... ocamlopt checking ocamlopt version... ok checking for ocamlc.opt... no checking for ocamlopt.opt... no checking for ocamldep... ocamldep checking for ocamllex... ocamllex checking for ocamlyacc... ocamlyacc checking for odoc... no Cannot find odoc. ======== configure PostgreSQL ======== checking how to run the C preprocessor... grep: conftest.out: No such file or directorycc -E checking for iodbc.h... grep: conftest.out: No such file or directory yes checking for isql.h... grep: conftest.out: No such file or directory yes checking for isqlext.h... grep: conftest.out: No such file or directory yes PostgreSQL ODBC headers found checking for SQLAllocEnv in -lpsqlodbc... no PostgreSQL ODBC support ======== configure MySQL ======== checking for iodbc.h... (cached) yes checking for isql.h... (cached) yes checking for isqlext.h... (cached) yes MySQL ODBC headers found checking for SQLAllocEnv in -lmyodbc_mysql... no No MySQL ODBC support ======== configure unixODBC ======== checking for odbcinst.h... grep: conftest.out: No such file or directory yes checking for sql.h... grep: conftest.out: No such file or directory yes checking for sqlext.h... grep: conftest.out: No such file or directory yes unixODBC headers found checking for SQLAllocEnv in -lodbc... no No unixODBC support ======== configure DB2 ======== checking for sqlcli1.h... grep: conftest.out: No such file or directory yes DB2 headers found checking for SQLAllocEnv in -ldb2... no No DB2 support ======== configure OPENINGRES ======== checking for sqlext.h... (cached) yes OPENINGRES headers found checking for SQLAllocEnv in -lodbc... (cached) no No OPENINGRES support creating ./config.status creating master.Makefile -- |--------/ Yaron M. Minsky \--------| |--------\ http://www.cs.cornell.edu/home/yminsky/ /--------| Open PGP --- KeyID B1FFD916 (new key as of Dec 4th) Fingerprint: 5BF6 83E1 0CE3 1043 95D8 F8D5 9F12 B3A9 B1FF D916 ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners