Re: Mac update
Alan Shutko <[email protected]>
| Newsgroups | gmane.network.unison.devel |
|---|---|
| Message-ID | <[email protected]> |
The mkProjectInfo.ml file uses a subversion keyword to get the subversion revision number to put in the makefile. That doesn't exist in a git checkout, so I had to do this workaround: --- a/src/mkProjectInfo.ml +++ b/src/mkProjectInfo.ml @@ -42,7 +42,7 @@ let pointVersionOrigin = 504 (* Revision that corresponds to point version 0 *) (* ---------------------------------------------------------------------- *) (* You shouldn't need to edit below. *) -let revisionString = "$Rev$";; +let revisionString = "$Rev: 900$";; let pointVersion = Scanf.sscanf revisionString "$Rev: %d " (fun x -> x) - pointVersionOrigin;; Modified src/strings.ml On May 29, 2014, at 4:38 AM, Alan Schmitt <[email protected]> wrote: > Hi, > > On 2014-05-28 23:16, Alan Shutko <[email protected]> writes: > >> I've put together a new build which resolves the issue of files in the >> same directory sometimes being displayed in different groups (with the >> same name) in the outline view. >> >> Marcus, I have still not been able to reproduce the crash but I have >> not given up yet. In this build, I also built a command-line unison >> with UISTYLE=text. I would be interesting if that version also crashes >> for you. >> >> The zip file is at >> >> https://dl.dropboxusercontent.com/u/9371330/Unison.zip >> >> And the git repo is at >> >> https://github.com/alanshutko/unison > > I tried building it from source, and I got this error at the very beginning. > > /Applications/Xcode.app/Contents/Developer/usr/bin/make -C src > ./mkProjectInfo > Makefile.ProjectInfo > Fatal error: exception Scanf.Scan_failure("scanf: bad input at char number 4: 'looking for ':', found '$''") > make[1]: *** Deleting file `Makefile.ProjectInfo' > > As a result, unison-blob.o is not built. > > How do you get around this? Do you manually copy the generated > Makefile.ProjectInfo from a svn checkout? > > Alan > _______________________________________________ > Unison-hackers mailing list > [email protected] > http://lists.seas.upenn.edu/mailman/listinfo/unison-hackers