From: Ranjan Bagchi <ranjan.bagchi@frotz.com>
To: caml-list <caml-list@inria.fr>
Subject: Building ocaml-mysql on Mac OS X
Date: Sat, 16 Jul 2005 12:51:11 -0700 [thread overview]
Message-ID: <7BA340B3-F9B9-4E8E-9936-5F179B637A5C@frotz.com> (raw)
Hi --
Curious if anyone has had luck buildling ocaml-mysql on OS X ( it
seem to be fine on linux).
I had to mess with the Makefile so it would find the mysql libraries
in /opt/local (I use darwin ports), and did the obvious things, but
when I build a toplevel and try to bring in the mysql stuff I get the
following error:
Ranjan-Bagchis-Computer:~/ocaml/foo ranjan$ ocamlfind mktop -o
topmysql -package mysql -custom
Ranjan-Bagchis-Computer:~/ocaml/foo ranjan$ ./topmysql
Objective Caml version 3.08.3
# #use "topfind";;
- : unit = ()
Findlib has been successfully loaded. Additional directives:
#require "package";; to load a package
#list;; to list the available packages
#camlp4o;; to load camlp4 (standard syntax)
#camlp4r;; to load camlp4 (revised syntax)
#predicates "p,q,...";; to set these predicates
Topfind.reset();; to force that packages will be reloaded
#thread;; to enable threads
- : unit = ()
# #require "mysql";;
/opt/local/lib/site-lib/mysql: added to search path
/opt/local/lib/site-lib/mysql/mysql.cma: loaded
The external function `db_connect' is not available
Any hints on getting this built successfully?
Thanks,
Ranjan Bagchi
next reply other threads:[~2005-07-16 19:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-16 19:51 Ranjan Bagchi [this message]
2005-07-17 1:46 ` [Caml-list] " Paul Snively
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=7BA340B3-F9B9-4E8E-9936-5F179B637A5C@frotz.com \
--to=ranjan.bagchi@frotz.com \
--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