2010-02-25 17:17:32 +03:00
|
|
|
Before compiling, you need to adapt the following to your environment:
|
|
|
|
|
2011-04-12 13:53:52 +04:00
|
|
|
Variables in install.sh script:
|
|
|
|
--------------------------------------------------------------------------
|
|
|
|
Variable name Variable description
|
|
|
|
--------------------------------------------------------------------------
|
2010-02-25 17:17:32 +03:00
|
|
|
USER Database management system administrative username
|
|
|
|
PORT Database management system port
|
|
|
|
VERSION Database management system version (PostgreSQL only)
|
|
|
|
|
2011-04-12 13:53:52 +04:00
|
|
|
Variables in Makefile:
|
|
|
|
--------------------------------------------------------------------------
|
|
|
|
Variable name Variable description
|
|
|
|
--------------------------------------------------------------------------
|
2010-02-25 17:17:32 +03:00
|
|
|
LIBDIR Database management system absolute file system
|
2011-04-12 13:53:52 +04:00
|
|
|
path for third party libraries (MySQL only)
|
2010-02-25 17:17:32 +03:00
|
|
|
|
|
|
|
Then you can launch './install.sh' if you want to compile the shared
|
|
|
|
object from the source code and create the user-defined functions on the
|
|
|
|
database management system.
|
|
|
|
If you only want to compile the shared object, you need to call only the
|
|
|
|
'make' command.
|
2011-04-12 13:53:52 +04:00
|
|
|
|
|
|
|
|
|
|
|
Notes:
|
|
|
|
|
|
|
|
To get as small shared libraries as possible compile with GCC 4.3 on
|
|
|
|
both 32-bit and 64-bit architecture and strip the libraries with 'strip'
|
|
|
|
command.
|