#10 Path problem on mingw

closed-fixed
nobody
None
5
2010-01-15
2010-01-14
Anonymous
No

After I installed camomile on my mingw system

(see http://sourceforge.net/tracker/?func=detail&aid=2931970&group_id=40603&atid=428416\)

I can't have it work:

Process caml-toplevel finished
Objective Caml version 3.11.0

# #use"topfind";;
- : unit = ()
Findlib has been successfully loaded. Additional directives:
#require "package";; to load a package
#list;; to list the available packages
#camlp4o;; to load camlp4 (standard syntax)
#camlp4r;; to load camlp4 (revised syntax)
#predicates "p,q,...";; to set these predicates
Topfind.reset();; to force that packages will be reloaded
#thread;; to enable threads

- : unit = ()
# #require"camomile";;
C:\cygwin\home\matt\ocamlmgw\lib\bigarray.cma: loaded
C:\cygwin\home\matt\ocamlmgw\lib\site-lib\camomile: added to search path
C:\cygwin\home\matt\ocamlmgw\lib\site-lib\camomile\camomile.cma: loaded
Exception:
Sys_error
"/home/matt/ocamlmgw/share/camomile/database\\general_category.mar: No such file or directory".

Discussion

  • Ignor this bug, please. After I ran ./configure the following way, everything worked ok:
    ./configure --prefix=/home/matt/ocamlmgw --datadir=c:\\cygwin\\home\\matt\\ocamlmgw\\share

     
    • status: open --> closed-fixed
     
  • The workaroud is posted in the comment above.

     
  • Wait! Do you mean that you could compile Camomile on MinGW? In my Cygwin environment, Camomile cannot be compiled because null files are created in charmaps directory. Could you post the full compile log?