From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.2 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 4EDC4BC6B for ; Tue, 8 Jan 2008 15:58:59 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAPweg0fRVca9kmdsb2JhbACQGgEBAQEHAgYpkjCGOQ X-IronPort-AV: E=Sophos;i="4.24,258,1196636400"; d="scan'208";a="21021300" Received: from rv-out-0910.google.com ([209.85.198.189]) by mail4-smtp-sop.national.inria.fr with ESMTP; 08 Jan 2008 15:58:57 +0100 Received: by rv-out-0910.google.com with SMTP id k20so6273632rvb.3 for ; Tue, 08 Jan 2008 06:58:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=oQO9BJa87bjuBtJ74qik589subRvMBfB5DFq2+C+spE=; b=ep8md9bfCz3/3RyYpqcY6IBolOYtB/PEc2ZAoc2wPslrHNAM6Vs1v6m9+gFo7mTqevTqHB22V9eZ4wWyCxP0OBNgyIu5nT3Rr7rj9g0sV7B0LPDdJFMQstDSOjykyqskpB0AhB4O3f4wT2uJnKKgkh72KcwwQDqZAKqEb7S4+Dw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=aWYgY8q+vIxBzdWhQb+2BmksvFDUYiADKVlHE8x2JTvTIqlyXoGYxjuS23i5pJ8POgV/zhzTGTnWuPEXYmpyFOztdWWiheZyuY6kBrBV+c+Ul+NsFZXAKdzf2Kj44OW3RJ2iZJTM847MDvZAPqciVsKsibokbC0VNzd0iQYngrI= Received: by 10.140.250.14 with SMTP id x14mr2768651rvh.119.1199804333659; Tue, 08 Jan 2008 06:58:53 -0800 (PST) Received: by 10.140.134.3 with HTTP; Tue, 8 Jan 2008 06:58:53 -0800 (PST) Message-ID: <666572260801080658o226cba0bs8696e3bf01e61e61@mail.gmail.com> Date: Tue, 8 Jan 2008 15:58:53 +0100 From: Adrien To: "Caml Mailing List" Subject: An ocaml livecd MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam: no; 0.00; ocaml:01 ocaml:01 modular:01 subset:01 gcc:01 ocaml-:01 ledit:01 ocamlfind:01 lablgtk:01 command-line:01 read-only:01 ledit:01 syntax:01 lablgtk:01 emacs:01 Hi, Some time ago there was a discussion about the usefulness of an ocaml livecd. There is already Demolinux or Juppix but they both contain a lot of data (.iso weigh about 700MB) and Demolinux is really aging. So here is a test version for a new one. The goal of the livecd is not to have java, eclipse or apache, it is to provide a comfortable environment for ocaml but also general usage while consuming few resources. Hopefully it is easy to plug-in modules in the root filesystem whenever one wants (see http://slax.hosting4p.com/modules.php ). This modular approach is important as it reduces space usage (both on the cd and in memory) while keeping all the functionnalities. The base is slackware-current with linux-live scripts (1) and slax's kernel (2) as a mysterious problem prevents me from using my owns. The build process is pretty easy and reproductible by anybody within two hours. Feel free to ask if you want the small scripts I've written : one creates an iso from a subset of slackware-current, the other one removes some files and move some others in order to create modules for C development [headers and gcc data] and documentation. (1) : http://www.linux-live.org (2) : taken from slax6rc7 iso along with modules, http://merlin.fit.vutbr.cz/mirrors/slax/SLAX-6.x/rc7/ The result is a 147MB iso file with a graphical environment which can run on computers with 128MB of RAM. Right now this livecd features xfce, ocaml-3.10.1-rc1, ledit, ocamlfind, gvim (vi is elvis though), mousepad, gmplayer, pcmanfm (file-manager), emelfm (same), Thunar (same). It also features fftw2 which I wanted for myself and I'll be happy to include any other module one could want (I've forgotten lablgtk2 for example). Basic usage/advice is : - upon boot, use to edit the command-line and use vga=0x315 for 800x600 console display, vga=0x317 for 1024x768 and vga=0x31A for 1280x1024. - log in as root (the filesystem is read-only), there is currently no password. - use the startx command for the gui (vesa 1024x768 by default, works for geforce go 7600, geforce 7600gt, radeon x300) and if you have a weird terminal, quit xfce, run xorgsetup and use a higher color depth. You may run xorgsetup anytime display is problematic in fact. - ocaml with ledit and unix.cma is the yellow helmet on the left There are already todo and fixme lists: fixme, most being immediate to fix: * higher default resolution for boot * debug off for pcmanfm (its inotify debug is a real flood) * /etc/group, I'm not sure of the proper syntax * include the development and documentation modules (ocaml documentation is not concerned, it is always there) * lablgtk * wput * network which is available but not activated by default. todo: * emacs with tuareg is absent but only because I don't personnaly use and can't make it properly (I've already found the friend I'm going to work on this ;) ) * ndiswrapper with stripped driverpacks ( http://driverpacks.net/DriverPacks/DriverPack.php?pag=l ) to support some wifi cards (as my bcm43xx for instance) * drocaml but I would like to make it lighter otherwise it will have troubles running * cameleon2 which surprinsingly doesn't compile on my computer * improved bootscreen (but don't be afraid, there'll be no ugly gfx ;) ) * copy2ram (copy data from cd or usb key to ram to improve performance) The iso file can be downloaded at http://ocaml.yaxm.org/files/llama/llama.iso and yes I really had no idea for the name. ;p Any feedback is highly appreciated. PS: Am I allowed to redistribute the oreilly book in pdf format ? What about the ocaml pdf by inria ? --- Adrien Nader