Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 41873 invoked from network); 13 Nov 2003 22:18:45 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 13 Nov 2003 22:18:45 -0000 Received: (qmail 9187 invoked by uid 500); 13 Nov 2003 22:18:21 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 8870 invoked by uid 500); 13 Nov 2003 22:18:19 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 8857 invoked from network); 13 Nov 2003 22:18:19 -0000 Received: from unknown (HELO digitalme.com) (193.97.97.75) by daedalus.apache.org with SMTP; 13 Nov 2003 22:18:19 -0000 Received: from aarboard.ch aschild@digitalme.com [212.41.66.196] by digitalme.com with Novell NIMS $Revision: 2.88 $ on Novell NetWare; Thu, 13 Nov 2003 14:18:22 -0800 Message-ID: <3FB4033B.7000607@aarboard.ch> Date: Thu, 13 Nov 2003 23:18:35 +0100 From: =?ISO-8859-2?Q?Andr=E9_Schild?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20031007 X-Accept-Language: de-ch, de, en-us, en MIME-Version: 1.0 To: users@httpd.apache.org References: <20031113124351.27494.qmail@web60102.mail.yahoo.com> <1068729850.2840.8.camel@ptak.tor> <008e01c3aa29$3ac3fe10$2e1871c3@FLASH> In-Reply-To: <008e01c3aa29$3ac3fe10$2e1871c3@FLASH> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] Problem when building httpd-2.0.48-win32 withmod_ssl on Win XP X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Milan Reznicek wrote: >I see another man with the same problem as me. I got the unixtools like >bison, etc. But I still can't compile apache even a I had reexported all the >makefiles :( > >I'm getting this error message: > bison: /usr/local/share/bison.simple: No such file or directory > >Does someone know why is bison looking for that bloody unix path? > > Before building it, set those environment variables. (Pointing to the location where you have the bison files) set BISON_SIMPLE=C:\Develop\Apache\httpd-2.0.440\bison.simple set BISON_HAIRY=C:\Develop\Apache\httpd-2.0.44\bison.hairy Andr� > >Please Help Milan >----- Original Message ----- >From: "hunter" >To: >Sent: Thursday, November 13, 2003 2:24 PM >Subject: Re: [users@httpd] Problem when building httpd-2.0.48-win32 >withmod_ssl on Win XP > > > > >>On Thu, 2003-11-13 at 07:43, Idar Idar wrote: >> >> >>>Hi. >>> >>>I'd need some help with building Apache with mod_ssl >>>on Windows XP. During the build an error occurs - >>>'bison' and 'flex' are not found. Looking in the >>>offending mod_ssl.mak I saw a reference to 'sed' also >>>- all these three programs are not available on >>>Windows - should I install them - from where? >>> >>>I would really appreciate a help - the best would be >>>point me to MSI of Apache that has ssl support. >>> >>>Details about the configuration: >>> >>>- Windows XP without SP1 (cannot install it) >>>- Used httpd-2.0.48-win32-src.zip >>>- Used openssl-0.9.7c.tar.gz >>>- Used ActivePerl-5.8.0.806-MSWin32-x86.msi >>>- VC++ 6.0 >>> >>>I followed the build instructions from >>>http://httpd.apache.org/docs-2.0/platform/win_compiling.html. >>> >>>Here are the errors: >>> >>>... >>> cd ..\.. >>> cd modules\ssl >>> NMAKE -nologo -f mod_ssl.mak >>>CFG="mod_ssl - Win32 Release" RECUR >>>SE=0 .\Release\mod_ssl.so >>> tempfile.bat >>>'bison' is not recognized as an internal or external >>>command, >>>operable program or batch file. >>>The system cannot find the file specified. >>>Could Not Find C:\sw\httpd-2.0.48\modules\ssl\y.tab.c >>>The system cannot find the file specified. >>>Could Not Find C:\sw\httpd-2.0.48\modules\ssl\y.tab.h >>> tempfile.bat >>>'bison' is not recognized as an internal or external >>>command, >>>operable program or batch file. >>>The system cannot find the file specified. >>>Could Not Find C:\sw\httpd-2.0.48\modules\ssl\y.tab.c >>>The system cannot find the file specified. >>>Could Not Find C:\sw\httpd-2.0.48\modules\ssl\y.tab.h >>> tempfile.bat >>>'flex' is not recognized as an internal or external >>>command, >>>operable program or batch file. >>>The system cannot find the file specified. >>>Could Not Find >>>C:\sw\httpd-2.0.48\modules\ssl\lex.ssl_expr_yy.c >>> cl.exe >>>@C:\DOCUME~1\Adrian\LOCALS~1\Temp\nma03208. >>>ssl_expr_parse.c >>>ssl_expr_scan.c >>>Generating Code... >>> link.exe >>>@C:\DOCUME~1\Adrian\LOCALS~1\Temp\nmb03208. >>> Creating library .\Release\mod_ssl.lib and object >>>.\Release\mod_ssl.exp >>> cd ..\.. >>>... >>> copy docs\conf\ssl-std.conf >>>"\Apache2\conf\ssl.default.conf" <.y >>>The system cannot find the file specified. >>>NMAKE : fatal error U1077: 'copy' : return code '0x1' >>>Stop. >>>NMAKE : fatal error U1077: >>>'C:\PROGRA~1\MICROS~4\VC98\BIN\NMAKE.EXE' : return co >>>de '0x2' >>>Stop. >>> >>>Thank you, >>>Adrian >>> >>> >>>__________________________________ >>>Do you Yahoo!? >>>Protect your identity with Yahoo! Mail AddressGuard >>>http://antispam.yahoo.com/whatsnewfree >>> >>>--------------------------------------------------------------------- >>>The official User-To-User support forum of the Apache HTTP Server >>> >>> >Project. > > >>>See for more info. >>>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org >>> " from the digest: users-digest-unsubscribe@httpd.apache.org >>>For additional commands, e-mail: users-help@httpd.apache.org >>> >>> >>> >>Adrian, >> >>I recently answered the same question... here is my previous reply. >> >>Chris. >> >> >>You need some *nix like tools from CYGWIN. >> >>bison, flex, sed and awk. >> >>My notes from previous replies to others... >> >>You must compile from the command line - not from within the IDE. The >>IDE buys you nothing when building open source - it only benefits you >>when you are creating your own code. Debugging is easily done by >>envoking MSDEV from the command line - but you will likely not be >>debugging Apache - I don't and I have been working with it for years. >> >>In every case it is the build environment that makes or breaks your >>build process. >> >>You need to have the following tools for building: >> >>1. Microsoft Visual Studio 6 (5 and .net will also work). When you >>install it you must tick the tick-box that says - set environment >>variables for command line building (something like that), it is not set >>by default. Or, you can find the batch file that sets this for you when >>ever you need to build from the command line - VCVARS32.BAT in the >>\VC98\bin directory. >> >>2. MASM - you can download the Microsoft DDK for free or get it from my >>tools directory. You can also use Visual Studio to compile openssl but >>then it will be slower. I put MASM into c:\masm and then add it to the >>path - you won't need to have the include and lib directories added to >>the INCLUDE and LIB paths. But the make must be able to find ml.exe >>which will be in c:\masm\bin - add c:\masm\bin to your path. >> >>3. Perl5 - you can get from the internet or from my tools directory. I >>put mine into c:\perl. Then add c:\perl\bin to the path. Note: it must >>come before CYGWIN in the path - the version of perl with CYGWIN will >>break the openssl build process. >> >>4. CIGWIN - you can install from the internet or get it from my tools >>directory. I put mine into c:\cygwin and you must include c:\cygwin\bin >>into the path - after perl. If you install from the internet you need to >>get the following components: awk, flex, bison and sed. You will have to >>fix awk as well. There will be two files with the name awk.exe and >>awk(something).exe. -- awk.exe will be small and the other large -- >>delete the small one and rename the large one as awk.exe (a cygwin >>symlink that will not work outside of cygwin). If you take the CYGWIN >>from my tools directory the you will not have perl and awk is already >>fixed, but you have to import both .reg files (they expect CYGWIN to be >>in c:\cygwin) - this is very important - it will not work if you do not >>do this step. regedit cygwin2.reg and regedit cygwin2.reg >> >>Summary (simple one using my tools) >> >>Download the following tools: perl.zip, masm.zip and cygwin.zip from >>http://tor.ath.cx/~hunter/tools >> >>1. Install Microsoft Visual Studio and remember to tick the environment >>tick box. >> >>2. create c:\masm ... put masm.zip into this and unzip (with directories >>included) - add c:\masm\bin to your path. >> >>3. create c:\perl ... put perl.zip into this and unzip (with directories >>included) - add c:\perl\bin to your path. >> >>4. create c:\cygwin ... put cygwin.zip into this and unzip (with >>directories included) - add c:\cygwin\bin to your path (after perl). Run >>regedit cygwin1.reg and regedit cygwin2.reg from c:\cygwin. >> >>After this you should be able to follow the instruction from the >>packages. >> >>Download the sources for: openssl, mod_ssl and apache. >> >>openssl-0.9.7c.tar.gz >>httpd_2.0.48-win32-scr.zip >> >>Check the md5's for each of these files. You can get a windows md5 tool >>from my tools directory. >> >>Make a directory c:\build >>Expand openssl-0.9.7c.tar.gz into c:\build\openssl-0.9.7c >>Expand httpd_2.0.48-win32-scr.zip into c:\build\httpd_2.0.48 >> >>Build openssl first... >> >>In a console go to the c:\build\openssl-0.9.7c read INSTALL.W32 and >>follow the instructions. >> >>Summarized here... >> >>Firstly you should run Configure: >>perl Configure VC-WIN32 >> >>- If you are using MASM then run: >>ms\do_masm >> >>- If you don't want to use the assembly language files at all then run: >>ms\do_ms >> >>The most common error here is if you use the wrong perl. >> >>Then from the command line do: >>nmake -f ms\ntdll.mak >> >>If all is well it should compile and you will have some DLLs and >>executables in out32dll. >> >>Do the tests: >> >>cd out32dll >>..\ms\test >> >>Never mind the Tweaks >> >>Copy the contents of >>c:\build\openssl-0.9.7c >>to >>c:\build\httpd_2.0.48\srclib\openssl >> >>Now build Apache... >> >>In a console go to the c:\build\httpd_2.0.48 >> >>You will be using makefile.win. >> >>To build run the following command... >> >>>>From c:\build\httpd_2.0.48 >> >>nmake /f Makefile.win INSTDIR="c:\apache" installr >> >>You should now have a properly built Apache 2 in c:\apache. >> >>I hope this helps... >> >> >> >> >>--------------------------------------------------------------------- >>The official User-To-User support forum of the Apache HTTP Server Project. >>See for more info. >>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org >> " from the digest: users-digest-unsubscribe@httpd.apache.org >>For additional commands, e-mail: users-help@httpd.apache.org >> >> >> >> > > >--------------------------------------------------------------------- >The official User-To-User support forum of the Apache HTTP Server Project. >See for more info. >To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org >For additional commands, e-mail: users-help@httpd.apache.org > > > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org