problem compiling on windows

problem compiling on windows

am 03.06.2005 00:33:40 von B H

Hi

to begin, platform winxp pro, visual studio 6

I downloaded and extracted httpd-2.0.54-win32-src.zip,
openssl-0.9.7g.tar.gz from their respective websites.=20
And I was following
http://httpd.apache.org/docs-2.0/platform/win_compiling.html

I placed awk.exe in the path, extracted all the
openssl files into srclib/openssl, ran all the perl
lines configuring, and nmaking in the srclib/openssl
directory (and they seemed to work without any
error)...

but then when running=20

nmake /f Makefile.win _apacher

after a couple minutes I end up with fatal errors:=20
see last few lines before the error following...

-----------------------------
Creating library .\Release\mod_proxy.lib and object
..\Release\mod_proxy.exp
NMAKE -nologo -f mod_proxy_connect.mak
CFG=3D"mod_proxy_connect - Win32 Release" RECURSE=3D0
tempfile.bat
cl.exe
@C:\DOCUME~1\brad\LOCALS~1\Temp\nma00480.
proxy_connect.c
link.exe
@C:\DOCUME~1\brad\LOCALS~1\Temp\nmb00480.
Creating library .\Release\mod_proxy_connect.lib
and object .\Release\mod_proxy_connect.exp
NMAKE -nologo -f mod_proxy_ftp.mak =20
CFG=3D"mod_proxy_ftp - Win32 Release" RECURSE=3D0
tempfile.bat
cl.exe
@C:\DOCUME~1\brad\LOCALS~1\Temp\nma03996.
proxy_ftp.c
link.exe
@C:\DOCUME~1\brad\LOCALS~1\Temp\nmb03996.
Creating library .\Release\mod_proxy_ftp.lib and
object .\Release\mod_proxy_ftp.exp
NMAKE -nologo -f mod_proxy_http.mak=20
CFG=3D"mod_proxy_http - Win32 Release" RECURSE=3D0
tempfile.bat
cl.exe
@C:\DOCUME~1\brad\LOCALS~1\Temp\nma01708.
proxy_http.c
link.exe
@C:\DOCUME~1\brad\LOCALS~1\Temp\nmb01708.
Creating library .\Release\mod_proxy_http.lib and
object .\Release\mod_proxy_http.exp
cd ..\..
cd modules\ssl
NMAKE -nologo -f mod_ssl.mak =20
CFG=3D"mod_ssl - Win32 Release" RECURSE=3D0=20
..\Release\mod_ssl.so
NMAKE : fatal error U1073: don't know how to make
'"..\..\srclib\openssl\inc32\openssl\asn1.h"'
Stop.
NMAKE : fatal error U1077: '"C:\Program
Files\Microsoft Visual Studio\VC98\bin\NMAKE.EXE"' :
return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program
Files\Microsoft Visual Studio\VC98\bin\NMAKE.EXE"' :
return code '0x2'
Stop.

C:\Documents and Settings\brad\Desktop\httpd-2.0.54>
----------------------------

everything was working perfectly and I thought I was
following all the instructions properly. =20

What did I forget to do or can anyone tell me what is
wrong? I ask here because it seems to be in the
mod_ssl portion at that time. Please let me know if
there is a more appropriate place to ask.

(And I know it's rude to ask, but please cc me in any
responses)

thanks
b.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around=20
http://mail.yahoo.com=20
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

Re: problem compiling on windows

am 03.06.2005 10:27:08 von Michael.Straessle

I suggest you follow the procedure in the openssl source package
(install.w32) instead of using the perl commands in the apache httpd
documentation. This worked fine for me.

HTH
michael


-----Ursprüngliche Nachricht-----
Von: owner-modssl-users@modssl.org =
[mailto:owner-modssl-users@modssl.org] Im
Auftrag von b h
Gesendet: Freitag, 3. Juni 2005 00:34
An: modssl-users@modssl.org
Betreff: problem compiling on windows



Hi

to begin, platform winxp pro, visual studio 6

I downloaded and extracted httpd-2.0.54-win32-src.zip, =
openssl-0.9.7g.tar.gz
from their respective websites.=20
And I was following
http://httpd.apache.org/docs-2.0/platform/win_compiling.html

I placed awk.exe in the path, extracted all the
openssl files into srclib/openssl, ran all the perl
lines configuring, and nmaking in the srclib/openssl
directory (and they seemed to work without any
error)...

but then when running=20

nmake /f Makefile.win _apacher

after a couple minutes I end up with fatal errors:=20
see last few lines before the error following...

-----------------------------
Creating library .\Release\mod_proxy.lib and object
..\Release\mod_proxy.exp
NMAKE -nologo -f mod_proxy_connect.mak CFG=3D"mod_proxy_connect =
-
Win32 Release" RECURSE=3D0
tempfile.bat
cl.exe
@C:\DOCUME~1\brad\LOCALS~1\Temp\nma00480.
proxy_connect.c
link.exe
@C:\DOCUME~1\brad\LOCALS~1\Temp\nmb00480.
Creating library .\Release\mod_proxy_connect.lib
and object .\Release\mod_proxy_connect.exp
NMAKE -nologo -f mod_proxy_ftp.mak =20
CFG=3D"mod_proxy_ftp - Win32 Release" RECURSE=3D0
tempfile.bat
cl.exe
@C:\DOCUME~1\brad\LOCALS~1\Temp\nma03996.
proxy_ftp.c
link.exe
@C:\DOCUME~1\brad\LOCALS~1\Temp\nmb03996.
Creating library .\Release\mod_proxy_ftp.lib and
object .\Release\mod_proxy_ftp.exp
NMAKE -nologo -f mod_proxy_http.mak=20
CFG=3D"mod_proxy_http - Win32 Release" RECURSE=3D0
tempfile.bat
cl.exe
@C:\DOCUME~1\brad\LOCALS~1\Temp\nma01708.
proxy_http.c
link.exe
@C:\DOCUME~1\brad\LOCALS~1\Temp\nmb01708.
Creating library .\Release\mod_proxy_http.lib and
object .\Release\mod_proxy_http.exp
cd ..\..
cd modules\ssl
NMAKE -nologo -f mod_ssl.mak =20
CFG=3D"mod_ssl - Win32 Release" RECURSE=3D0=20
..\Release\mod_ssl.so
NMAKE : fatal error U1073: don't know how to make
'"..\..\srclib\openssl\inc32\openssl\asn1.h"'
Stop.
NMAKE : fatal error U1077: '"C:\Program
Files\Microsoft Visual Studio\VC98\bin\NMAKE.EXE"' :
return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program
Files\Microsoft Visual Studio\VC98\bin\NMAKE.EXE"' :
return code '0x2'
Stop.

C:\Documents and Settings\brad\Desktop\httpd-2.0.54>
----------------------------

everything was working perfectly and I thought I was
following all the instructions properly. =20

What did I forget to do or can anyone tell me what is
wrong? I ask here because it seems to be in the
mod_ssl portion at that time. Please let me know if
there is a more appropriate place to ask.

(And I know it's rude to ask, but please cc me in any
responses)

thanks
b.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around=20
http://mail.yahoo.com=20
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

RE: problem compiling on windows

am 03.06.2005 19:11:56 von bill.lange

Hi,
You might be running into the same thing I did a while back with the =
/win_compiling.html"=20
instructions.
You might try the following variation:

1) The instructions for running the perl scripts to build openssl are a =
little unclear,
so please note the following:
a) First you untar the openssl so that the openssl source tree is in the
srclib/openssl directory.
b) You must cd into the the srclib/openssl directory,
then execute the perl scripts as described.

2) On windows you can't execute the command exactly as printed in
the win_compiling.html and as shown below:

perl util\mk1mf.pl dll no-asm no-mdc2 no-rc5 no-idea VC-WIN32 >makefile

3) Because windows does not distinguish "makefile" from "Makefile" this
command will overwrite the "Makefile" that is previously configured
and required for this step.

You must direct the output to another filename, e.g.
perl util\mk1mf.pl dll no-asm no-mdc2 no-rc5 no-idea VC-WIN32 =
>makefile.rel

then "nmake /f makefile.rel" for the release build.

Regards,
Bill Lange

-----Original Message-----
From: owner-modssl-users@modssl.org =
[mailto:owner-modssl-users@modssl.org] On Behalf Of =
Michael.Straessle@bk.admin.ch
Sent: Friday, June 03, 2005 1:27 AM
To: modssl-users@modssl.org
Subject: Re: problem compiling on windows

I suggest you follow the procedure in the openssl source package
(install.w32) instead of using the perl commands in the apache httpd =
documentation. This worked fine for me.

HTH
michael


-----Ursprüngliche Nachricht-----
Von: owner-modssl-users@modssl.org =
[mailto:owner-modssl-users@modssl.org] Im Auftrag von b h
Gesendet: Freitag, 3. Juni 2005 00:34
An: modssl-users@modssl.org
Betreff: problem compiling on windows



Hi

to begin, platform winxp pro, visual studio 6

I downloaded and extracted httpd-2.0.54-win32-src.zip, =
openssl-0.9.7g.tar.gz from their respective websites.=20
And I was following
http://httpd.apache.org/docs-2.0/platform/win_compiling.html

I placed awk.exe in the path, extracted all the openssl files into =
srclib/openssl, ran all the perl lines configuring, and nmaking in the =
srclib/openssl directory (and they seemed to work without any error)...

but then when running=20

nmake /f Makefile.win _apacher

after a couple minutes I end up with fatal errors:=20
see last few lines before the error following...

-----------------------------
Creating library .\Release\mod_proxy.lib and object =
..\Release\mod_proxy.exp
NMAKE -nologo -f mod_proxy_connect.mak CFG=3D"mod_proxy_connect =
-
Win32 Release" RECURSE=3D0
tempfile.bat
cl.exe
@C:\DOCUME~1\brad\LOCALS~1\Temp\nma00480.
proxy_connect.c
link.exe
@C:\DOCUME~1\brad\LOCALS~1\Temp\nmb00480.
Creating library .\Release\mod_proxy_connect.lib and object =
..\Release\mod_proxy_connect.exp
NMAKE -nologo -f mod_proxy_ftp.mak CFG=3D"mod_proxy_ftp - Win32 =
Release" RECURSE=3D0
tempfile.bat
cl.exe
@C:\DOCUME~1\brad\LOCALS~1\Temp\nma03996.
proxy_ftp.c
link.exe
@C:\DOCUME~1\brad\LOCALS~1\Temp\nmb03996.
Creating library .\Release\mod_proxy_ftp.lib and object =
..\Release\mod_proxy_ftp.exp
NMAKE -nologo -f mod_proxy_http.mak CFG=3D"mod_proxy_http - =
Win32 Release" RECURSE=3D0
tempfile.bat
cl.exe
@C:\DOCUME~1\brad\LOCALS~1\Temp\nma01708.
proxy_http.c
link.exe
@C:\DOCUME~1\brad\LOCALS~1\Temp\nmb01708.
Creating library .\Release\mod_proxy_http.lib and object =
..\Release\mod_proxy_http.exp
cd ..\..
cd modules\ssl
NMAKE -nologo -f mod_ssl.mak =20
CFG=3D"mod_ssl - Win32 Release" RECURSE=3D0 .\Release\mod_ssl.so NMAKE : =
fatal error U1073: don't know how to make =
'"..\..\srclib\openssl\inc32\openssl\asn1.h"'
Stop.
NMAKE : fatal error U1077: '"C:\Program
Files\Microsoft Visual Studio\VC98\bin\NMAKE.EXE"' :
return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program
Files\Microsoft Visual Studio\VC98\bin\NMAKE.EXE"' :
return code '0x2'
Stop.

C:\Documents and Settings\brad\Desktop\httpd-2.0.54>
----------------------------

everything was working perfectly and I thought I was following all the =
instructions properly. =20

What did I forget to do or can anyone tell me what is wrong? I ask here =
because it seems to be in the mod_ssl portion at that time. Please let =
me know if there is a more appropriate place to ask.

(And I know it's rude to ask, but please cc me in any
responses)

thanks
b.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around =
http://mail.yahoo.com =
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

RE: problem compiling on windows

am 03.06.2005 22:28:19 von B H

Hi Bill

that was the answer. Thanks!

bob


--- "Lange, Bill Charles" wrote:

> Hi,
> You might be running into the same thing I did a
> while back with the /win_compiling.html"=20
> instructions.
> You might try the following variation:
>=20
> 1) The instructions for running the perl scripts to
> build openssl are a little unclear,
> so please note the following:
> a) First you untar the openssl so that the openssl
> source tree is in the
> srclib/openssl directory.
> b) You must cd into the the srclib/openssl
> directory,
> then execute the perl scripts as described.
>=20
> 2) On windows you can't execute the command exactly
> as printed in
> the win_compiling.html and as shown below:
>=20
> perl util\mk1mf.pl dll no-asm no-mdc2 no-rc5 no-idea
> VC-WIN32 >makefile
>=20
> 3) Because windows does not distinguish "makefile"
> from "Makefile" this
> command will overwrite the "Makefile" that is
> previously configured
> and required for this step.
>=20
> You must direct the output to another filename,
> e.g.
> perl util\mk1mf.pl dll no-asm no-mdc2 no-rc5
> no-idea VC-WIN32 >makefile.rel
>=20
> then "nmake /f makefile.rel" for the release
> build.
>=20
> Regards,
> Bill Lange
>=20
> -----Original Message-----
> From: owner-modssl-users@modssl.org
> [mailto:owner-modssl-users@modssl.org] On Behalf Of
> Michael.Straessle@bk.admin.ch
> Sent: Friday, June 03, 2005 1:27 AM
> To: modssl-users@modssl.org
> Subject: Re: problem compiling on windows
>=20
> I suggest you follow the procedure in the openssl
> source package
> (install.w32) instead of using the perl commands in
> the apache httpd documentation. This worked fine for
> me.
>=20
> HTH
> michael
>=20
>=20
> -----Ursprüngliche Nachricht-----
> Von: owner-modssl-users@modssl.org
> [mailto:owner-modssl-users@modssl.org] Im Auftrag
> von b h
> Gesendet: Freitag, 3. Juni 2005 00:34
> An: modssl-users@modssl.org
> Betreff: problem compiling on windows
>=20
>=20
>=20
> Hi
>=20
> to begin, platform winxp pro, visual studio 6
>=20
> I downloaded and extracted
> httpd-2.0.54-win32-src.zip, openssl-0.9.7g.tar.gz
> from their respective websites.=20
> And I was following
>
http://httpd.apache.org/docs-2.0/platform/win_compiling.html
>=20
> I placed awk.exe in the path, extracted all the
> openssl files into srclib/openssl, ran all the perl
> lines configuring, and nmaking in the srclib/openssl
> directory (and they seemed to work without any
> error)...
>=20
> but then when running=20
>=20
> nmake /f Makefile.win _apacher
>=20
> after a couple minutes I end up with fatal errors:=20
> see last few lines before the error following...
>=20
> -----------------------------
> Creating library .\Release\mod_proxy.lib and
> object .\Release\mod_proxy.exp
> NMAKE -nologo -f mod_proxy_connect.mak
> CFG=3D"mod_proxy_connect -
> Win32 Release" RECURSE=3D0
> tempfile.bat
> cl.exe
> @C:\DOCUME~1\brad\LOCALS~1\Temp\nma00480.
> proxy_connect.c
> link.exe
> @C:\DOCUME~1\brad\LOCALS~1\Temp\nmb00480.
> Creating library .\Release\mod_proxy_connect.lib
> and object .\Release\mod_proxy_connect.exp
> NMAKE -nologo -f mod_proxy_ftp.mak
> CFG=3D"mod_proxy_ftp - Win32 Release" RECURSE=3D0
> tempfile.bat
> cl.exe
> @C:\DOCUME~1\brad\LOCALS~1\Temp\nma03996.
> proxy_ftp.c
> link.exe
> @C:\DOCUME~1\brad\LOCALS~1\Temp\nmb03996.
> Creating library .\Release\mod_proxy_ftp.lib and
> object .\Release\mod_proxy_ftp.exp
> NMAKE -nologo -f mod_proxy_http.mak
> CFG=3D"mod_proxy_http - Win32 Release" RECURSE=3D0
> tempfile.bat
> cl.exe
> @C:\DOCUME~1\brad\LOCALS~1\Temp\nma01708.
> proxy_http.c
> link.exe
> @C:\DOCUME~1\brad\LOCALS~1\Temp\nmb01708.
> Creating library .\Release\mod_proxy_http.lib and
> object .\Release\mod_proxy_http.exp
> cd ..\..
> cd modules\ssl
> NMAKE -nologo -f mod_ssl.mak =20
> CFG=3D"mod_ssl - Win32 Release" RECURSE=3D0
> .\Release\mod_ssl.so NMAKE : fatal error U1073:
> don't know how to make
> '"..\..\srclib\openssl\inc32\openssl\asn1.h"'
> Stop.
> NMAKE : fatal error U1077: '"C:\Program
> Files\Microsoft Visual Studio\VC98\bin\NMAKE.EXE"' :
> return code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"C:\Program
> Files\Microsoft Visual Studio\VC98\bin\NMAKE.EXE"' :
> return code '0x2'
> Stop.
>=20
> C:\Documents and Settings\brad\Desktop\httpd-2.0.54>
> ----------------------------
>=20
> everything was working perfectly and I thought I was
> following all the instructions properly. =20
>=20
> What did I forget to do or can anyone tell me what
> is wrong? I ask here because it seems to be in the
> mod_ssl portion at that time. Please let me know if
> there is a more appropriate place to ask.
>=20
> (And I know it's rude to ask, but please cc me in
> any
> responses)
>=20
> thanks
> b.
>=20
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around http://mail.yahoo.com
>
____________________________________________________________ __________
> Apache Interface to OpenSSL (mod_ssl) =20
> www.modssl.org
> User Support Mailing List =20
> modssl-users@modssl.org
> Automated List Manager =20
> majordomo@modssl.org
>
____________________________________________________________ __________
> Apache Interface to OpenSSL (mod_ssl) =20
> www.modssl.org
> User Support Mailing List =20
> modssl-users@modssl.org
> Automated List Manager =20
> majordomo@modssl.org
>
____________________________________________________________ __________
> Apache Interface to OpenSSL (mod_ssl) =20
> www.modssl.org
> User Support Mailing List =20
> modssl-users@modssl.org
> Automated List Manager =20
> majordomo@modssl.org
>=20


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around=20
http://mail.yahoo.com=20
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org