Results 1 to 10 of 10

Thread: [Request for package or help to build] Camllight

  1. #1
    Join Date
    Sep 2011
    Location
    127.0.0.1
    Posts
    44

    Question [Request for package or help to build] Camllight

    Hi all !

    I recently installed OpenSUSE 11.4 on my laptop, which gave me entire satisfaction, since then
    Since I'm in a prep school and have got informatics lessons, I have to work with the Camllight language. But I didn't find any *.rpm ... I tried to compile from source but was given errors while making the contrib libraries...
    It would be great if someone built this package

    I successfully built and installed the camllight core but, when i need the graphics library or whatever, it's a bit trickier... (I have to switch to Microlo$t Windope...)

    Best regards !
    [Moviuro]

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,071
    Blog Entries
    15

    Default Re: [Request for package or help to build] Camllight

    Cam't use ocaml..... Download
    Code:
    zypper se ocaml
    S | Name           | Summary                                                   | Type   
    --+----------------+-----------------------------------------------------------+--------
      | graphviz-ocaml | OCAML extension for graphviz                              | package
      | ocaml          | The Objective Caml Compiler and Programming Environment   | package
      | ocaml-brlapi   | Library to use BRLTTY from applications -- OCaml Bindings | package
      | ocaml-docs     | The Objective Caml Compiler and Programming Environment   | package
      | ocaml-emacs    | The Objective Caml Compiler and Programming Environment   | package
      | ocaml-facile   | Ocaml Constraint Programming Library                      | package
      | ocaml-ocamldoc | The Objective Caml Compiler and Programming Environment   | package
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3
    Join Date
    Sep 2011
    Location
    127.0.0.1
    Posts
    44

    Default Re: [Request for package or help to build] Camllight

    Quote Originally Posted by malcolmlewis View Post
    Cam't use ocaml..... Download
    Well, no. Since it's for school, it's a bit tricky... And since the language is slightly different, I can't waste my time to rewrite every single programm I have written... And I need to run the scripts I write...

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,071
    Blog Entries
    15

    Default Re: [Request for package or help to build] Camllight

    Hi
    What version? There is a 0.81 version here Index of /source seems to compile the contrib.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  5. #5
    Join Date
    Oct 2008
    Location
    Glasgow, Scotland
    Posts
    1,144

    Default Re: [Request for package or help to build] Camllight

    Try this:
    In contrib/Makefile
    line 6 (PACKAGES ... ) delete the trailing "\" and newline.
    this will give
    Code:
    line 6:PACKAGES=libunix libgraph debugger libnum libstr mletags camlmode lorder profiler camltk4 camlsearch
    line 7:# caml-tex
    Then make all

    Happy days. I haven't done any functional programming since Haskell and Miranda in the 80s. Did not know about CamlLight. Must have some playtime.

  6. #6
    Join Date
    Oct 2008
    Location
    Glasgow, Scotland
    Posts
    1,144

    Default Re: [Request for package or help to build] Camllight

    Forget that last post. I do not know what I did to get contribs to compile. I will investigate some more.

  7. #7
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,071
    Blog Entries
    15

    Default Re: [Request for package or help to build] Camllight

    Quote Originally Posted by eng-int
    *Forget that last post.* I do not know what I did to get contribs to
    compile. I will investigate some more.
    Hi
    Download the camllight_0.81-1.diff.gz file there are a gazillion
    patches that need applying, some need to be un-deb-ified though...

    --
    Cheers Malcolm °¿° (Linux Counter #276890)
    openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.7-desktop
    up 3 days 9:19, 4 users, load average: 0.24, 0.28, 0.39
    GPU GeForce 8600 GTS Silent - Driver Version: 280.13


  8. #8
    Join Date
    Sep 2011
    Location
    127.0.0.1
    Posts
    44

    Default Re: [Request for package or help to build] Camllight

    Okay, thanks guys compiling and installing the graphic libs was fine !!

    But what should I do with the *.diff file ?...

  9. #9
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,071
    Blog Entries
    15

    Default Re: [Request for package or help to build] Camllight

    Quote Originally Posted by Moviuro
    Okay, thanks guys compiling and installing the graphic libs was fine
    !!

    But what should I do with the *.diff file ?...
    Hi
    Copy the gz file to the camllight-0.81 directory, then;
    Code:
    gunzip camllight_0.81-1.diff.gz
    patch -p1 < camllight_0.81-1.diff
    --
    Cheers Malcolm °¿° (Linux Counter #276890)
    openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.7-desktop
    up 4 days 3:39, 4 users, load average: 0.18, 0.14, 0.14
    GPU GeForce 8600 GTS Silent - Driver Version: 280.13


  10. #10
    Join Date
    Sep 2011
    Location
    127.0.0.1
    Posts
    44

    Default Re: [Request for package or help to build] Camllight

    Patch caused camllight's contrib libraries not to compile successfully. So I won't patch it Still works fine Thanks Malcolm & eg-int

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •