Hi,

On 24/11/2011, Sylvain Le Gall <[email protected]> wrote:
> On 24-11-2011, Paul A. Steckler <[email protected]> wrote:
>>
>>  - When trying to build some standard OCaml packages, like cryptokit
>> and oUnit, the 'configure'
>> and 'make' steps fail badly. One reason is that 'configure' invokes an
>> OCaml program which calls
>> Sys.command, and on my computer, some of the arguments are filenames
>> with spaces in them.
>>
>
> These one are bugs from oasis:
> https://forge.ocamlcore.org/tracker/index.php?func=detail&aid=941&group_id=54&atid=291
>
> I am working on it for the next version.
>
> Though, you should be warned that part of the compilation chain doesn't
> deal well with spaces in command. AFAIR, maybe something related to
> ocamlbuild and/or passing include paths for C library.
>

One solution is to put the ocaml toolchain somewhere else and set the
OCAMLLIB environment variable to the new PATH.
While you're at it, you can also use forward-slashes in paths: c:/foo/bar/baz.
This issues mostly happen with shell scripts and not programs which
have been made with greater care (actually they're probably the same
class of bugs as SQL injections).

Hope this helps.

Adrien Nader

-- 
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

Reply via email to