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 ocamlgraph #92

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

Odb on Windows: problem with ocamlgraph #92

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

mrm@proxima /cygdrive/c/projects/odb
$ ocaml odb.ml ocamlgraph
Installing ocamlgraph
Deps for ocamlgraph satisfied
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  271k  100  271k    0     0   195k      0  0:00:01  0:00:01 --:--:--  311k
package downloaded to C:\cygwin\home\mrm\.odb\install-ocamlgraph\ocamlgraph-1.8.2
'.' is not recognized as an internal or external command,
operable program or batch file.
E: Failure("Command 'touch setup.data && ./configure --prefix C:\\cygwin\\home\\mrm\\.odb' terminated with error code 1")
Exception: Failure "Could not configure ocamlgraph".
@thelema
Copy link
Owner

thelema commented Oct 15, 2012

Thank you for the issue report; it looks like there's some problem with the upstream configure script; I'll see if I can work with them to fix this.

@UnixJunkie
Copy link

On 10/16/2012 04:52 AM, mmouratov wrote:

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:

|mrm@proxima /cygdrive/c/projects/odb
$ ocaml odb.ml ocamlgraph
Installing ocamlgraph
Deps for ocamlgraph satisfied
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 271k 100 271k 0 0 195k 0 0:00:01 0:00:01 --:--:-- 311k
package downloaded to C:\cygwin\home\mrm.odb\install-ocamlgraph\ocamlgraph-1.8.2
'.' is not recognized as an internal or external command,
operable program or batch file.

Maybe a stupid question: is it possible to create a hidden directory
under Cygwin (I don't have access to one)?

mkdir ~/.odb # for example

Does it work?

E: Failure("Command 'touch setup.data && ./configure --prefix C:\cygwin\home\mrm.odb' terminated with error code 1")
Exception: Failure "Could not configure ocamlgraph".
|


Reply to this email directly or view it on GitHub
#92.

@murmour
Copy link
Author

murmour commented Oct 16, 2012

Sure, it works.

mrm@axiom ~
$ mkdir ~/.somedir

mrm@axiom ~
$ ls -A ~
.bash_history  .bashrc   .lesshst  .profile
.bash_profile  .inputrc  .odb      .somedir

@UnixJunkie
Copy link

My guess is that there is a problem on Cygwin in the function
install_package when the current directory is referred to as '.' .
I can't help further as I don't have access to Cygwin.

@UnixJunkie
Copy link

You may give a try at this if you need OCaml and several libraries on Windows "right now":

http://wodi.forge.ocamlcore.org/

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