It appears the current mod_auth_cas (1.0.8) does not build under Win32,
at least according to the instructions in README.Win32.
When trying to build the module, I get several C2275 errors:
Error C2275 : illegal use of this type as an expression
There is more information on the error here:
http://msdn.microsoft.com/en-us/library/76c9k4ah.aspx
The problem is that all variable declarations must be at the top of the
function declaration in the MS C++ compiler. In the current source code,
the entry/exit debug statements come before some of the variable
declarations, so the build fails. Here's a small patch to mod_auth_cas.c
(1.0.8 version) that fixes the problem and allows it to build with the
Win32 / VC++ compiler.
====== CUT HERE =====
421a422
> cas_dir_cfg *d;
426c427
< cas_dir_cfg *d = ap_get_module_config(r->per_dir_config,
&auth_cas_module);
---
> d = ap_get_module_config(r->per_dir_config, &auth_cas_module);
1404c1405,1407
<
---
> #ifdef WIN32
> WSADATA wsaData;
> #endif
1408d1410
< WSADATA wsaData;
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-dev