[Unison-hackers] Error compiling unison (scanf)

Jerome Vouillon Jerome.Vouillon at pps.jussieu.fr
Mon Jan 4 07:59:59 EST 2010


Hi,

On Fri, Jan 01, 2010 at 01:38:15AM -1000, Jason Axelson wrote:
> I get the following error after trying to compile unison 2.32 or 2.27
> from svn. However, I haven't found any problems when using trunk and
> it appears to build a usable program.
> 
> Fatal error: exception Scanf.Scan_failure("scanf: bad input at char
> number 4: looking for ':', found '$'")
> 
> Does this point to a problem with my setup?

I believe this is more a problem with svn not doing keyword
substitutions.  Edit file mkProjectInfo.ml and change the definition
of variable "revisionString" to something like:

   let revisionString = "$Rev: 388$";;

(It does not really matter which number you choose.)

-- Jerome


More information about the Unison-hackers mailing list