Re: [Caml-list] Re: how could the community help with Oasis-DB; towards a CPAN for OCaml?

2011-12-18 Thread Benedikt Meurer

On Dec 17, 2011, at 22:50 , Andrej Bauer wrote:

 I tried to use Oasis on one of my projects. I got stuck at the very
 begining. I am on MacOS, there is no binary installer, and no
 instructions for MacOS users. It told me a bunch of dependencies were
 unsatisfied when I tried to compile. It would be useful to write a
 line or two about how to satisfy all the dependecies, for example:
 
 If you are compiling Oasis from source, it is easiest to satisfy all
 the dependencies by installing them via GODI (if that's even true).
 
 Even better: provide a binary installer for MacOS.

I created MacPorts for OASIS and its dependencies some time ago, you can 
install them using my Portfile repository at [1], the OASIS port is named 
caml-oasis.

 With kind regards,
 Andrej

HTH,
Benedikt

[1] https://github.com/bmeurer/MacPorts

-- 
Caml-list mailing list.  Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs



Re: [Caml-list] Re: how could the community help with Oasis-DB; towards a CPAN for OCaml?

2011-12-18 Thread Benedikt Meurer
Am 18.12.2011 um 20:46 schrieb Ashish Agarwal agarwal1...@gmail.com:

On Sun, Dec 18, 2011 at 4:35 AM, Benedikt Meurer 
benedikt.meu...@googlemail.com wrote:


  the OASIS port is named caml-oasis.


Please try to transition to the consistent name OCaml, a decision made at
the 2011 OCaml Users Meeting. Using it in lower case is okay in certain
contexts such as a package name, so here I would recommend ocaml-oasis.


This is the prefix used within MacPorts to identify OCaml packages. I don't
know why it isn't ocaml.

-- 
Caml-list mailing list.  Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs



Re: [Caml-list] Re: how could the community help with Oasis-DB; towards a CPAN for OCaml?

2011-12-18 Thread Anil Madhavapeddy
On 18 Dec 2011, at 20:01, Benedikt Meurer wrote:

 Am 18.12.2011 um 20:46 schrieb Ashish Agarwal agarwal1...@gmail.com:
 
 On Sun, Dec 18, 2011 at 4:35 AM, Benedikt Meurer 
 benedikt.meu...@googlemail.com wrote:
  
 the OASIS port is named caml-oasis.
 
 Please try to transition to the consistent name OCaml, a decision made at 
 the 2011 OCaml Users Meeting. Using it in lower case is okay in certain 
 contexts such as a package name, so here I would recommend ocaml-oasis.
 
 This is the prefix used within MacPorts to identify OCaml packages. I don't 
 know why it isn't ocaml.

It's just historical. I imported a bunch of OCaml packages into Macports a few 
years ago and preserved the prefix since it wasn't really worth the trouble to 
rename so many ports.

I've actually given up on MacPorts and switched to Homebrew recently. They 
don't like importing libraries in Homebrew and defer that to the 
language-specific package manager.  I'm hoping that odb will be sufficient to 
act as the lightweight library installer to complement Homebrew.

The only annoying thing about installing OCaml from source these days is the 
'compiler-libs' convention that most packages seem to do, but isn't really 
written down anywhere. Is there a Mantis bug about this one (I couldn't find 
one)? It's really helpful to get the Lwt toplevel working and isn't very 
obvious where those files come from without diving into the Debian packaging.

I've got a small pull request to add it to the Homebrew package at any rate. 
Comment on it to give it some life and it might even get merged... 
https://github.com/mxcl/homebrew/pull/9002

-anil
-- 
Caml-list mailing list.  Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs



Re: [Caml-list] Re: how could the community help with Oasis-DB; towards a CPAN for OCaml?

2011-12-17 Thread Andrej Bauer
I tried to use Oasis on one of my projects. I got stuck at the very
begining. I am on MacOS, there is no binary installer, and no
instructions for MacOS users. It told me a bunch of dependencies were
unsatisfied when I tried to compile. It would be useful to write a
line or two about how to satisfy all the dependecies, for example:

If you are compiling Oasis from source, it is easiest to satisfy all
the dependencies by installing them via GODI (if that's even true).

Even better: provide a binary installer for MacOS.

With kind regards,

Andrej

-- 
Caml-list mailing list.  Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs



Re: [Caml-list] Re: how could the community help with Oasis-DB; towards a CPAN for OCaml?

2011-12-17 Thread Daniel Bünzli
 I tried to use Oasis on one of my projects. I got stuck at the very
 begining. I am on MacOS, there is no binary installer, and no
 instructions for MacOS users. It told me a bunch of dependencies were
 unsatisfied when I tried to compile.

Agreed. Installing the dependencies on osx is just too painful.

But as I said before on this list, instead of providing binary
installers, I think it would be much more productive for users and
oasis devs to be able to bootstrap oasis provided with a raw ocaml
install and a reasonably posix compliant unix system (let's pretend I
didn't follow the discussion on ocaml for windows).

Best,

Daniel

-- 
Caml-list mailing list.  Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs



Re: [Caml-list] Re: how could the community help with Oasis-DB; towards a CPAN for OCaml?

2011-12-17 Thread Edgar Friendly

On 12/17/2011 06:27 PM, Daniel Bünzli wrote:

I tried to use Oasis on one of my projects. I got stuck at the very
begining. I am on MacOS, there is no binary installer, and no
instructions for MacOS users. It told me a bunch of dependencies were
unsatisfied when I tried to compile.


Agreed. Installing the dependencies on osx is just too painful.

But as I said before on this list, instead of providing binary
installers, I think it would be much more productive for users and
oasis devs to be able to bootstrap oasis provided with a raw ocaml
install and a reasonably posix compliant unix system (let's pretend I
didn't follow the discussion on ocaml for windows).


I also agree that a binary package is much less satisfactory anywhere 
with a compilation environment.


I'd love to get a report on how well odb can be used on mac.  Its second 
test of usefulness was being able to install oasis, which has a *ton* of 
deps.  It passed this test a long time ago, and should install oasis 
just fine.


If you have ocaml and findlib installed, odb should work for you.  Of 
course, let me know via its bugtracker or #ocaml on IRC if you have any 
problems.


E.

--
Caml-list mailing list.  Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs