111 | | There have been recent successful efforts to port rasdaman to OS X. For more details see the [wiki:OSXInstall OS X installation guide]. |
| 111 | There are some caveats to compiling rasdaman on OS X: |
| 112 | * The configure script has to be edited such that it does not try to locate libgcrypt and libnsl which do not exist on OS X. |
| 113 | * The GCC compiler provided by Apple can't compile the sources in `applications/rasql` due to errors concerning C++ templates. The program has to be built manually using the Clang compiler. After this is done, `make` can build the rest of the project by its self. |
| 114 | * The version of `rpcgen` shipped with OS X is incredibly ancient. The header files supplied with the system still use "old style" C function declaration where the parameter names and types are listed after the function name and its parentheses. This style of declaring functions is invalid in C++ which is the language used by Rasdaman when it makes RPC calls. Because of this, the system header `/usr/include/rpc/svc.h` has to be edited manually to update the declaration of `svc_register` to a modern that includes declarations for all function parameters. |