solved: help compiling apache 2.2.14 and openssl-0.9.8l using vs2008

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well if you can avoid zlib, you can compile apache 2.2.14 with
openssl-0.9.8l with vs2008.
Basically these instructions are correct _except_  leave out zlib or
you're  going to have to know a lot about compiling, linking and make
files because something doesn't get along
there.
http://httpd.apache.org/docs/2.2/platform/win_compiling.html

Here's what I did. (This is for any newbies if any out there. I hope I
don't insult the
expertise of the many people on this list who probably know way way
more than I do.)

I have visual studio professional 2008 (v9). and I had windows sdk 7
installed, should this
make a difference. I 'registered" sdk 7 with visual studio. I have no
idea if that was necessary.
I did install this version of awk per the instructions.
http://www.cs.princeton.edu/~bwk/btl.mirror/awk95.exe
and deleted some awk and gawk items from a cygwin install on this
machine. (which
was btw 2003 should that make a difference.)

I used the visual studio 2008 tools, command prompt to do further work.
Having extracted the apache source somewhere, create a directory
openssl under the
already existing srclib directory. Elsewhere, download openssl-0.9.8l
and gzip -d and
tar -xvf . Copy all the files from the subdirectory openssl-0.9.8l to the
srclib/openssl directory (eg using xcopy src dest /s/c ).

Download this patch to the srclib/openssl directory:
http://www.apache.org/dist/httpd/binaries/win32/patches_applied/openssl-0.9.8k-vc32.patch
It works without modification. To apply, do this being in the
srclib/openssl directory:
patch -s < openssl-0.9.8k-vc32.patch
(I was using the cygwin patch program).

Here's where I depart from the instructions and leave out zlib:
perl Configure no-rc5 no-idea enable-mdc2 VC-WIN32
ms\do_masm.bat
nmake -f ms\ntdll.mak

and that actually did work and compile it openssl! Whereas with zlib
in the loop one
can have a world of issues about duplicate definitions. It is perhaps
a problem with
linker options regarding threading/debug or not but I sure couldn't
figure it out.
I also didn't tackle mod_dbd or mod_authn_dbm

And then one can proceed to the top source level and do:
nmake /f Makefile.win _apacher

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux