caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Re: [Caml-list] ocamlbuild under mingw
@ 2007-03-29  8:23 Matthieu Wipliez
  2007-03-30  0:24 ` Vladimir Shabanov
  0 siblings, 1 reply; 3+ messages in thread
From: Matthieu Wipliez @ 2007-03-29  8:23 UTC (permalink / raw)
  To: Caml List

[-- Attachment #1: Type: text/plain, Size: 2373 bytes --]

Hello,

I compiled the MinGW version of OCaml on Cygwin from CVS yesterday, and did not have a problem. The OCaml documentation states that one shoud "*not* install the Mingw/MSYS development tools from www.mingw.org" to compile OCaml. Have you tried Cygwin instead of MinGW, to see if it works better ?

Hope this helps,
Matthieu

----- Message d'origine ----
De : Vladimir Shabanov <vshabanoff@gmail.com>
À : Caml List <caml-list@inria.fr>
Envoyé le : Jeudi, 29 Mars 2007, 2h08mn 05s
Objet : [Caml-list] ocamlbuild under mingw

I've got strange error when
 run ocamlbuild[.byte or .native] compiled
using MINGW.

"c:/prog/mingw/msys/1.0/bin/sh.exe"-2.04$ ocamlbuild
'tput' is not recognized as an internal or external command,
operable program or batch file.
Fatal error: exception Unix.Unix_error(3, "close_process_in", "")

Also I get the same error when trying compile ocaml using ./build/fastworld.sh
somewhere near the folowing lines:
...
+ cp _build/myocamlbuild boot/myocamlbuild.native
+ ./boot/myocamlbuild.native ocamlc.opt.exe ocaml.exe
otherlibs/win32unix/unixsupport.h otherlibs/win32unix/cst2constr.h
..... MANY FILES .... camlp4/Camlp4Filters/Camlp4Tracer.cmx
camlp4/Camlp4Filters/Camlp4Tracer.o
camlp4/Camlp4Filters/Camlp4TrashRemover.cmx
 camlp4/Camlp4Filters/Camlp4TrashRemover.o
'tput' is not recognized as an internal or external command,
operable program or batch file.
Fatal error: exception Unix.Unix_error(3, "close_process_in", "")

Is anyone had
 working ocamlbuild on mingw system?

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs







		 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.





	

	
		
___________________________________________________________________________ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com

[-- Attachment #2: Type: text/html, Size: 3788 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] ocamlbuild under mingw
  2007-03-29  8:23 [Caml-list] ocamlbuild under mingw Matthieu Wipliez
@ 2007-03-30  0:24 ` Vladimir Shabanov
  0 siblings, 0 replies; 3+ messages in thread
From: Vladimir Shabanov @ 2007-03-30  0:24 UTC (permalink / raw)
  To: Matthieu Wipliez, Caml List

For some reason I don't use cygwin, so compiling under one is not an
option. MSYS works ok for me, since I use latest binutils & gcc
compiled by myself, not from MinGW distribution (so no problems with
@response files).

As Nicolas Pouillard said, the problem with ocamlbuild was 'tput'
command from termutils, which haven't been installed on my system. Now
it works fine.

2007/3/29, Matthieu Wipliez <mwipliez@yahoo.fr>:
>
> Hello,
>
>
> I compiled the MinGW version of OCaml on Cygwin from CVS yesterday, and did
> not have a problem. The OCaml documentation states that one shoud "*not*
> install the Mingw/MSYS development tools from www.mingw.org" to compile
> OCaml. Have you tried Cygwin instead of MinGW, to see if it works better ?
>
> Hope this helps,
> Matthieu
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] ocamlbuild under mingw
  2007-03-29  0:08 Vladimir Shabanov
@ 2007-03-29 11:28 ` Nicolas Pouillard
  0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Pouillard @ 2007-03-29 11:28 UTC (permalink / raw)
  To: Vladimir Shabanov; +Cc: Caml List

On 3/29/07, Vladimir Shabanov <vshabanoff@gmail.com> wrote:
> I've got strange error when run ocamlbuild[.byte or .native] compiled
> using MINGW.
>

You don't have the tput command, it's needed for the display of
ocamlbuild. However you can switch to the classic display that don't
use it (-classic-display) or install tput.

-- 
Nicolas Pouillard


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-03-30  0:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-29  8:23 [Caml-list] ocamlbuild under mingw Matthieu Wipliez
2007-03-30  0:24 ` Vladimir Shabanov
  -- strict thread matches above, loose matches on Subject: below --
2007-03-29  0:08 Vladimir Shabanov
2007-03-29 11:28 ` [Caml-list] " Nicolas Pouillard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).