Posts Tagged apache

compile mod_perl x64 windows 64 bit

  1. install activeperl x64 if you haven’t done yet
  2. get the source from trunk
    C:\build\>svn checkout
    /trunk/ mod_perl-2.0
  3. configure it
    C:\build\mod_perl-2.0>perl Makefile.PL MP_AP_PREFIX=C:\Apache22 
  4. nmake
  5. nmake test
  6. nmake install
  7. edit your httpd.conf ;-)

Tags: , , , , ,

Compile openssl windows 64 bit

Sadly there is no asm available for 64 bit on windows. That makes openssl minimal slower than with asm, but there is the native 64 bit binary :-)

perl Configure VC-WIN64A --prefix=/Apache22 --openssldir=/Apache22/conf enable-camellia disable-idea
nmake -f ms\ntdll.mak
REM remove md2 and idea test
nmake -f ms\ntdll.mak test

Tags: , , , , , ,

compile zlib 1.2.4 on 64 bit Windows command line

nmake -f win32\Makefile.msc

Tags: , , , , , , ,

compile zlib 1.2.4 on Windows command line

cd  contrib\masmx86
cd ..\..
ML /coff /Zi /c contrib\masmx86\match686.asm
NMAKE -f win32\Makefile.msc  LOC="-D_CRT_SECURE_NO_DEPRECATE /wd4996 -DASMV" OBJA="match686.obj"
MT -manifest zlib1.dll.manifest -outputresource:zlib1.dll;2 

Tags: , , , ,

remove /MACHINE:X86 from make files with php

I use PHP on the command line cause I know it the syntax better than any other scriting language and it works on linux and windows. This is about removing the x86 to be able to build apache in x64 (64 bit) on windows.

foreach($files as $file){
 echo "Replace in: ". $file ."\n\r";
 file_put_contents($file,str_ireplace(" /MACHINE:X86","",file_get_contents($file)));
 echo "FAILED: ". $file ."\n\r";

Tags: , , , , ,

Archives by Subject:

Archives by Month: