Alternatives to RServ improved by community

Dobrica Pavlinusic <dpavlin@rot13.org> 2003-08-31

With release of eRServer 1.2 with BSD licence, there is a real, commerically proven alternative to RServ improved by community. This document will try to provide quick overview about that.

Installation or eRServer 1.2 on Debian GNU/Linux

You will have to have Java SDK installed. On Debian package is j2sdk1.3.

Export JAVA_HOME variable and compile source code:

dpavlin@llin:/rest/src/postgresql/erserver_v1.2$ export JAVA_HOME=/usr/lib/j2se/1.3
dpavlin@llin:/rest/src/postgresql/erserver_v1.2$ ./configure --with-pgincludes=/usr/include/postgresql/
However, you will have problems building on Debian. One of reasons is that postgresql-dev package saves everything in /usr/include/postgresql/server/ while files themselfs expect include path to be /usr/include/postgresql/. You can fix this in Makefile like this:
override CPPFLAGS := -I/usr/include/postgresql -I/usr/include/postgresql/server $(CPPFLAGS)
You will also need to replace xerces.jar provided in eRServer archive (which has compression errors) with the one from libxerces-java package:
dpavlin@llin:/rest/src/postgresql/erserver_v1.2$ cp /usr/share/java/xerces-1.4.4.jar java/lib/xerces.jar