Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] ocamlodbc, unixODBC, and MinGW/Cygwin
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Yaron M. Minsky <yminsky@C...>
Subject: [Caml-list] ocamlodbc, unixODBC, and MinGW/Cygwin
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