Re: ml-build broken in windows?

Matthias Blume <[email protected]>
Newsgroups gmane.comp.lang.sml.smlnj
Message-ID <[email protected]>
Dear Dave,

can you try this example in a plain DOS shell (i.e., not under
Cygwin)?

The Windows port is generally not stress-tested much on our side,
and I have no idea what it might do when you run it in a Cygwin
environment.  In fact, I would guess that there will be major
issues with respect to pathnames -- which might explain the
cryptic error you are seeing.

Matthias


On Nov 8, 2006, at 9:13 PM, Dave Herman wrote:

> I'm using SMLNJ 110.59 in Cygwin (atop WinXP) and I can't build heaps
> with ml-build. Here's my simplest example:
>
> foo.sml:
>
>      structure Foo = struct
>      fun main() = TextIO.print "hello, world!\n"
>      end
>
> foo.cm:
>
>      Library
>              structure Foo
>      is
>              foo.sml
>              $/basis.cm
>              $/smlnj-lib.cm
>
> At the shell I had the following interaction:
>
>      % ml-build foo.cm Foo.main foo.heap
>      Standard ML of New Jersey v110.59 [built: Mon Nov  6 09:23:07  
> 2006]
>      [scanning foo.cm]
>      /c/smlnj/bin/sml: Fatal error -- Uncaught exception Io with
> <unknown> raised at
>      Basis/Implementation/IO/bin-io-fn.sml:618.24-618.71
>
> This is a cryptic error (I'm not sure where to find bin-io- 
> fn.sml...?),
> but according to Google it appears to be a "file not found." What file
> is missing, I couldn't say.
>
> Is ml-build known not to work in Windows? Can someone help me  
> figure out
> what's going wrong?
>
> Much obliged,
> Dave
>
> ---------------------------------------------------------------------- 
> ---
> Using Tomcat but need to do more? Need to support web services,  
> security?
> Get stuff done quickly with pre-integrated technology to make your  
> job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache  
> Geronimo
> http://sel.as-us.falkag.net/sel? 
> cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Smlnj-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/smlnj-list
>


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.