Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Odb on Windows: problem with camomile #93

Open
murmour opened this issue Oct 15, 2012 · 5 comments
Open

Odb on Windows: problem with camomile #93

murmour opened this issue Oct 15, 2012 · 5 comments

Comments

@murmour
Copy link

murmour commented Oct 15, 2012

Steps to reproduce the problem

  1. Install the official Cygwin-based OCaml installer;
  2. Install Odb by downloading the latest odb.ml, adding appropriate lines to findlib.conf, ld.conf and creating the ~/.odb/lib directory;
  3. Run the Cygwin shell.

Problem

$ ocaml odb.ml camomile
which: no camomile in (/cygdrive/c/ocaml/bin:/usr/local/bin:/usr/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/mingw/bin:/cygdrive/c/Graphviz2.26/bin:/cygdrive/c/flexdll:/usr/bin:/cygdrive/c/Program Files/TortoiseHg)
Installing camomile
which: no camomile in (/cygdrive/c/ocaml/bin:/usr/local/bin:/usr/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/mingw/bin:/cygdrive/c/Graphviz2.26/bin:/cygdrive/c/flexdll:/usr/bin:/cygdrive/c/Program Files/TortoiseHg)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 2227k  100 2227k    0     0  84002      0  0:00:27  0:00:27 --:--:--  121k
package downloaded to C:\cygwin\home\mrm\.odb\install-camomile\camomile-0.8.1
'.' is not recognized as an internal or external command,
operable program or batch file.
Exception: Failure "Could not configure camomile".
@murmour
Copy link
Author

murmour commented Oct 15, 2012

The problem with Camomile disables one from installing Batteries using Odb. I could easily build and install both of them by hand though (with configure/make/make install).

@thelema
Copy link
Owner

thelema commented Oct 15, 2012

Actually, I'd recommend using this command: ocaml odb.ml https://github.com/ocaml-batteries-team/batteries-included.git to install the latest batteries from git. It doesn't depend on camomile. If you don't have git installed (which the previous command needs), I'm sure there's a zip or tarball URL on github that you can point odb to and it'll try its best to do the right thing.

@UnixJunkie
Copy link

On 10/16/2012 05:34 AM, Edgar Friendly wrote:

Actually, I'd recommend using this command: |ocaml odb.ml
https://github.com/ocaml-batteries-team/batteries-included.git| to
install the latest batteries from git. It doesn't depend on camomile. If
you don't have git installed (which the previous command needs), I'm
sure there's a zip or tarball URL on github that you can point odb to
and it'll try its best to do the right thing.

Maybe this is the kind of URL you are looking for (line is cut, sorry):

https://github.com/ocaml-batteries-team/batteries-included/tarball/master

@thelema
Copy link
Owner

thelema commented Oct 16, 2012

Yes, this URL looks right, although I'm not sure if odb will work right with it because it doesn't have an extension. Shouldn't be too hard for someone to fix.

@UnixJunkie
Copy link

I created a pull request for this.

thelema added a commit that referenced this issue Oct 16, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants