From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id B4F0EBBAF for ; Thu, 25 Feb 2010 10:40:36 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8BAIXUhUvRVdzgkGdsb2JhbACDBYwrgXWCE4dVCBUBAQEBBwsMBxMDH4gYomo0gVmFKC2IRAEBAwWEB2cEiXM X-IronPort-AV: E=Sophos;i="4.49,538,1262559600"; d="scan'208";a="53591318" Received: from mail-fx0-f224.google.com ([209.85.220.224]) by mail1-smtp-roc.national.inria.fr with ESMTP; 25 Feb 2010 10:40:36 +0100 Received: by mail-fx0-f224.google.com with SMTP id 24so6332335fxm.17 for ; Thu, 25 Feb 2010 01:40:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=iMmeriFI6zAPsfat6B46JrYWvMVaUqIcHtKyAWYQJpY=; b=DPikDRkGzvzFLyUX+wk/tXOmXn0RA30aghve4A4xirT4l+GlX1lPkEZE5HZJ/ZWOH6 6GxRrD7zOjG1JYSeCsvSZUodiy2/nu7RTBjFyxlexunBCW+2+CP4JGPA/cT48TVwm44v PYNUjZLGIyNiDpcMT2PrObK7NOjr/vtlyeS3s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=jV3gKsu5GnaD7Rd2XtW7ekMo24jTMWJNMLiVEKfP4+IlfK+cuoPWLIlJ2TDWjikTne qZA60HEo0F9kxjGy7TQ+rHnwcUgTUtb2XwrOkQAGL1woRuSO/BqEBGmI0CSev1LMjgQf KE9vCkAxLHA8+KLzGJiK2JjW0+uVCzvZNlXTk= MIME-Version: 1.0 Received: by 10.103.84.19 with SMTP id m19mr674414mul.66.1267090836144; Thu, 25 Feb 2010 01:40:36 -0800 (PST) In-Reply-To: <4B8638BF.6080802@irisa.fr> References: <001501cab56c$7825a970$6870fc50$@metastack.com> <42eabd861002240835t16efbad0kf0adb7272dced7b6@mail.gmail.com> <4B8638BF.6080802@irisa.fr> From: Sebastien Mondet Date: Thu, 25 Feb 2010 10:40:16 +0100 Message-ID: <42eabd861002250140l3e5b2ccbsa6dc6c8bb1c925f9@mail.gmail.com> Subject: Re: [Caml-list] OCaml on Maemo To: Sebastien Ferre , caml-list@inria.fr Content-Type: multipart/alternative; boundary=0016e65b615e2fc33b0480699325 X-Spam: no; 0.00; ocaml:01 irisa:01 gtk:01 wiki:01 ocaml:01 apt-get:01 apt-get:01 gtk:01 lablgtk:01 pcre:01 compiler:01 beginner's:01 bug:01 beginner's:01 bug:01 X-Attachments: cset="UTF-8" cset="UTF-8" --0016e65b615e2fc33b0480699325 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, Feb 25, 2010 at 9:45 AM, Sebastien Ferre wrote: > Hi, > > I have an application that I would love to run > on my N810. I know this is possible because it > has been done for Unison, including its GTK interface. > > http://talk.maemo.org/showthread.php?t=3D27426 > > However, I haven't a clue on how this has been done. > > > Sebastien Mondet wrote: > >> >> Hi, >> >> On my N810, thanks to the "easy debian" technique: >> http://wiki.maemo.org/Easy_Debian >> > > It says 2.5Gb are needed, but this includes OpenOffice > and Firefox, which I don't need. Can you detail the > "easy debian" technique for installing ocaml in a lighter > way ? > > It seems that at the time I tried (last summer), easy-debian was smaller and fitted in the internal memory card (my debian-squeeze.img.ext2 file weights 1.2 GB). What I did is: - followed their installation instructions - just for fun, tried once in my life to lunch open-office on a PDA :) - played with localepurge (apt-get install localepurge) and many apt-get remove and apt-get clean, to make space to install ocaml & co But you can provide your own debian tree or disk-image to the easy-debian scripts (I did not try but they say so). > > I got access to all the ocaml packages which are available on debian-ARM= . >> Everything I tried worked perfectly (but I only tried "text mode" apps). >> > > GTK is part of mameo, so with luck, lablGTK should also > work. Have you tried ? > > no I even removed all X11 packages. >>From debian I used: omake, extlib, pcre, and sexplib And also camlmix and bracetax from sources. (http://martin.jambon.free.fr/camlmix/ ; http://bracetax.berlios.de/ ) S=C3=A9bastien Ferr=C3=A9 > > > On Wed, Feb 24, 2010 at 5:14 PM, David Allsopp > dra-news@metastack.com>> wrote: >> >> My shiny new Nokia N900 has finally arrived so, of course, having >> got bash, >> vim and texlive successfully installed I naturally need a compiler! >> >> Before I dig into trying to compile OCaml on Maemo 5, can I ask if >> anyone >> else out there has already tried (and hopefully succeeded)? >> >> >> David >> >> >> >> _______________________________________________ >> Caml-list mailing list. Subscription management: >> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list >> Archives: http://caml.inria.fr >> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners >> Bug reports: http://caml.inria.fr/bin/caml-bugs >> >> >> >> ------------------------------------------------------------------------ >> >> >> _______________________________________________ >> Caml-list mailing list. Subscription management: >> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list >> Archives: http://caml.inria.fr >> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners >> Bug reports: http://caml.inria.fr/bin/caml-bugs >> > --0016e65b615e2fc33b0480699325 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Thu, Feb 25, 2010 at 9:45 AM, Sebasti= en Ferre <Sebastien.Ferre@irisa.fr> wrote:
Hi,

I have an application that I would love to run
on my N810. I know this is possible because it
has been done for Unison, including its GTK interface.

http://talk.maemo.org/showthread.php?t=3D27426

However, I haven't a clue on how this has been done.


Sebastien Mondet wrote:

Hi,

On my N810, thanks to the "easy debian" technique:
http://wiki= .maemo.org/Easy_Debian

It says 2.5Gb are needed, but this includes OpenOffice
and Firefox, which I don't need. Can you detail the
"easy debian" technique for installing ocaml in a lighter
way ?

It seems that at the time I tried (la= st summer), easy-debian was smaller and fitted in the internal memory card<= /div>
(my =C2=A0debian-squeeze.img.ext2 file=C2=A0weights=C2=A01.2 GB).=

What I did is:
- followed their installation = instructions
- just for fun, tried once in my life to lunch open-= office on a PDA :)
- played with localepurge (apt-get install loc= alepurge) and=C2=A0many apt-get remove and apt-get clean, to make space to = install ocaml & co

But you can provide your own debian tree or disk-image = to the easy-debian scripts (I did not try but they say so).
=C2= =A0

I got access to all the ocaml packages which are available on debian-ARM. E= verything I tried worked perfectly (but I only tried "text mode" = apps).

GTK is part of mameo, so with luck, lablGTK should also
work. Have you tried ?


no I even removed all X11 packages.

From debian I used:=C2=A0omake, extlib,=C2=A0pcre, a= nd sexplib
And also camlmix and bracetax from sources.
(http://martin.jambon.free.fr/camlmix/<= /a> ;=C2=A0http://bracetax.berlios.= de/ )

=C2=A0


S=C3=A9bastien Ferr=C3=A9


On Wed, Feb 24, 2010 at 5:14 PM, David Allsopp <dra-news@metastack.com <mailto:<= a href=3D"mailto:dra-news@metastack.com" target=3D"_blank">dra-news@metasta= ck.com>> wrote:

=C2=A0 =C2=A0My shiny new Nokia N900 has finally arrived so, of course, ha= ving
=C2=A0 =C2=A0got bash,
=C2=A0 =C2=A0vim and texlive successfully installed I naturally need a com= piler!

=C2=A0 =C2=A0Before I dig into trying to compile OCaml on Maemo 5, can I a= sk if
=C2=A0 =C2=A0anyone
=C2=A0 =C2=A0else out there has already tried (and hopefully succeeded)?

=C2=A0 =C2=A0David



=C2=A0 =C2=A0_______________________________________________
=C2=A0 =C2=A0Caml-list mailing list. Subscription management:
=C2=A0 =C2=A0http://yquem.inria.fr/cgi-bin/mailman/listinfo/ca= ml-list
=C2=A0 =C2=A0Archives: = http://caml.inria.fr
=C2=A0 =C2=A0Beginner's list: http://groups.yahoo.com/group/ocaml_beg= inners
=C2=A0 =C2=A0Bug reports: http://caml.inria.fr/bin/caml-bugs



------------------------------------------------------------------------

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list Archives: http://caml.in= ria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

--0016e65b615e2fc33b0480699325--