Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version mismatch #18

Closed
speedpacer opened this issue May 23, 2016 · 4 comments
Closed

Version mismatch #18

speedpacer opened this issue May 23, 2016 · 4 comments

Comments

@speedpacer
Copy link

speedpacer commented May 23, 2016

I've installed Unison on CentOS 6.7 and on Cygwin, both using the git clone method and building from scratch but unison -version responds with 2.49.543 on CentOS and 2.40.102 on Cygwin.

When I try to sync, I receive the error, "Fatal error: Received unexpected header from the server:
expected "Unison 2.40\n" but received "Unison 2.49\n\000\000\000\000\017",
which differs at "Unison 2.49"."

Also, the instructions have changed slightly in Cygwin from what was in INSTALL.win32-cygwin-gnuc. Ocaml has moved from the Interpreters category into their own Ocaml category. In order to compile, I needed ocaml, ocaml-base and ocaml-compiler-libs which are located there, and also flexdll from the Devel category.

@bcpierce00
Copy link
Owner

Did you build from the same sources on both machines? It seems like the Cygwin installation must be older.

@speedpacer
Copy link
Author

Yes, I didn't try checking out a particular branch or tag, just cloned from the master on both machines. Afterwords, I tried checking out tags/2.40 on my CentOS box but then I got another error while trying to compile, "Fatal error: exception Scanf.Scan_failure("scanf: bad input at char number 4: looking for ':', found '$'")"

@bcpierce00
Copy link
Owner

Did the master not compile on both machines? That would be the simplest way.

Otherwise the build error is easy to fix — change $Rev$ to $Rev: 600$ near the bottom of mkProjectInfo.ml

- B

On May 23, 2016, at 1:11 PM, Donnie Earnest notifications@github.com wrote:

Yes, I didn't try checking out a particular branch or tag, just cloned from the master on both machines. Afterwords, I tried checking out tags/2.40 on my CentOS box but then I got another error while trying to compile, "Fatal error: exception Scanf.Scan_failure("scanf: bad input at char number 4: looking for ':', found '$'")"


You are receiving this because you commented.
Reply to this email directly or view it on GitHub #18 (comment)

@speedpacer
Copy link
Author

My apologies, disregard... I had an old version left over in my path from when I tried installing this on Windows a while ago that I'd forgotten about.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants