For Programmers: Free Programming Magazines  


Home > Archive > Functional > June 2007 > OCaml Mac OS X question









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author OCaml Mac OS X question
Jeff M.

2007-06-01, 10:07 pm

I'm sorry to post a very specific question to the newsgroup, but I've
searched the web and this ng and haven't found the answer to my
question anywhere. I hope someone here that uses OCaml on OS X can
help.

First, I'm new to OCaml - just picking it up to try something new. So,
the question should be prefixed with "noob". :-) Also, this question
is 1/2 specific to the editor I'm using: TextMate. I'm trying to get
the integration of OCaml in TextMate working properly. So far,
unsuccessfully.

I downloaded the latest source for OCaml, and successfully compiled
and installed it on OS X (10.4.9 and x86). I've successfully used svn
to get the OCaml.tmbundle for TextMate to add support.

However, when I try to run the source code from TextMate, it pops up
with an error trying to run "ocamlfind", which wasn't compiled or
installed with the OCaml source. I don't know if the bundle for
TextMate is just really old and "ocamlfind" is something long since
deprecated or if "ocamlfind" is an ocaml program I'm supposed to
download from elsewhere, compile, and install myself. To be honest, I
can't seem to figure out what that program is/does.

OCaml is working successfully. I can run the programs just fine from
the terminal, compile them, etc. I just wish I could get it working
from within the editor.

Again, sorry for such a very specific question (platform, editor,
etc), but I'm hoping someone here can explain to me what "ocamlfind"
is, and perhaps someone even uses TextMate and can guide me in the
right direction.

Thanks!

Jeff M.

Fred

2007-06-01, 10:07 pm

Hello,

I don't know TextMate, but ocamlfind is indeed a separate program, that
registers libraries so that they can be found more easily. It is used by
many programs associated with ocaml, for example the make-like "omake".
So, I would tend to think that you could solve your problem just by
installing ocamlfind. See
http://www.ocaml-programming.de/pac...lib/README.html
for more information.

Hope it helps,

Fred

Jeff M. wrote:
> I'm sorry to post a very specific question to the newsgroup, but I've
> searched the web and this ng and haven't found the answer to my
> question anywhere. I hope someone here that uses OCaml on OS X can
> help.
>
> First, I'm new to OCaml - just picking it up to try something new. So,
> the question should be prefixed with "noob". :-) Also, this question
> is 1/2 specific to the editor I'm using: TextMate. I'm trying to get
> the integration of OCaml in TextMate working properly. So far,
> unsuccessfully.
>
> I downloaded the latest source for OCaml, and successfully compiled
> and installed it on OS X (10.4.9 and x86). I've successfully used svn
> to get the OCaml.tmbundle for TextMate to add support.
>
> However, when I try to run the source code from TextMate, it pops up
> with an error trying to run "ocamlfind", which wasn't compiled or
> installed with the OCaml source. I don't know if the bundle for
> TextMate is just really old and "ocamlfind" is something long since
> deprecated or if "ocamlfind" is an ocaml program I'm supposed to
> download from elsewhere, compile, and install myself. To be honest, I
> can't seem to figure out what that program is/does.
>
> OCaml is working successfully. I can run the programs just fine from
> the terminal, compile them, etc. I just wish I could get it working
> from within the editor.
>
> Again, sorry for such a very specific question (platform, editor,
> etc), but I'm hoping someone here can explain to me what "ocamlfind"
> is, and perhaps someone even uses TextMate and can guide me in the
> right direction.
>
> Thanks!
>
> Jeff M.
>

Jeff M.

2007-06-01, 10:07 pm

Thank you!

This was exactly what I needed.

Jeff M.

On Jun 1, 6:35 pm, Fred <proff...@ifrance.com> wrote:
> Hello,
>
> I don't know TextMate, but ocamlfind is indeed a separate program, that
> registers libraries so that they can be found more easily. It is used by
> many programs associated with ocaml, for example the make-like "omake".
> So, I would tend to think that you could solve your problem just by
> installing ocamlfind. Seehttp://www.ocaml-programming.de/packages/documentation/findlib/README...
> for more information.
>
> Hope it helps,
>
> Fred
>


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com