Hmm, still looks like the Apache or APR headers are not being located. Do the paths to the Apache install in README.Win32 match your installation?
Matthew J. Smith Manager of Server Support University of Connecticut UITS [email protected] ________________________________________ From: Bryan Wooten [[email protected]] Sent: Wednesday, August 04, 2010 2:41 PM To: [email protected] Subject: RE:[cas-user] Trouble compiling mod_auth_cas Ok, I got the 1.0.8.1 release and verified the steps you mentioned. I got this: 1>------ Build started: Project: mod_auth_cas, Configuration: Release Win32 ------ 1> mod_auth_cas.c 1>mod_auth_cas.c(294): warning C4018: '<' : signed/unsigned mismatch 1>mod_auth_cas.c(347): warning C4013: 'ap_http_method' undefined; assuming extern returning int 1>mod_auth_cas.c(347): warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int' 1>mod_auth_cas.c(347): warning C4024: 'apr_strnatcasecmp' : different types for formal and actual parameter 2 1>mod_auth_cas.c(426): error C2275: 'cas_dir_cfg' : illegal use of this type as an expression 1> c:\users\bwooten\cas\mod_auth_cas\mod_auth_cas.h(133) : see declaration of 'cas_dir_cfg' 1>mod_auth_cas.c(426): error C2065: 'd' : undeclared identifier 1>mod_auth_cas.c(427): error C2065: 'd' : undeclared identifier 1>mod_auth_cas.c(427): error C2223: left of '->CASGateway' must point to struct/union 1>mod_auth_cas.c(427): error C2065: 'd' : undeclared identifier 1>mod_auth_cas.c(427): error C2223: left of '->CASGateway' must point to struct/union 1>mod_auth_cas.c(427): error C2065: 'd' : undeclared identifier 1>mod_auth_cas.c(427): error C2223: left of '->CASGateway' must point to struct/union 1>mod_auth_cas.c(427): error C2168: 'strlen' : too few actual parameters for intrinsic function 1>mod_auth_cas.c(427): warning C4047: 'function' : 'const char *' differs in levels of indirection from 'size_t' 1>mod_auth_cas.c(427): warning C4024: 'strncmp' : different types for formal and actual parameter 2 1>mod_auth_cas.c(427): error C2198: 'strncmp' : too few arguments for call 1>mod_auth_cas.c(1408): error C2275: 'WSADATA' : illegal use of this type as an expression 1> C:\Program Files\Microsoft SDKs\Windows\v7.0A\include\winsock2.h(376) : see declaration of 'WSADATA' 1>mod_auth_cas.c(1408): error C2146: syntax error : missing ';' before identifier 'wsaData' 1>mod_auth_cas.c(1408): error C2065: 'wsaData' : undeclared identifier 1>mod_auth_cas.c(1409): error C2065: 'wsaData' : undeclared identifier 1>mod_auth_cas.c(1409): warning C4133: 'function' : incompatible types - from 'int *' to 'LPWSADATA' 1>mod_auth_cas.c(1443): warning C4090: '=' : different 'const' qualifiers ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Bryan Wooten [email protected] Work: 801.585.9323 Cell: 801.414.3593 -----Original Message----- From: Smith, Matthew J. [mailto:[email protected]] Sent: Wednesday, August 04, 2010 11:32 AM To: [email protected] Subject: RE:[cas-user] Trouble compiling mod_auth_cas Bryan- Please try two things: 1) Use the 1.0.8.1 release 2) Verify steps 15, 17, and 18 in README.Win32 to make sure the Apache headers and libs are being found properly. -Matt Matthew J. Smith Manager of Server Support University of Connecticut UITS [email protected] ________________________________________ From: Bryan Wooten [[email protected]] Sent: Wednesday, August 04, 2010 1:27 PM To: [email protected] Subject: [cas-user] Trouble compiling mod_auth_cas Following the instructions in the REAME.win32 from here: https://source.jasig.org/cas-clients/mod_auth_cas/tags/mod_auth_cas-1.0.7/ I get the following link error: 1>------ Build started: Project: mod_auth_cas, Configuration: Release Win32 ------ 1>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/OPT:ICF' specification 1> Creating library C:\Users\bwooten\cas\mod_auth_cas\Release\mod_auth_cas.lib and object C:\Users\bwooten\cas\mod_auth_cas\Release\mod_auth_cas.exp 1>mod_auth_cas.obj : error LNK2019: unresolved external symbol _ap_http_method referenced in function _isSSL 1>C:\Users\bwooten\cas\mod_auth_cas\Release\mod_auth_cas.dll : fatal error LNK1120: 1 unresolved externals ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== When I try an build using apxs I get this: C:\Users\bwooten\cas\mod_auth_cas>c:\Kronos\apache\bin\apxs -i -c mod_auth_cas.c cl /nologo /MD /W3 /O2 /D WIN32 /D _WINDOWS /D NDEBUG -I"C:\Kronos\apache\include" /c /Fomod_auth_cas.lo mod_auth_cas.c 'cl' is not recognized as an internal or external command, operable program or batch file. apxs:Error: Command failed with rc=65536 Any ideas? Bryan Wooten [email protected] Work: 801.585.9323 Cell: 801.414.3593 -- 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-user -- 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-user -- 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-user -- 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-user
