PROJECT INDEX - UDF LIB HOME

MySQL UDF Library (How to Compile)

Under Linux :
  1. If you don't have the Mysql DevKit, (Headers files and shared library), you have to download it from www.mysql.com;
  2. Download the Lib UDF's source code of your choice;
  3. The included Makefile should work on most platforms. It was tested only on FreeBSD and Cygwin. Please review it first and adjust the paths in it to fit your platform/distribution :
    1. INCLUDE PATH , generally /usr/local/mysql/
    2. LIBS PATH, generally /usr/local/mysql/
  4. Under shell type
    /path/to/udf_src/$ make
  5. To insall the generated shared object ./bin/ lib*.so , refer to how to install udf lib.

Under Windows :

  1. If you don't have the Mysql DevKit, (Headers files and shared library for win32), you have to download it from www.mysql.com;
  2. Download the Lib UDF's source code of your choice;
  3. The included Project file (Lib*.dev) should work on most platforms. It was tested only on WinXp/DevC++4.9.9 only. Please review it first and adjust the paths in it to fit your platform/distribution :
    1. INCLUDE PATH , assumed c:\mysql-5.0.41-win32\include
    2. LIBS PATH, assumed c:\mysql-5.0.41-win32\lib\opt

  4. Ctrl+F11 to compile this project
  5. To insall the generated shared object ./bin/ lib*.dll , refer to how to install udf lib.
INDEX - TOP - CONTACT