Hi Matt, We are using Visual C++ 2008 Express, OpenSSL v0.9.8o and Apache 2.2.17
Thanks, Malar -----Original Message----- From: Smith, Matthew J. [mailto:matt.sm...@uconn.edu] Sent: Thursday, April 21, 2011 8:06 PM To: cas-user@lists.jasig.org Subject: RE:[cas-user] mod_auth_cas Build error Help Please! Malar, A few questions- What version of Visual Studio (We've only tested with Visual C++ 2008 Express) ? What version of OpenSSL (We've only tested with v0.9.8g)? The error "C:\OpenSSL\include\openssl/ossl_typ.h(178) : error C2059: syntax error : 'type'" is most likely the root problem. This seems related to this: http://www.mail-archive.com/openssl-dev@openssl.org/msg24079.html Some workarounds are posted, but they seem ugly. So, before we consider the workarounds, let's validate OpenSSL and Visual Studio versions. -Matt Matthew J. Smith University of Connecticut UITS matt.sm...@uconn.edu ________________________________________ From: Malarvizhi Perumalraja [mperumalr...@lynn.edu] Sent: Thursday, April 21, 2011 6:12 PM To: cas-user@lists.jasig.org Subject: [cas-user] mod_auth_cas Build error Help Please! Hi, I tried to build mod_auth_cas-1.0.9.1 on windows 2008 64 bit server using the README.Win32 file instructions. I got the following error: ------ Rebuild All started: Project: mod_auth_cas, Configuration: Release Win32 ------ Deleting intermediate and output files for project 'mod_auth_cas', configuration 'Release|Win32' Compiling... cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release mod_auth_cas.c .\src\mod_auth_cas.c(40) : fatal error C1083: Cannot open include file: 'curl/curl.h': No such file or directory Build log was saved at "file://c:\mod_auth_cas-1.0.9.1\Release\BuildLog.htm" mod_auth_cas - 1 error(s), 1 warning(s) ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ========== Then I tried to build mod_auth_cas-1.0.8.1, as read in this forum that this version is known to work with windows, but I got the following error ------ Rebuild All started: Project: mod_auth_cas, Configuration: Release Win32 ------ Deleting intermediate and output files for project 'mod_auth_cas', configuration 'Release|Win32' Compiling... cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release mod_auth_cas.c C:\OpenSSL\include\openssl/ossl_typ.h(178) : error C2059: syntax error : 'type' .\src\mod_auth_cas.c(294) : warning C4018: '<' : signed/unsigned mismatch .\src\mod_auth_cas.c(426) : error C2275: 'cas_dir_cfg' : illegal use of this type as an expression c:\mod_auth_cas-1.0.8.1\src\mod_auth_cas.h(133) : see declaration of 'cas_dir_cfg' .\src\mod_auth_cas.c(426) : error C2065: 'd' : undeclared identifier .\src\mod_auth_cas.c(427) : error C2065: 'd' : undeclared identifier .\src\mod_auth_cas.c(427) : error C2223: left of '->CASGateway' must point to struct/union .\src\mod_auth_cas.c(427) : error C2065: 'd' : undeclared identifier .\src\mod_auth_cas.c(427) : error C2223: left of '->CASGateway' must point to struct/union .\src\mod_auth_cas.c(427) : error C2065: 'd' : undeclared identifier .\src\mod_auth_cas.c(427) : error C2223: left of '->CASGateway' must point to struct/union .\src\mod_auth_cas.c(427) : error C2198: 'strlen' : too few arguments for call .\src\mod_auth_cas.c(427) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'size_t' .\src\mod_auth_cas.c(427) : warning C4024: 'strncmp' : different types for formal and actual parameter 2 .\src\mod_auth_cas.c(427) : error C2198: 'strncmp' : too few arguments for call .\src\mod_auth_cas.c(1166) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data .\src\mod_auth_cas.c(1408) : error C2275: 'WSADATA' : illegal use of this type as an expression C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winsock2.h(376) : see declaration of 'WSADATA' .\src\mod_auth_cas.c(1408) : error C2146: syntax error : missing ';' before identifier 'wsaData' .\src\mod_auth_cas.c(1408) : error C2065: 'wsaData' : undeclared identifier .\src\mod_auth_cas.c(1409) : error C2065: 'wsaData' : undeclared identifier .\src\mod_auth_cas.c(1409) : warning C4133: 'function' : incompatible types - from 'int *__w64 ' to 'LPWSADATA' .\src\mod_auth_cas.c(1484) : warning C4244: 'function' : conversion from 'socket_t' to 'int', possible loss of data Build log was saved at "file://c:\mod_auth_cas-1.0.8.1\Release\BuildLog.htm" mod_auth_cas - 15 error(s), 7 warning(s) ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ========== If anyone can direct me to the instructions for compiling mod_auth_cas on windows 2008 64 bit, it will be of great help. Thanks, Malar This email is intended for the designated recipient only, and may be confidential, non-public, proprietary, protected by the attorney/client or other privilege. Unauthorized reading, distribution, copying or other use of this communication is prohibited and may be unlawful. Receipt by anyone other than the intended recipients should not be deemed a waiver of any privilege or protection. If you are not the intended recipient or if you believe that you have received this email in error, please notify the sender immediately and delete all copies from your computer system without reading, saving, or using it in any manner. Although it has been checked for viruses and other malicious software, malware, we do not warrant, represent or guarantee in any way that this communication is free of malware or potentially damaging defects. All liability for any actual or alleged loss, damage, or injury arising out of or resulting in any way from the receipt, opening or use of this email is expressly disclaimed. -- You are currently subscribed to cas-user@lists.jasig.org as: matt.sm...@uconn.edu To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to cas-user@lists.jasig.org as: mperumalr...@lynn.edu To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user This email is intended for the designated recipient only, and may be confidential, non-public, proprietary, protected by the attorney/client or other privilege. Unauthorized reading, distribution, copying or other use of this communication is prohibited and may be unlawful. Receipt by anyone other than the intended recipients should not be deemed a waiver of any privilege or protection. If you are not the intended recipient or if you believe that you have received this email in error, please notify the sender immediately and delete all copies from your computer system without reading, saving, or using it in any manner. Although it has been checked for viruses and other malicious software, malware, we do not warrant, represent or guarantee in any way that this communication is free of malware or potentially damaging defects. All liability for any actual or alleged loss, damage, or injury arising out of or resulting in any way from the receipt, opening or use of this email is expressly disclaimed. -- You are currently subscribed to cas-user@lists.jasig.org as: arch...@mail-archive.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user