Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Florent Monnier <fmonnier@linux-nantes.org>
To: Caml List <caml-list@inria.fr>
Subject: [Caml-list] [rpi] getting ocamlopt on RPi with raspbian
Date: Wed, 22 May 2013 13:30:31 +0200	[thread overview]
Message-ID: <CAE1DttCvThJ8kbKO_927foP_=0T_3gsv1g53i=h4xPKvJ5e++A@mail.gmail.com> (raw)

Hi,

While searching for [ocamlopt raspberry pi] on seeks.fr I've found this:

http://www.raspberrypi.org/phpBB3/viewtopic.php?t=23565&p=219670
which points to:
https://godirepo.camlcity.org/pipermail/godi-list/2012-November/003537.html
it says:
"""
If you read this, and OCaml-4.01 is already out, you probably
do not need to take care of the following, because the required patch
is probably already in this release
"""

I installed yesterday "2013-02-09-wheezy-raspbian.img" which provides ocaml 3.

I've insalled ocaml libs provided by apt-get, included -dev libs.
I'm not sure to understand. What can we do with it without ocamlopt?

What is the prefered way to get ocamlopt working on RPi today?

Opam compiles fine with ocaml 3.
After closing all the other applications opam init can finish without
running out of memory.

So I thought to try to:
opam switch 4.00.1
[...]
+ ./boot/ocamlrun boot/myocamlbuild byte_stdlib_mixed_mode ocamlc
lex/ocamllex camlp4/Camlp4/Camlp4Ast.partial.ml
camlp4/boot/camlp4boot.byte camlp4/Camlp4.cmo camlp4/Camlp4Top.cmo
camlp4/camlp4prof.byte camlp4/mkcamlp4.byte camlp4/camlp4.byte
camlp4/camlp4fulllib.cma camlp4/camlp4boot.byte camlp4/camlp4boot.cma
camlp4/camlp4r.byte camlp4/camlp4r.cma camlp4/camlp4rf.byte
camlp4/camlp4rf.cma camlp4/camlp4o.byte camlp4/camlp4o.cma
camlp4/camlp4of.byte camlp4/camlp4of.cma camlp4/camlp4oof.byte
camlp4/camlp4oof.cma camlp4/camlp4orf.byte camlp4/camlp4orf.cma
camlp4/Camlp4Parsers/Camlp4AstLoader.cmo
camlp4/Camlp4Parsers/Camlp4DebugParser.cmo
camlp4/Camlp4Parsers/Camlp4GrammarParser.cmo
camlp4/Camlp4Parsers/Camlp4ListComprehension.cmo
camlp4/Camlp4Parsers/Camlp4MacroParser.cmo
camlp4/Camlp4Parsers/Camlp4OCamlOriginalQuotationExpander.cmo
camlp4/Camlp4Parsers/Camlp4OCamlParser.cmo
camlp4/Camlp4Parsers/Camlp4OCamlParserParser.cmo
camlp4/Camlp4Parsers/Camlp4OCamlReloadedParser.cmo
camlp4/Camlp4Parsers/Camlp4OCamlRevisedParser.cmo
[...]
camlp4/Camlp4Filters/Camlp4MetaGenerator.cmo
camlp4/Camlp4Filters/Camlp4Profiler.cmo
camlp4/Camlp4Filters/Camlp4TrashRemover.cmo
make[1]: *** [odoc_config.cmx] Segmentation fault
make: *** [ocamldoc.opt] Error 2


Without ocamlopt it's not possible to install most things from Opam...


Is there a wiki for ocaml on RPi ?

-- 
Thanks

             reply	other threads:[~2013-05-22 11:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-22 11:30 Florent Monnier [this message]
2013-05-22 12:34 ` Anil Madhavapeddy
2013-05-22 12:35 ` Daniel Bünzli

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='CAE1DttCvThJ8kbKO_927foP_=0T_3gsv1g53i=h4xPKvJ5e++A@mail.gmail.com' \
    --to=fmonnier@linux-nantes.org \
    --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