what you have done at http://mod-auth-sspi.svn.sourceforge.net/viewvc/mod-auth-sspi/branches/ennio/ seems truly fantastic, so im trying to build the branch
however, i am a complete beginner to c, and cannot seem to get the compiling to work.
firstly i have modified the make.bat to work with Win7 and VS2010 as below. notice that i have not been able to locate setenv so that could be causing the problems.
the fatal error from nmake i get is appended below below. where does the prepend cl to the command come from?? this seems to be the frontmost error.
also, i am not sure what the meaning of this paramater is APACHE22_HOME=..\httpd
what is it used for, do i need to point to apache source code or apache server to compile, i dont know what this is needed for at all. at the moment the directory ..\httpd or blabla\branches\httpd does not exist (assuming the relativity starts from batch file path)
i would really appreciate any help on getting this branch to build or if it is easier, access to the compiled branch.
set PLATSDKDIR=C:\Program Files\Microsoft SDKs\Windows\v7.0A
REM I could not find SetEnv anywhere for Win7 / VS2010:
REM set SDK_Init=c:\Programs\Microsoft SDKs\Windows\v6.1\Bin\SetEnv.Cmd
REM maybe could use setx XXX somehow for the above?
set MSVCDIR=C:\Program Files\Microsoft Visual Studio 10.0\VC
set NMAKEHOME=C:\Program Files\Microsoft Visual Studio 10.0\VC\bin
if /i "%1"=="/Debug" goto Do_Debug
if /i "%1"=="/Release" goto Do_Release
if /i "%1"=="" goto Do_Release
ECHO Unknown command-line switch: %~1
REM %SDK_Init% not set so have commented this out
REM call "%SDK_Init%" /%BUILD_TYPE%
call "%NMAKEHOME%\nmake" %NMAKE_Opts% "MSVCDIR=%MSVCDIR%" "PLATSDKDIR=%PLATSDKDIR%" "APACHE22_HOME=%APACHE22_HOME%" "APSRC=%APSRC%" "DEBUG=%DEBUG%" dist
if "%ERRORLEVEL%"=="0" @echo %BUILD_TYPE% module written to %CD%\bin\mod_auth_sspi.so
ECHO Usage: "build [/Debug | /Release]"
Batch call output:
cl /nologo /W3 /WX /LD /MT /Ot /Ox /Oi /Oy /Ob2 /GF /Gy /I include /I "..\httpd\i
nclude" /I "..\httpd\srclib\apr\include" /I "..\httpd\srclib\apr-util\include" /I "..\http
d\os\win32" /I "C:\Program Files\Microsoft SDKs\Windows\v7.0A\include" /I "C:\Program File
s\Microsoft Visual Studio 10.0\VC\include" /D WIN32 /c %CD%\src\mod_auth_sspi.c /FoRelease
'cl' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'cl' : return code '0x1'
some progress: i added C:\Program Files\Microsoft Visual Studio 10.0\VC\bin to the system environment variable PATH and ran the batch file as administrator: the cl is now recognised !!! more details at http://stackoverflow.com/questions/6112727/nmake-compilation-error
however, i get a new error now?:
NMAKE : fatal error U1073: don't know how to make 'dist'
Did you manage to get the mod_authnz_sspi working on Apache2.4 ? If you did, please post a link to the download file and instructions.