caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Casey Basichis <caseybasichis@gmail.com>
To: OCaml Mailing List <caml-list@inria.fr>
Subject: [Caml-list] Installing Tuareg mode
Date: Sat, 24 Aug 2013 09:41:37 -0700	[thread overview]
Message-ID: <CAKX7ZAWwTmyTXDb10QWm1w9QGJnwFCQuk+LdLFdWLt1hZU6u0A@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 5850 bytes --]

Hi,

I am having an awful time getting Tuareg mode installed.

I have three versions of Emacs installed and will use which ever works
first. Aquamacs, Emacs for Osx and the Emacs that is default in the
terminal.

I installed tuareg.el and ocamldebug.el in all of the following
   /opt/local/share/emacs/site-lisp
   /Users/caseybasichis/macports/share/emacs/site-lisp
   /Applications/Emacs.app/Contents/Resources/site-lisp
   /Users/caseybasichis/Library/Application Support/Aquamacs Emacs
   /Users/caseybasichis/Library/Preferences/Aquamacs Emacs

I created a ~/.emacs file with one line:
(load "/opt/local/share/emacs/site-lisp/tuareg.el")

When I open up a simple test.ml file in any version of emacs with:
let x = 12;;

It always says (lisp) at the bottom and none of the Tuareg commands work.

Any idea how I can get this running?

Thanks,
Casey


When I run ocaml in the terminal i get:
        OCaml version 4.00.1

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

/Users/caseybasichis/.opam/4.00.1/lib/ocaml/dynlink.cma: loaded
/Users/caseybasichis/.opam/4.00.1/lib/ocaml/camlp4: added to search path
/Users/caseybasichis/.opam/4.00.1/lib/ocaml/camlp4/camlp4o.cma: loaded
/Users/caseybasichis/.opam/4.00.1/lib/ocaml/threads: added to search path
/Users/caseybasichis/.opam/4.00.1/lib/ocaml/unix.cma: loaded
/Users/caseybasichis/.opam/4.00.1/lib/ocaml/threads/threads.cma: loaded
/Users/caseybasichis/.opam/4.00.1/lib/ocaml/bigarray.cma: loaded
/Users/caseybasichis/.opam/4.00.1/lib/bin_prot: added to search path
/Users/caseybasichis/.opam/4.00.1/lib/bin_prot/bin_prot.cma: loaded
/Users/caseybasichis/.opam/4.00.1/lib/variantslib: added to search path
/Users/caseybasichis/.opam/4.00.1/lib/variantslib/variantslib.cma: loaded
/Users/caseybasichis/.opam/4.00.1/lib/ocaml/nums.cma: loaded
/Users/caseybasichis/.opam/4.00.1/lib/num-top: added to search path
/Users/caseybasichis/.opam/4.00.1/lib/num-top/num_top.cma: loaded
Camlp4 Parsing version 4.00.1

/Users/caseybasichis/.opam/4.00.1/lib/num: added to search path
/Users/caseybasichis/.opam/4.00.1/lib/sexplib: added to search path
/Users/caseybasichis/.opam/4.00.1/lib/sexplib/sexplib.cma: loaded
/Users/caseybasichis/.opam/4.00.1/lib/fieldslib: added to search path
/Users/caseybasichis/.opam/4.00.1/lib/fieldslib/fieldslib.cma: loaded
/Users/caseybasichis/.opam/4.00.1/lib/oUnit: added to search path
/Users/caseybasichis/.opam/4.00.1/lib/oUnit/oUnit.cma: loaded
/Users/caseybasichis/.opam/4.00.1/lib/pa_ounit: added to search path
/Users/caseybasichis/.opam/4.00.1/lib/pa_ounit/pa_ounit_lib.cma: loaded
/Users/caseybasichis/.opam/4.00.1/lib/res: added to search path
/Users/caseybasichis/.opam/4.00.1/lib/res/res.cma: loaded
/Users/caseybasichis/.opam/4.00.1/lib/core_kernel: added to search path
/Users/caseybasichis/.opam/4.00.1/lib/core_kernel/core_kernel.cma: loaded
/Users/caseybasichis/.opam/4.00.1/lib/core: added to search path
/Users/caseybasichis/.opam/4.00.1/lib/core/core.cma: loaded
/Users/caseybasichis/.opam/4.00.1/lib/core/core_top.cma: loaded
/Users/caseybasichis/.opam/4.00.1/lib/core/core_top.cma: loaded
/Users/caseybasichis/.opam/4.00.1/lib/type_conv: added to search path
/Users/caseybasichis/.opam/4.00.1/lib/type_conv/pa_type_conv.cma: loaded
/Users/caseybasichis/.opam/4.00.1/lib/sexplib/pa_sexp_conv.cma: loaded
/Users/caseybasichis/.opam/4.00.1/lib/fieldslib/pa_fields_conv.cma: loaded
/Users/caseybasichis/.opam/4.00.1/lib/variantslib/pa_variants_conv.cma:
loaded
/Users/caseybasichis/.opam/4.00.1/lib/comparelib: added to search path
/Users/caseybasichis/.opam/4.00.1/lib/comparelib/comparelib.cma: loaded
/Users/caseybasichis/.opam/4.00.1/lib/comparelib/pa_compare.cma: loaded
/Users/caseybasichis/.opam/4.00.1/lib/bin_prot/pa_bin_prot.cma: loaded
/Users/caseybasichis/.opam/4.00.1/lib/custom_printf: added to search path
/Users/caseybasichis/.opam/4.00.1/lib/custom_printf/pa_custom_printf.cma:
loaded
/Users/caseybasichis/.opam/4.00.1/lib/pa_pipebang: added to search path
/Users/caseybasichis/.opam/4.00.1/lib/pa_pipebang/pa_pipebang.cma: loaded
/Users/caseybasichis/.opam/4.00.1/lib/herelib: added to search path
/Users/caseybasichis/.opam/4.00.1/lib/herelib/pa_herelib.cma: loaded
/Users/caseybasichis/.opam/4.00.1/lib/pcre: added to search path
/Users/caseybasichis/.opam/4.00.1/lib/pcre/pcre.cma: loaded
/Users/caseybasichis/.opam/4.00.1/lib/textutils: added to search path
/Users/caseybasichis/.opam/4.00.1/lib/textutils/textutils.cma: loaded
/Users/caseybasichis/.opam/4.00.1/lib/custom_printf/custom_printf.cma:
loaded
/Users/caseybasichis/.opam/4.00.1/lib/core_extended: added to search path
/Users/caseybasichis/.opam/4.00.1/lib/core_extended/core_extended.cma:
loaded
/Users/caseybasichis/.opam/4.00.1/lib/herelib/herelib.cma: loaded
/Users/caseybasichis/.opam/4.00.1/lib/async_core: added to search path
/Users/caseybasichis/.opam/4.00.1/lib/async_core/async_core.cma: loaded
/Users/caseybasichis/.opam/4.00.1/lib/async_unix: added to search path
/Users/caseybasichis/.opam/4.00.1/lib/async_unix/async_unix.cma: loaded
/Users/caseybasichis/.opam/4.00.1/lib/async_extra: added to search path
/Users/caseybasichis/.opam/4.00.1/lib/async_extra/async_extra.cma: loaded
/Users/caseybasichis/.opam/4.00.1/lib/async: added to search path
/Users/caseybasichis/.opam/4.00.1/lib/async/async.cma: loaded

-- 
Casey James Basichis
Composer - Adventure Time - Cartoon Network
http://www.caseyjamesbasichis.com
caseybasichis@gmail.com
310.387.7540

[-- Attachment #2: Type: text/html, Size: 7307 bytes --]

             reply	other threads:[~2013-08-24 16:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-24 16:41 Casey Basichis [this message]
2013-08-24 16:53 ` Philippe Wang
2013-08-24 17:05   ` Casey Basichis

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=CAKX7ZAWwTmyTXDb10QWm1w9QGJnwFCQuk+LdLFdWLt1hZU6u0A@mail.gmail.com \
    --to=caseybasichis@gmail.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;
as well as URLs for NNTP newsgroup(s).