The build procedure for all 3 modules included in this source is the same, edit the Makefile.<module> and config.<system>, ensure the -I (include) and/or -L (library) paths are correct and then run make -f <file> config=<system>.

LDAPAuth
--------
To compile LDAPAuth edit Makefile.ldap and config.<system>, ensure the -I (include) path is the correct path to your ldap source files. Also ensure the ldap libraries are in the PATH or add/edit the -L (library) path to define their location. Then execute:

make -f Makefile.ldap config=<config>

If you have any problems see "Troubleshooting" below.


MySQLAuth
---------
To compile MySQLAuth edit Makefile.mysql and config.<system>, ensure the -I (include) path is the correct path to your mysql source files. Also ensure the mysql libraries are in the PATH or add/edit the -L (library) path to define their location. Then execute:

make -f Makefile.mysql config=<config>

If you have any problems see "Troubleshooting" below.


RadiusAuth
----------
To compile RadiusAuth edit Makefile.radius and config.<system>, ensure the -I (include) path is the correct path to your radius source files. Also ensure the radius libraries are in the PATH or add/edit the -L (library) path to define their location. Then execute:

make -f Makefile.radius config=<config>

If you have any problems see "Troubleshooting" below.


Troubleshooting
---------------
If you experience a linking problem where, for example, it cannot find md5.o then you may need to include:
  FIX_OBJ=yes
  
on the command line, eg.
  make -f Makefile.ldap config=<system> FIX_OBJ=yes
  make -f Makefile.mysql config=<system> FIX_OBJ=yes
  make -f Makefile.radius config=<system> FIX_OBJ=yes
  
For any other problems please don't hesitate to email regan@netwinsite.com
