아직도 헤메고 있습니다..-.-;;
힘드네요..흑흑....
windows에서 사용할려고 포팅을 하고 있는데... 저번에도 질문한것처럼 6번에서 자꾸 넘어가지 않고 있습니다.. 꼭 해야하는데, 왜 이렇게 해결점이 않보이는지...
좀... 알려주세요..네~?
#참고로 프로그램세계(2001.9월) Enterprise Computing에도 같은 내용이 있습니다
<<< openLDAP port for Windows >>> ==> http://www.fivesight.com/downloads/openldap.asp
windows에서 openLDAP porting하는 설명서인데, 6번에서 보게되면..(6번으로 가보세요)
1.Download the files:
regex (This seems to have disappeared... You can try a local copy instead.)
SASL
sleepycat db
openldap-2.0.11
Don't be alarmed by the Unix-centric archives: The .tar.gz (or .tgz) files can be opened with WinZip. Unarchive all four into a common build directory; I used d:\openldap-build.
2.Open db-3.2.9\build_win32\berkeley_DB.dsw with Visual C++. Build the "DB_DLL" project.
3.Open cyrus-sasl-1.5.24\win32\libsasl\libsasl.dsw with Visual C++.
4.Edit the file cyrus-sasl-1.5.24\lib\saslutil.c. Around line 283,find the block:
/* this will probably only work on linux */
if ((f = fopen(DEV_RANDOM, "r")) != NULL) {
fread(ret, 1, sizeof(ret), f);
fclose(f);
return;
}
DEV_RANDOM is not defined in the Windows headers, and there's no random device to read from in any case. Surround the block with
#ifndef WIN32
/* ... */
#endif
5.Edit the file cyrus-sasl-1.5.24\lib\windlopen.c. Around line 85, in the function _sasl_get_mech_list(...), find a line which says
if (ret != ERROR_SUCCESS) { return SASL_FAIL; }
The implication is that if a user is missing the SASL plugins registry key, instead of assuming there are no plugins, the SASL library aborts during initialization. To fix this lossage, change the above to
if (ret != ERROR_SUCCESS) return SASL_OK;
Now, build the "libsasl" project.
6. Open openldap-2.0.11\build\main.dsw in Visual C++. Make the "build" project active. <<==main.dsw가 않열려요-.-;; main.dsp도없고, 파일이 .c나 .cpp로 되어 있지도 않거든요.. 어제부터 6번에서 넘어가지 않고 있는데 어떻게 해야 해결할수 있을지 알려주세요^^
7.Add cyrus-sasl-1.5.24\include, hs_regex_dist, and db-3.2.9\build_win32 to your include file search path; and add cyrus-sasl-1.5.24\win32\libsasl\debug, hs_regex_dist, and db-3.2.9\build_win32 to your library search path. (Both can be altered under Tools->Options->Directories in Visual Studio 6.)
......
|