Andrey_Wlodimirovich
Advanced Member | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору Нужна помощь в компиляции apache 2.2.11 под Vista SP1 32bit - стоит Microsoft Visual Studio 2008 Professional Edition (Russian) - качаю сорс апача под вин32 http://www.sfr-fresh.com/windows/www/httpd-2.2.11-win32-src.zip - открываю Apache.dsw и положительно отвечаю на вопрос переконвертировать ли файлы проекта, сохраняю изменения и получаю файлы нужные мне *.vcproj - дальше в команбной строке пишу: D:\Servers\HTTP\httpd-2.2.11>nmake /f Makefile.win _apacher весь лог в консоле не вместился, но в итоге имею ошибку Код: NMAKE : неустранимая ошибка U1077: "C:\Program Files\Microsoft Visual Studio 9.0 \Common7\IDE\devenv.COM": возвращенный код "0x1" Stop. NMAKE : неустранимая ошибка U1077: "C:\Program Files\Microsoft Visual Studio 9.0 \VC\BIN\nmake.exe": возвращенный код "0x2" Stop. D:\Servers\HTTP\httpd-2.2.11>nmake /f Makefile.win _apacher | описание ошибки http://msdn.microsoft.com/ru-ru/library/dt309377.aspx но мне все равно не понятна эта ошибка .. в чем моя вина? могло ли повлиять то что я ковертил файлы проекта студией ? какую инфу еще нужно копнуть чтоб разобраться с этой ошибкой ? Добавлено: ой кажется я читал по диагонали ) в самом начале надо было выполнил это: 1 Цитата: Код: There is a flaw in the .vcproj conversion of .dsp through Visual Studio 2005 SP1; devenv.exe will mis-parse the /D flag for RC flags containing long quoted /D'efines containing spaces. The command: | - perl srclib\apr\build\cvtdsp.pl -2005 Код: will convert the /D flags for RC flags to use an alternate, parseable syntax; unfortunately this syntax isn't supported by Visual Studio 97 or it's exported .mak files. These /D flags are used to pass the long description of the mod_apachemodule.so files to their .rc resource version-identifier compilations, and replace the use of awk for generating .rc files formerly used for Apache 2.0. | | 2) Цитата: Код: Exported .mak files pose a greater hassle, but they are required for Visual C++ 5.0 users to build mod_ssl, abs (ab with SSL support) and/or mod_deflate. VC++ 7.0 (Visual Studio .NET) users also benefit, nmake builds were faster than binenv builds until the parallel compilation features introduced in Visual Studio 2005. Build the entire project from within the VC++ 5.0 or 6.0 IDE, preferably with mod_deflate, mod_ssl and abs, then use the Project Menu Export for all makefiles (preferably, with dependencies.) You must build the projects first in order to create all dynamic auto-generated targets, so that dependencies can be parsed correctly. Run the following command to fix the paths so they will build anywhere: | perl srclib\apr\build\fixwin32mak.pl Код: You must type this command from the top level directory of the httpd source tree. Every .mak and .dep project file within the current directory and below will be corrected, and the timestamps adjusted to reflect the .dsp. | | фух .. компильнул апач ) |