caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Martin DeMello <martindemello@gmail.com>
To: OCaml List <caml-list@yquem.inria.fr>
Subject: [Caml-list] No implementations provided for the following modules: Batteries
Date: Sun, 15 May 2011 23:29:40 +0530	[thread overview]
Message-ID: <BANLkTikKsVcAzx3si8O=scNons2=f7cGoA@mail.gmail.com> (raw)

I've installed ocaml and batteries from godi, and am using the
OCamlMakefile from godi/share/OCamlMakefile too. I've checked that
everything is up to date in godi_console (I saw on google that there
was a possible issue with ocamlfind not being updated, but this is not
the case here).

My makefile:

#--------------------------------------
RESULT = nrepl-client

SOURCES = \
					ledit/cursor.ml \
					ledit/ledit.mli ledit/ledit.ml \
					nrepl_client.ml

GODI = /home/martin/opt/godi/lib/ocaml
PACKS = unix bigarray str mikmatch_pcre pcre batteries
INCDIRS = $(GODI)/pkg-lib/batteries $(GODI)/std-lib/camlp5
$(GODI)/pkg-lib/pcre $(GODI)/pkg-lib/mikmatch_pcre
CREATE_LIB = yes
PRE_TARGETS = ledit/pa_local.cmo ledit/pa_def.cmo
USE_CAMLP4 = yes
PP = ./camlp4find $(PACKS)
export PP

all: native-code

OCAMLMAKEFILE = OCamlMakefile
include $(OCAMLMAKEFILE)
#--------------------------------------


make dies with

$ make
make[1]: Entering directory `/home/martin/code/ocaml/nrepl-client'
ocamlfind ocamlopt \
				-package unix,bigarray,str,mikmatch_pcre,pcre,batteries -linkpkg \
				 -I /home/martin/opt/godi/lib/ocaml/std-lib/camlp4 -I ledit/  -I
/home/martin/opt/godi/lib/ocaml/pkg-lib/batteries -I
/home/martin/opt/godi/lib/ocaml/std-lib/camlp5 -I
/home/martin/opt/godi/lib/ocaml/pkg-lib/pcre -I
/home/martin/opt/godi/lib/ocaml/pkg-lib/mikmatch_pcre    -ccopt
-Lledit/        -o nrepl-client \
				ledit/cursor.cmx ledit/ledit.cmx nrepl_client.cmx
File "_none_", line 1, characters 0-1:
Error: No implementations provided for the following modules:
         Batteries referenced from nrepl_client.cmx
make[1]: *** [nrepl-client] Error 2
make[1]: Leaving directory `/home/martin/code/ocaml/nrepl-client'
make: *** [native-code] Error 2

martin

             reply	other threads:[~2011-05-15 18:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-15 17:59 Martin DeMello [this message]
2011-05-15 19:07 ` Edgar Friendly
2011-05-15 19:33   ` Martin DeMello

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='BANLkTikKsVcAzx3si8O=scNons2=f7cGoA@mail.gmail.com' \
    --to=martindemello@gmail.com \
    --cc=caml-list@yquem.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).