caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] ocamlodbc, unixODBC, and MinGW/Cygwin
@ 2002-08-14 21:34 Yaron M. Minsky
  0 siblings, 0 replies; only message in thread
From: Yaron M. Minsky @ 2002-08-14 21:34 UTC (permalink / raw)
  To: Caml List 

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-08-14 21:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-14 21:34 [Caml-list] ocamlodbc, unixODBC, and MinGW/Cygwin Yaron M. Minsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).