2010-02-12 03:20:53 +03:00
|
|
|
Before compiling, certain enviroment variables have to be set,
|
|
|
|
depending on the project used. For project lib_mysqludf_sys variables
|
|
|
|
PLATFORM_SDK_DIR and MYSQL_SERVER_DIR have to be set, while for project
|
|
|
|
lib_postgresqludf_sys variables PLATFORM_SDK_DIR and
|
|
|
|
POSTGRESQL_SERVER_DIR.
|
|
|
|
|
|
|
|
Variables:
|
2010-01-14 04:51:20 +03:00
|
|
|
--------------------------------------------------------------------------
|
|
|
|
Variable name Variable description
|
|
|
|
--------------------------------------------------------------------------
|
2010-02-12 03:20:53 +03:00
|
|
|
PLATFORM_SDK_DIR Directory where the Platform SDK is installed
|
|
|
|
MYSQL_SERVER_DIR Directory where the MySQL is installed
|
|
|
|
POSTGRESQL_SERVER_DIR Directory where the PostgreSQL is installed
|
2010-01-14 04:51:20 +03:00
|
|
|
|
2010-02-12 03:20:53 +03:00
|
|
|
Procedure for setting environment variables:
|
2010-01-14 04:51:20 +03:00
|
|
|
My Computer -> Properties -> Advanced -> Environment Variables
|
|
|
|
User variables -> New
|
|
|
|
|
2010-02-12 03:20:53 +03:00
|
|
|
Sample values:
|
2010-01-14 04:51:20 +03:00
|
|
|
--------------------------------------------------------------------------
|
2010-02-12 03:20:53 +03:00
|
|
|
Variable name Variable value
|
2010-01-14 04:51:20 +03:00
|
|
|
--------------------------------------------------------------------------
|
|
|
|
PLATFORM_SDK_DIR C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2
|
|
|
|
MYSQL_SERVER_DIR C:\Program Files\MySQL\MySQL Server 5.1
|
2010-02-12 03:20:53 +03:00
|
|
|
POSTGRESQL_SERVER_DIR C:\Program Files\PostgreSQL\8.4
|