I quickly tried to build 2.40, but it segfaulted instantly when running it. Which version did you build actually? And which ocaml? I often use Fedora's spec files as a starting point for building something for Sailfish. Usually there is some Fedora specific stuff that needs to be ripped off from the files though. You can find those from http://koji.fedoraproject.org/koji/