DeveloperSide.NET Forums
July 05, 2020, 01:54:25 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: [Notice] Visual Studio 2005  (Read 10973 times)
0 Members and 1 Guest are viewing this topic.
Jorge
Customer, Basic Support
Guru
*****
Posts: 544

jorge_schrauwen@msn.com
View Profile WWW
« on: November 27, 2005, 09:56:38 AM »

After some extended testing.

You can't compile Apache 2.0.55 + zlib + OpenSSL with visual studio 2005
Not on a 32bit OS like windows XP Pro nor on a 64bit OS like windows Server 2003 x64.

So use vs.net 2002 or 2003 when compiling.

Problems Encounterd:
OpenSSL:
use unsupported make file commands (probebly the warnings we get in 2003)
Apache:
Dies at an !IFDEF statment in makefile.win
Logged

Steffen
Member
*
Posts: 5


View Profile WWW
« Reply #1 on: November 27, 2005, 05:01:22 PM »

It is working here.

I compiled 2.0.55 and 2.1.10 (with mod_deflate and zlib 1.2.3)  with Visual C++ 2005 Express Edition, did not encounter an issue. Did not tried SSL.

Also not a problem compiling mod_security, mod_log_rotate etc.

Steffen

www.apachelounge.com
Logged
Jorge
Customer, Basic Support
Guru
*****
Posts: 544

jorge_schrauwen@msn.com
View Profile WWW
« Reply #2 on: November 28, 2005, 03:27:14 PM »

so a non ssl build works?

Also no ldap.lib probles?
I know thre not included in VS Express / standard

Just tried it... Apache 2.0.55 + zlib 1.1.4
Code:
S:\dev\httpd-2.0>nmake /f Makefile.win InstDir="\apache-vs2005" Installr

Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation.  All rights reserved.


INSTDIR    = \apache-vs2005
SERVERNAME = localhost
PORT       = 80

To change these options use 'nmake /f Makefile.win [option=value]'
Example: nmake /f Makefile.win PORT=8080


Makefile.win(129) : fatal error U1023: syntax error in expression
Stop.
Logged

Steffen
Member
*
Posts: 5


View Profile WWW
« Reply #3 on: November 30, 2005, 11:30:55 PM »

I did not used the  command-line but IDE by using the included dsw (not seen ldap errors). For zlib I had to compile zlib 1.2.3 manual.

Just build also 2.2.0 and it works fine.


Also did a build of php5apache2.dll , so we can run php as module with 2.2 .


Steffen

www.apachelounge.com
Logged
Jorge
Customer, Basic Support
Guru
*****
Posts: 544

jorge_schrauwen@msn.com
View Profile WWW
« Reply #4 on: December 01, 2005, 02:40:05 PM »

I'll spend some more time on it this weekend
Logged

Jorge
Customer, Basic Support
Guru
*****
Posts: 544

jorge_schrauwen@msn.com
View Profile WWW
« Reply #5 on: December 02, 2005, 09:47:55 PM »

Small Patch:
Code:

--- Makefile.win 2005-12-02 23:02:23.265625000 +0100
+++ Makefile.win.orig 2005-12-02 05:46:12.000000000 +0100
@@ -127,7 +127,7 @@
 
 !IFNDEF MAKEOPT
 # Only default the behavior if MAKEOPT= is omitted
-!IF "($MAKE)" == "NMAKE"
+!IF "$(MAKE)" == "NMAKE"
 # Microsoft NMake options
 MAKEOPT=-nologo
 !ELSEIF "($MAKE)" == "make"


now it builds fine accept for openssl
Logged

Steffen
Member
*
Posts: 5


View Profile WWW
« Reply #6 on: December 04, 2005, 09:23:03 AM »

I managed to compile it with OpenSSL/0.9.8a

In openssl (srclib\openssl\util\pl\VC-32.pl) I added the flags:

-D_CRT_NONSTDC_NO_DEPRECATE
-D_USE_32BIT_TIME_T

Steffen

www.apachelounge.com
Logged
Jorge
Customer, Basic Support
Guru
*****
Posts: 544

jorge_schrauwen@msn.com
View Profile WWW
« Reply #7 on: December 05, 2005, 03:55:10 PM »

I also manged to compile a x64 build of httpd 2.2.0

If any one is interested in testing it... drop me a line.
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!