Gerd Stolpmann a écrit :
> I cannot reproduce the error.

Hello.

Sorry for the late feedback: This has been solved, and the issue was
that concerning environment variables, Windows environment variables
have precedence over Cygwin environment variables. As I tried to install
the native ocaml port based on MinGW, available at

http://caml.inria.fr/ocaml/release.fr.html
http://caml.inria.fr/pub/distrib/ocaml-3.10/ocaml-3.10.2-win-mgw.exe

the Windows environment variable OCAMLLIB became set. I then realised
that I did not wanted to do this, so I then installed godi on cygwin.
Unfortunately Godi was confused about OCAMLLIB which was already set,
and not removed. This triggered the errors that I described.

There's therefore two things to be done:

-1- The executable for uninstallation available in the native Windows
port of Ocaml using MinGW should properly remove the environment
variables. It seemed that this was not done when I installed Godi on Cygwin.

-2- Perhaps your scripts should issue some warning like "If you are
using Cygwin, please check that OCAMLLIB is not set as a native Windows
enviroment variable. Native Windows variables have precedence over
Cygwin environment variables, and this confuses Godi."

Sorry to point out such a dumb issue, but this made me loose quite some
time.

Thanks for your work.

Guillaume Yziquel.

> Am Freitag, den 31.10.2008, 14:56 +0100 schrieb Guillaume Yziquel:
>> Hello, list.
>>
>> I've been trying to install godi on a virtual machine, unsing cygwin +
>> mingw. However, in bootstrap_stage2, I get the following error:
>>
>> ===> Configuring for godi-findlib-1.2.3
>> Welcome to findlib version 1.2.3
>> Configuring core...
>> Cygwin build environment found; using .exe as suffix for binaries
>> configure: cannot determine ocaml's standard library directory
>> Error: Exec error:
>> File /home/thc/local/godi/build/godi/godi-findlib/./../../mk/bsd.pkg.mk,
>> Error: Exec error:
>> File /home/thc/local/godi/build/godi/godi-findlib/./../../mk/bsd.pkg.mk,
>> Error: Command fails with code 1: godi_console
>> Failure!
>>
>> I guess it's get_stdlib that doesn't work fine...
>>
>>> ocaml_core_stdlib=`get_stdlib`
>>> if [ ! -d "$ocaml_core_stdlib" ]; then
>>>    echo "configure: cannot determine ocaml's standard library
>> directory" 1>&2
>>>     exit 1
>>> fi
>> Guillaume Yziquel.
>>
>> P.S.: Please keep my address in To: or Cc: when replying. 
>> _______________________________________________
>> Godi-list mailing list
>> [email protected]
>> https://godirepo.camlcity.org/mailman/listinfo/godi-list

_______________________________________________
Godi-list mailing list
[email protected]
https://godirepo.camlcity.org/mailman/listinfo/godi-list

Reply via email to