Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* Building ocaml-mysql on Mac OS X
@ 2005-07-16 19:51 Ranjan Bagchi
  2005-07-17  1:46 ` [Caml-list] " Paul Snively
  0 siblings, 1 reply; 2+ messages in thread
From: Ranjan Bagchi @ 2005-07-16 19:51 UTC (permalink / raw)
  To: caml-list

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-07-17  1:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-16 19:51 Building ocaml-mysql on Mac OS X Ranjan Bagchi
2005-07-17  1:46 ` [Caml-list] " Paul Snively

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox