caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Yaron M. Minsky" <yminsky@CS.Cornell.EDU>
To: "Caml List " <caml-list@inria.fr>
Subject: [Caml-list] ocamlodbc, unixODBC, and MinGW/Cygwin
Date: Wed, 14 Aug 2002 17:34:33 -0400 (EDT)	[thread overview]
Message-ID: <33864.209.9.234.140.1029360873.squirrel@dragonfly.localdomain> (raw)

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


                 reply	other threads:[~2002-08-14 21:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=33864.209.9.234.140.1029360873.squirrel@dragonfly.localdomain \
    --to=yminsky@cs.cornell.edu \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).