miðvikudagur, 24. febrúar 2010

JavaHL architecture conflicts in OSX 64 bit

When using MacPorts it is possible to download subversion-javahlbindings but that library is using 64 bit architecture and is not compatible with eclipse 32 bit based plugin such as Subclipse. See http://trac.macports.org/ticket/20983

This works perfectly if you are using 64 bit Eclipse based plugins. So there are two possible fixes. The first one is building the 32 bit JavaHL bindings your self.

The second fix is just download the latest Subversion package from CollabNet (http://www.open.collab.net/downloads/community/). That will compile both 32-64 bit version of the JavaHL bindings. You can install the package but skip making the current symlinks pointing to this package so you keep on using the latest MacPort Subversion package and using the JavaHL bindings provided by CollabNet. The problem is that you have to maintain those packages your self in the future until this problem will be fixed by MacPorts.

I try to avoid installing and using packages which are not included in MacPorts for easier package dependency management.