RE: problem compiling on windows

2005-06-03 Thread b h

Hi Bill

that was the answer.  Thanks!

bob


--- "Lange, Bill Charles" <[EMAIL PROTECTED]> wrote:

> Hi,
> You might be running into the same thing I did a
> while back with the /win_compiling.html" 
> 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: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] 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. 
> 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 
> 
> nmake /f Makefile.win _apacher
> 
> after a couple minutes I end up with fatal errors: 
> 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="mod_proxy_connect -
> Win32 Release" RECURSE=0
> 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="mod_proxy_ftp - Win32 Release" RECURSE=0
> 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="mod_proxy_http - Win32 Release" RECURSE=0
> 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
> CFG="mod_ssl - Win32 Release" RECURSE=0
> .\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 wo

RE: problem compiling on windows

2005-06-03 Thread Lange, Bill Charles
Hi,
You might be running into the same thing I did a while back with the 
/win_compiling.html" 
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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. 
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 

nmake /f Makefile.win _apacher

after a couple minutes I end up with fatal errors: 
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="mod_proxy_connect -
Win32 Release" RECURSE=0
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="mod_proxy_ftp - Win32 Release" 
RECURSE=0
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="mod_proxy_http - Win32 
Release" RECURSE=0
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
CFG="mod_ssl - Win32 Release" RECURSE=0 .\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.  

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[EMAIL PROTECTED]
__

Re: problem compiling on windows

2005-06-03 Thread 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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. 
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 

nmake /f Makefile.win _apacher

after a couple minutes I end up with fatal errors: 
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="mod_proxy_connect -
Win32 Release" RECURSE=0
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="mod_proxy_ftp - Win32 Release" RECURSE=0
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="mod_proxy_http - Win32 Release" RECURSE=0
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
CFG="mod_ssl - Win32 Release" RECURSE=0 
.\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.  

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[EMAIL PROTECTED]
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  modssl-users@modssl.org
Automated List Manager[EMAIL PROTECTED]


problem compiling on windows

2005-06-02 Thread 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. 
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 

nmake /f Makefile.win _apacher

after a couple minutes I end up with fatal errors: 
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="mod_proxy_connect - Win32 Release" RECURSE=0
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="mod_proxy_ftp - Win32 Release" RECURSE=0
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="mod_proxy_http - Win32 Release" RECURSE=0
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
CFG="mod_ssl - Win32 Release" RECURSE=0 
.\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.  

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[EMAIL PROTECTED]


Problem compiling Apache with modssl on Sparc 9 with 64 bit openssl

2003-09-05 Thread Dmitry Bocharnikov
Hi, I'm having a problem compiling apache with modssl support on a
solaris platform. I've had to compile openssl as "solaris64-sparcv9-gcc"
otherwise after a default configuration compilation process would give
me a fatal error in dhparam.o file - wrong elf class (ELFCLASS64)


if [ "solaris-shared" = "hpux-shared" -o "solaris-shared" = 
"darwin-shared" ] ; then \
 gcc -o openssl -DMONOLITH -I.. -I../include  
-DOPENSSL_SYSNAME_ULTRASPARC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN 
-DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -m32 -mcpu=ultrasparc -O3 
-fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -DMD5_ASM openssl.o 
verify.o asn1pars.o req.o dgst.o
dh.o dhparam.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o 
crl.o rsa.o rsautl.o dsa.o dsaparam.o x509.o genrsa.o gendsa.o 
s_server.o s_client.o speed.o s_time.o apps.o s_cb.o s_socket.o 
app_rand.o version.o sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o spkac.o
smime.o rand.o engine.o ocsp.o  ../libssl.a  ../libcrypto.a -lsocket 
-lnsl -ldl ; \
else \
 gcc -o openssl -DMONOLITH -I.. -I../include  
-DOPENSSL_SYSNAME_ULTRASPARC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN 
-DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -m32 -mcpu=ultrasparc -O3 
-fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -DMD5_ASM openssl.o 
verify.o asn1pars.o req.o dgst.o
dh.o dhparam.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o 
crl.o rsa.o rsautl.o dsa.o dsaparam.o x509.o genrsa.o gendsa.o 
s_server.o s_client.o speed.o s_time.o apps.o s_cb.o s_socket.o 
app_rand.o version.o sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o spkac.o
smime.o rand.o engine.o ocsp.o  -L.. -lssl  -L.. -lcrypto -lsocket -lnsl
-ldl ; \
fi
ld: fatal: file dhparam.o: wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to openssl
collect2: ld returned 1 exit status

However, this error does not happen if I compile for solaris64. Then
when I compile apache with modssl at the very end of build process when
the httpd binary is created I get the following errors:


 -DSOLARIS2=290 -DMOD_SSL=208112 -DEAPI -DEAPI_MM -DUSE_EXPAT 
-I./lib/expat-lite -DNO_DL_NEEDED `./apaci` 
-L/export/home/iknlots/local/openssl/lib 
-L/export/home/iknlots/src/mm-1.2.1/.libs   \
 -o httpd buildmark.o modules.o modules/ssl/libssl.a 
modules/jserv/libjserv.a modules/standard/libstandard.a main/libmain.a 
./os/unix/libos.a ap/libap.a  lib/expat-lite/libexpat.a  -Lmodules/jserv
-L../modules/jserv -L../../modules/jserv -ljserv  -lsocket -lnsl 
-lpthread  -lssl -lcrypto -lmm
ld: warning: file 
/export/home/iknlots/local/openssl/lib/libssl.a(s2_srvr.o): wrong ELF
class: ELFCLASS64
ld: warning: file 
/export/home/iknlots/local/openssl/lib/libcrypto.a(bn_lib.o): wrong ELF 
class: ELFCLASS64
Undefined   first referenced
symbol in file
d2i_SSL_SESSION
modules/ssl/libssl.a(ssl_scache_dbm.o)
SSL_get_verify_mode 
modules/ssl/libssl.a(ssl_engine_kernel.o)
SSL_library_init   
modules/ssl/libssl.a(ssl_engine_init.o)
...
sk_num 
modules/ssl/libssl.a(ssl_engine_init.o)
d2i_X509   
modules/ssl/libssl.a(ssl_engine_init.o)
SSL_accept  
modules/ssl/libssl.a(ssl_engine_kernel.o)
X509_NAME_oneline  
modules/ssl/libssl.a(ssl_engine_init.o)
ERR_get_error  
modules/ssl/libssl.a(ssl_engine_log.o)
ld: fatal: Symbol referencing errors. No output written to httpd
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1


Has anyone see anything like that before?

Thank you,
-- 
Dmitry Bocharnikov
Telco Exchange, Inc
http://www3.telcoexchange.com
(703) 359-6184

This message may contain information that is proprietary to Telco
Exchange, its customers, and partners. If you have received it in error,
please notify Telco Exchange immediately.

__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]


Re: Problem compiling Apache with modssl on HPUX system...

2002-08-31 Thread hunter

Gilles Gros wrote:
> You need to have felx and bison installed and accessible in your path.
> 
> Gilles
> - Original Message -
> From: "Almada, Jon F" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, August 30, 2002 2:54 PM
> Subject: Problem compiling Apache with modssl on HPUX system...
> 
> 
> 
>>Hello,
>>
>>I am attempting to compile Apache with the Mod-SSL modules per the
>>instructions on
>>the site. I am running on a HP-UX 11 machine and everything went fine
> 
> until
> 
>>I began
>>compiling the Apache server - Any advice about how to get out of this
> 
> pickle
> 
>>would
>>most certainly be appreciated ;>)
>>
>>Sincerely,
>>
>>Jon F. Almada
>>Web Developer
>>GenCorp-Aerojet
>>
>>rm -f libmain.a
>>ar cr libmain.a alloc.o buff.o  http_config.o http_core.o
> 
> http_log.o
> 
>>ht
>>tp_main.o http_protocol.o http_request.o http_vhost.o  util.o util_date.o
>>util_s
>>cript.o util_uri.o util_md5.o  rfc1413.o
>>/bin/true libmain.a
>><=== src/main
>>===> src/lib
>>===> src/lib/expat-lite
>><=== src/lib/expat-lite
>><=== src/lib
>>===> src/modules
>>===> src/modules/standard
>><=== src/modules/standard
>>===> src/modules/ssl
>>flex -Pssl_expr_yy -s -B ssl_expr_scan.l
>>Make: Cannot load flex.  Stop.
>>*** Error exit code 1
>>__
>>Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
>>User Support Mailing List  [EMAIL PROTECTED]
>>Automated List Manager[EMAIL PROTECTED]
>>
> 
> 
> __
> Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
> User Support Mailing List  [EMAIL PROTECTED]
> Automated List Manager[EMAIL PROTECTED]
> 

In the interest of preventing another misunderstanding...

Giles meant 'flex' not felx...
 > You need to have felx and bison installed and accessible in your path.

Chris.
(please excuse me if it was already obvious)



__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



Re: Problem compiling Apache with modssl on HPUX system...

2002-08-31 Thread Gilles Gros

You need to have felx and bison installed and accessible in your path.

Gilles
- Original Message -
From: "Almada, Jon F" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 30, 2002 2:54 PM
Subject: Problem compiling Apache with modssl on HPUX system...


> Hello,
>
> I am attempting to compile Apache with the Mod-SSL modules per the
> instructions on
> the site. I am running on a HP-UX 11 machine and everything went fine
until
> I began
> compiling the Apache server - Any advice about how to get out of this
pickle
> would
> most certainly be appreciated ;>)
>
> Sincerely,
>
> Jon F. Almada
> Web Developer
> GenCorp-Aerojet
>
> rm -f libmain.a
> ar cr libmain.a alloc.o buff.o  http_config.o http_core.o
http_log.o
> ht
> tp_main.o http_protocol.o http_request.o http_vhost.o  util.o util_date.o
> util_s
> cript.o util_uri.o util_md5.o  rfc1413.o
> /bin/true libmain.a
> <=== src/main
> ===> src/lib
> ===> src/lib/expat-lite
> <=== src/lib/expat-lite
> <=== src/lib
> ===> src/modules
> ===> src/modules/standard
> <=== src/modules/standard
> ===> src/modules/ssl
> flex -Pssl_expr_yy -s -B ssl_expr_scan.l
> Make: Cannot load flex.  Stop.
> *** Error exit code 1
> __
> Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
> User Support Mailing List  [EMAIL PROTECTED]
> Automated List Manager[EMAIL PROTECTED]
>

__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



Problem compiling Apache with modssl on HPUX system...

2002-08-31 Thread Almada, Jon F

Hello,

I am attempting to compile Apache with the Mod-SSL modules per the
instructions on 
the site. I am running on a HP-UX 11 machine and everything went fine until
I began 
compiling the Apache server - Any advice about how to get out of this pickle
would 
most certainly be appreciated ;>)

Sincerely,

Jon F. Almada
Web Developer
GenCorp-Aerojet

rm -f libmain.a
ar cr libmain.a alloc.o buff.o  http_config.o http_core.o http_log.o
ht
tp_main.o http_protocol.o http_request.o http_vhost.o  util.o util_date.o
util_s
cript.o util_uri.o util_md5.o  rfc1413.o
/bin/true libmain.a
<=== src/main
===> src/lib
===> src/lib/expat-lite
<=== src/lib/expat-lite
<=== src/lib
===> src/modules
===> src/modules/standard
<=== src/modules/standard
===> src/modules/ssl
flex -Pssl_expr_yy -s -B ssl_expr_scan.l
Make: Cannot load flex.  Stop.
*** Error exit code 1
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



Problem compiling apache 1.3.23 with mod_ssl

2002-02-08 Thread Nicola Tiling

Hi all

We have problems to compile Apache with mod_ssl on FreeBSD 4.4
*Without* mod_ssl everything works fine but with mod_ssl compiling stops
with:

===> src/main
gcc -c -I/usr/local/include -I../os/unix -I../include   -funsigned-char
-DMOD_SSL=208106 -DEAPI -DEAPI_MM -DUSE_EXPAT -I../lib/expat-lite
-I/usr/local/ssl/include/openssl  `../apaci` gen_test_char.c
gcc  -funsigned-char -DMOD_SSL=208106 -DEAPI -DEAPI_MM -DUSE_EXPAT
-I../lib/expat-lite -I/usr/local/ssl/include/openssl  `../apaci`
-L/usr/local/lib -L ..//usr/ports/graphics/gd2 -o gen_test_char
gen_test_char.o  -lcrypt -lmm
./gen_test_char >test_char.h
gcc -c -I/usr/local/include -I../os/unix -I../include   -funsigned-char
-DMOD_SSL=208106 -DEAPI -DEAPI_MM -DUSE_EXPAT -I../lib/expat-lite
-I/usr/local/ssl/include/openssl  `../apaci` gen_uri_delims.c
gcc  -funsigned-char -DMOD_SSL=208106 -DEAPI -DEAPI_MM -DUSE_EXPAT
-I../lib/expat-lite -I/usr/local/ssl/include/openssl  `../apaci`
-L/usr/local/lib -L ..//usr/ports/graphics/gd2 -o gen_uri_delims
gen_uri_delims.o  -lcrypt -lmm
./gen_uri_delims >uri_delims.h
gcc -c -I/usr/local/include -I../os/unix -I../include   -funsigned-char
-DMOD_SSL=208106 -DEAPI -DEAPI_MM -DUSE_EXPAT -I../lib/expat-lite
-I/usr/local/ssl/include/openssl  `../apaci` alloc.c
gcc -c -I/usr/local/include -I../os/unix -I../include   -funsigned-char
-DMOD_SSL=208106 -DEAPI -DEAPI_MM -DUSE_EXPAT -I../lib/expat-lite
-I/usr/local/ssl/include/openssl  `../apaci` buff.c
buff.c: In function `buff_write':
buff.c:367: structure has no member named `filter_callback'
buff.c:368: structure has no member named `filter_callback'
buff.c: In function `ap_bcreate':
buff.c:456: structure has no member named `callback_data'
buff.c:457: structure has no member named `filter_callback'
buff.c: In function `writev_it_all':
buff.c:1103: structure has no member named `filter_callback'
buff.c:1105: structure has no member named `filter_callback'
*** Error code 1

Stop in /var/src/local/apache/apache_1.3.23/src/main.
*** Error code 1

Stop in /var/src/local/apache/apache_1.3.23/src.
*** Error code 1

Stop in /var/src/local/apache/apache_1.3.23.
*** Error code 1

Stop in /var/src/local/apache/apache_1.3.23.


The diffs in buff.c before and after making mod_ssl are

diff buff.c buff.c.org 
276,278d275
< #ifdef EAPI
<   if (!ap_hook_call("ap::buff::read", &rv, fb, buf, nbyte))
< #endif /* EAPI */
290,292d286
< #ifdef EAPI
<   if (!ap_hook_call("ap::buff::recvwithtimeout", &rv, fb, buf,
nbyte))
< #endif /* EAPI */
340,342d333
< #ifdef EAPI
<   if (!ap_hook_call("ap::buff::write", &rv, fb, buf, nbyte))
< #endif /* EAPI */
373,375d363
< #ifdef EAPI
<   if (!ap_hook_call("ap::buff::sendwithtimeout", &rv, fb, buf,
nbyte))
< #endif /* EAPI */
459,462d446
< #ifdef EAPI
< fb->ctx = ap_ctx_new(p);
< #endif /* EAPI */
< 
1115,1117d1098
< #ifdef EAPI
<   if (!ap_hook_call("ap::buff::writev", &rv, fb, &vec[i], nvec
-i))
< #endif /* EAPI */


greetings
Nicola

__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



Re: problem compiling...

2000-10-20 Thread Mads Toftum

On Fri, Oct 20, 2000 at 11:01:53AM +0100, Robert Halls wrote:

[SNIP]
> /usr/local/ssl/include/openssl/x509.h:779: previous declaration of
> `d2i_PrivateKey_bio'
> *** Error code 1
> make: Fatal error: Command failed for target `ssl_util_ssl.lo'
> Current working directory /export/home/robert/apache_1.3.9/src/modules/ssl
> *** Error code 1

This is because you're using an old version of mod_ssl with a new version 
of openssl. Either upgrade mod_ssl or downgrade openssl(I think 0.9.4 was ok,
but search the ml-archive to get the specific version numbers).

vh

Mads Toftum
-- 
`Darn it, who spiked my coffee with water?!' - lwall

__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



RE: problem compiling...

2000-10-20 Thread Robert Halls

I am having a similar problem to Ed.

I am trying to compile Apache (1.3.9) with mod_ssl (0.9.6, and I have tried
0.9.5a and get the same problem) on a Solaris machine (Version 2.7).  I do
not need perl in the web server but the perl application is present on the
system.

We are having to backgrade to 1.3.9 because there seem to be some issues
with Apache 1.3.12 interacting with the WebLogicServer that we are using for
the application middleware.

I have followed all of the instructions that have been listed, but to no
avail.  I have also tried to compile mod_ssl into apache using the apxs
instructions after apache was installed cleanly.  This gives me the error of
"EAPI not present".  I am by no means a Unix guru, and am quite stuck.  I
have followed all of the instructions for apache_1.3.12 and that is working
(It just has conflicts with WLS).

I am open to any suggestions.

Further information:
The source is in my home directory in:
~/apache_1.3.9
~/mod_ssl-2.4.10-1.3.9

./configure run in ~/mod_ssl-2.4.10-1.3.9 using the keys that I already
have, and them make run from ~/apache_1.3.9

-

Here is the error:

# make
===> src
===> src/os/unix
<=== src/os/unix
===> src/ap
<=== src/ap
===> src/main
<=== src/main
===> src/lib
===> src/lib/expat-lite
<=== src/lib/expat-lite
<=== src/lib
===> src/modules
===> src/modules/standard
<=== src/modules/standard
===> src/modules/ssl
gcc -c  -I../../os/unix -I../../include   -DSOLARIS2=270 -DMOD_SSL=204110
-DEAPI -DUSE_EXPAT -I../../lib/expat-lite `../../apaci` -fPIC
-DSHARED_MODULE -DSSL_COMPAT -I/usr/local/ssl/include
-DMOD_SSL_VERSION=\"2.4.10\" ssl_util_ssl.c && mv ssl_util_ssl.o
ssl_util_ssl.lo
ssl_util_ssl.c:145: conflicting types for `d2i_PrivateKey_bio'
/usr/local/ssl/include/openssl/x509.h:779: previous declaration of
`d2i_PrivateKey_bio'
*** Error code 1
make: Fatal error: Command failed for target `ssl_util_ssl.lo'
Current working directory /export/home/robert/apache_1.3.9/src/modules/ssl
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /export/home/robert/apache_1.3.9/src/modules
*** Error code 1
make: Fatal error: Command failed for target `subdirs'
Current working directory /export/home/robert/apache_1.3.9/src
*** Error code 1
make: Fatal error: Command failed for target `build-std'
Current working directory /export/home/robert/apache_1.3.9
*** Error code 1
make: Fatal error: Command failed for target `build'

-

Cheers

Robert Halls
Networks Administrator
extu.com

40 Holborn Viaduct
London
EC1N 2PB

Tel:+44 (0)20 7832 3321
Fax:+44 (0)20 7832 3593
Direct: +44 (0)20 7832 3323
Mobile: +44 (0)7971 835527

The contents of this e-mail are intended for the named addressee only.  It
contains information which may be confidential and which may also be
privileged. Unless you are the named addressee (or authorised to receive for
the addressee) you may not copy or use it, or disclose it to anyone else. If
you received it in error please notify us immediately and then destroy it.
Further, we make every effort to keep our network free from viruses.
However, you do need to check this e-mail and any attachments to it for
viruses as we can take no responsibility for any computer virus which might
be transferred by way of this e-mail.


-Original Message-
From: Ed Arizona [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 20, 2000 5:16 AM
To: [EMAIL PROTECTED]
Subject: problem compiling...



I'm having a problem compiling apache 1.3.9 with mod_ssl and mod_perl. 
I'm sure this is a simple question--it looks like any c programmer would
know how to solve this... hence the problem!  I'm not!  :-)

Thanks in advance,

-Ed.

 Original Message 
Date: Thu, 19 Oct 2000 23:59:23 -0400
From: root <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]

(cd ../apache_1.3.9+both && make)
make[1]: Entering directory `/www/apache_1.3.9+both'
===> src
make[2]: Entering directory `/www/apache_1.3.9+both'
make[3]: Entering directory `/www/apache_1.3.9+both/src'
===> src/regex
make[4]: Nothing to be done for `all'.
<=== src/regex
===> src/os/unix
make[4]: Nothing to be done for `all'.
<=== src/os/unix
===> src/ap
make[4]: Nothing to be done for `all'.
<=== src/ap
===> src/main
make[4]: Nothing to be done for `all'.
<=== src/main
===> src/lib
===> src/lib/expat-lite
make[5]: Nothing to be done for `all'.
<=== src/lib/expat-lite
<=== src/lib
===> src/modules
===> src/modules/standard
make[5]: Nothing to be done for `all'.
<=== src/modules/standard
===> src/modules/ssl
gcc -c -I../.. -I/usr/local/lib/perl5/5.6.0/i586-linux/CORE
-I../../os/unix -I../../include   -DLINUX=2 -DMOD_SSL=204110 -DMOD_PERL
-DUSE_PERL_SSI -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURC

problem compiling...

2000-10-19 Thread Ed Arizona


I'm having a problem compiling apache 1.3.9 with mod_ssl and mod_perl. 
I'm sure this is a simple question--it looks like any c programmer would
know how to solve this... hence the problem!  I'm not!  :-)

Thanks in advance,

-Ed.

 Original Message 
Date: Thu, 19 Oct 2000 23:59:23 -0400
From: root <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]

(cd ../apache_1.3.9+both && make)
make[1]: Entering directory `/www/apache_1.3.9+both'
===> src
make[2]: Entering directory `/www/apache_1.3.9+both'
make[3]: Entering directory `/www/apache_1.3.9+both/src'
===> src/regex
make[4]: Nothing to be done for `all'.
<=== src/regex
===> src/os/unix
make[4]: Nothing to be done for `all'.
<=== src/os/unix
===> src/ap
make[4]: Nothing to be done for `all'.
<=== src/ap
===> src/main
make[4]: Nothing to be done for `all'.
<=== src/main
===> src/lib
===> src/lib/expat-lite
make[5]: Nothing to be done for `all'.
<=== src/lib/expat-lite
<=== src/lib
===> src/modules
===> src/modules/standard
make[5]: Nothing to be done for `all'.
<=== src/modules/standard
===> src/modules/ssl
gcc -c -I../.. -I/usr/local/lib/perl5/5.6.0/i586-linux/CORE
-I../../os/unix -I../../include   -DLINUX=2 -DMOD_SSL=204110 -DMOD_PERL
-DUSE_PERL_SSI -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX -DEAPI
-DUSE_EXPAT -I../../lib/expat-lite `../../apaci` -DSSL_COMPAT
-DSSL_USE_SDBM -I/usr/local/ssl/include -DMOD_SSL_VERSION=\"2.4.10\"
ssl_util_ssl.c
ssl_util_ssl.c:145: conflicting types for `d2i_PrivateKey_bio'
/usr/local/ssl/include/openssl/x509.h:779: previous declaration of
`d2i_PrivateKey_bio'
make[5]: *** [ssl_util_ssl.o] Error 1
make[4]: *** [all] Error 1
make[3]: *** [subdirs] Error 1
make[3]: Leaving directory `/www/apache_1.3.9+both/src'
make[2]: *** [build-std] Error 2
make[2]: Leaving directory `/www/apache_1.3.9+both'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/www/apache_1.3.9+both'
make: *** [apaci_httpd] Error 2
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



problem compiling

2000-03-22 Thread Adhamh Findlay

I'm trying to compile Apache 1.3.12 with mod-ssl_2.6.4_1.3.12 on Mac 
OS X Server 1.2.  I have successfully compiled and installed Apache 
1.3.12 without mod_ssl.  Now, I am trying to compile Apache with 
mod_ssl-2.6.2, but it is not working.  I have pasted in the the 
configure command and output that I am getting.  Does anyone have any 
ideas?


./configure --with-apache=/usr/local/apache_1.3.12 \
   --with-ssl=/usr/local/openssl-0.9.5 --prefix=/usr/local/sbin

I get the following error:

C + doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed.  The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.

cd ..; cc  -DMAC_OS_X_SERVER -DMOD_SSL=206102 -DUSE_HSREGEX -DEAPI 
-DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` 
-L/usr/local/openssl-0.9.5  -o helpers/dummy helpers/dummy.c   -ldbm 
-lssl -lcrypto
/usr/bin/ld: can't locate file for: -ldbm
make: *** [dummy] Error 1
 Error Output for sanity check 
= End of Error Report =

  Aborting!
./configure:Error: APACI failed

I think the problem is that in Makefile.config I see this:  "LIBS1= 
-ldbm -lssl -lcrypto".  However, I don't how to solve this.

Thanks
-- 


--adhamh
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



Re: Problem compiling Apache with mod_ssl on NT

1999-10-20 Thread Ralf S. Engelschall

On Wed, Oct 20, 1999, Chowdhri, Kavita wrote:

> I have a problem with the compilation of Apache 1.3.4 with mod-ssl over
> Windows NT. I am using Cygnus as the Unix interface and compiling using
> VC++. I have been following the instructions as described in the modssl
> documentation and am now trying to nmake (a VC++ command) Apache with the
> makefile generated for NT. Everything goes fine until I get a linker error,
> and I can't seem to figure it out. I am sending the list of instructions I
> followed along with an attachment of the output that I obtained with the
> nmake command. Any help would be greatly appreciated.
> [...]
> $ cd mod_ssl-2.1.x-1.3.x
> [...]

You're using very anchient versions of Apache, mod_ssl and SSLeay.  Don't do
this - use the recent versions, please. I've tried this a few days ago on a
Win32 environment myself and it worked fine with the latest mod_ssl snapshot.
So please start over with these newer versions.

   Ralf S. Engelschall
   [EMAIL PROTECTED]
   www.engelschall.com
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



Problem compiling Apache with mod_ssl on NT

1999-10-20 Thread Chowdhri, Kavita

Hi all
 
I have a problem with the compilation of Apache 1.3.4 with mod-ssl over
Windows NT. I am using Cygnus as the Unix interface and compiling using
VC++. I have been following the instructions as described in the modssl
documentation and am now trying to nmake (a VC++ command) Apache with the
makefile generated for NT. Everything goes fine until I get a linker error,
and I can't seem to figure it out. I am sending the list of instructions I
followed along with an attachment of the output that I obtained with the
nmake command. Any help would be greatly appreciated.
 
Kavita
 
 
1. Make sure CygWin, Perl and the Visual Studio tools are already installed
and available through the commands `gzip', `tar', `perl', `nmake', `cl',
`link', etc. They are needed for configuring SSLeay and mod_ssl and for
building the packages. Additionally a text editor should be available.
We assume `vim' (Vi Improved), but you can use any preferred text editor.
 
NOTE: vim doesn't work under cygwin. 
 
2. Extract the required packages
 
$ gzip -d -c apache_1.3.x.tar.gz | tar xvf - 
$ gzip -d -c mod_ssl-2.1.x-1.3.x.tar.gz | tar xvf - 
$ gzip -d -c SSLeay-0.9.x.tar.gz | tar xvf - 
 
3. Configure and build the SSLeay library. This is a little bit
more complicated than under Unix, because you have to additionally
patch some source files. So be patient while hacking ;-)
o Enter the SSLeay source tree
 
$ cd SSLeay-0.9.0b
 
o Modify $INSTALLTOP in util\mk1mf.pl to fit your preference (e.g.
p:\ssleay)
 
$ vim util\mk1mf.pl
<< $INSTALLTOP="/usr/local/ssl";
>> $INSTALLTOP="p:\ssleay";
 
NOTE: Instead of p:, specify the path where SSLeay has been extracted.
 
o Edit file crypto\bn\bn_mulw.c by changing line 174:
 
$ vim crypto\bn\bn_mulw.c
<< return(ll&BN_MASK2);
>> return(BN_ULONG)(ll&BN_MASK2);
 
o Edit file crypto\des\des.h as following:
 
$ vim include\des.h
<< char *crypt();
>> #ifndef MOD_SSL
>> char *crypt();
>> #endif
 
o Create the all-in-one SSLeay Makefile for building under Win32:
 
$ perl util\mk1mf.pl no-asm dll VC-WIN32 > makefile.win32
 
Note: When you've the Microsoft Assembler (`ml') installed on your
platform you can leave out the `no-asm' option, of course.
 
Trick: Even if you don't the have Microsoft Assembler you still
can make use of the optimized assembler version of the code.
SSLeay distribution comes with some precompiled .asm files. If
you want to use them, create an empty `ml.bat' file and put it
in your %PATH% and leave out the `no-asm'
flag above.
 
o Build the SSLeay package
 
$ nmake /f makefile.win32
 
o Install SSLeay into $INSTALLTOP. You have do this by hand:
(replace p:\ssleay with the path you set $INSTALLTOP to)
 
$ md p:\ssleay 
$ md p:\ssleay\bin
$ md p:\ssleay\lib
$ md p:\ssleay\include
$ copy /b inc32\* p:\ssleay\include
$ copy /b out32dll\ssleay32.lib p:\ssleay\lib
$ copy /b out32dll\libeay32.lib p:\ssleay\lib
$ copy /b out32dll\ssleay32.dll p:\ssleay\bin
$ copy /b out32dll\libeay32.dll p:\ssleay\bin
$ copy /b out32dll\ssleay.exe p:\ssleay\bin
 
NOTE: Again, specify the path instead of p:
 
o Leave the SSLeay source tree
 
$ cd ..
 
o Now put $INSTALLTOP\bin into your %PATH%
(needed because of the DLLs!)
 
SO FAR SO GOOD!!
 
4. Now apply the mod_ssl source extension and source patches to 
the Apache source tree.
 
$ cd mod_ssl-2.1.x-1.3.x
 
$ configure.bat \
--with-apache=..\apache_1.3.x \
--with-ssleay=p:\ssleay
 
$ cd ..
 
5. Build and install the SSL-aware Apache:
 
$ cd apache_1.3.x\src
$ nmake /f Makefile.nt
 
NOTE: This is where I had a significant number of warnings with unmatched
operators. I don't know if that is going to make a difference. E.g.
conversion from double to float- possible loss of data. Signed- unsigned
mismatch.
 
NOTE: While compiling, it couldn't find "ssl.h". This was an include
statement in c:\Program Files\Apache
Group\apache_1.3.4\src\modules\mod_ssl.h on line 81. I just looked for the
include statement (line 81 onwards) and explicitly included the file with
the entire path name such as
 
#include "c:\\progra~1\\apache~1\\ssleay~1.0B\\include\\ssl.h"
The other files under the SSLeay header files were also specified with
absolute paths.
 
The compilation proceeds until the ApacheModuleSSL.dll is being made. I get
an error which says that it can't open the library file when in fact the
file that it is looking for is actually present, i.e.
"..\ssleay~1.0b\lib\ssleay32.lib"
 
The path however is not specified correctly as the file is in "c:\program
files\apache group\ssleay-0.9.0b\lib\ssleay32.lib"
 
$ nmake /f Makefile.nt installr
 
 
Help on the above would be greatly appreciated.
 
 
 
Kavita Chowdhri 
Xerox Corporation 
[EMAIL PROTECTED]  
Off 310-333-8190 
Res 323-766-9339 
 

 Output2.out
 Makefile.nt


Re: Problem compiling Apache with mod_ssl

1999-08-15 Thread Mark Dedlow


Ofer Inbar wrote:

> On Tue, Aug 10, 1999 at 12:00:24PM -0400, I wrote:
> > I'm trying to build Apache 1.3.6 mod_perl and mod_ssl using openssl on
> > a Solaris box.  The relevant version numbers are:
> > 
> > Solaris 2.6
> > Apache 1.3.6
> > mod_perl 1.19
> > mod_ssl 2.3.11
> > openssl 0.9.4
> > gcc 2.8.1
> [...]
> > 
> > That all works fine, and the Apache configure sees both mod_perl and
> > mod_ssl and configures them in.  Then I try to run the Apache make,
> > and it gets as far as building mod_ssl and croaks with this error:
> > 
> > ===> src/modules/ssl
> > gcc -c  -I../../os/unix -I../../include   -DSOLARIS2=260 -DMOD_PERL -DMOD_S
SL=203111 -DEAPI `../../apaci` -DSSL_COMPAT \
> > -DSSL_USE_SDBM -I/src/openssl-0.9.4/include -DMOD_SSL_VERSION=\"2.3.11\" mo
d_ssl.c
> > In file included from mod_ssl.c:65:
> > mod_ssl.h:496: parse error before `AP_MM'
> > mod_ssl.h:496: warning: no semicolon at end of struct or union
> > mod_ssl.h:511: parse error before `}'
> > mod_ssl.h:511: warning: data definition has no type or storage class
> > *** Error code 1
> > make: Fatal error: Command failed for target `mod_ssl.o'
> > 
> > I am not using MM (the load on this server will be very light), and
> > it's not installed on the system.  It looks like mod_ssl.h was
> > expecting a "typedef void AP_MM;" but the header file for it was never
> > included.  I tried running the Apache configure from the Apache
> > directory with the same options, and got the same error when I ran make.
> 
> Nobody has answered so far.
> 
> I wonder, has *anyone* built Apache 1.3.6 with mod_ssl 2.3.x & openssl 0.9.4
> but *without* mm, successfully?  Is it at all possible to do this?  How?

Yes.  But I've also seen the error you're getting.  I think
it's the result of detritus from a previous build.  Getting a
fresh unpacking of everything solved it for me.

This build config works for me:

mod_ssl:

./configure \
"--with-apache=../apache_1.3.6 \
"--disable-rule=SSL_COMPAT" 

apache:

CFLAGS="-fPIC" \
SSL_BASE="/opt/openssl" \
./configure \
"--with-layout=Apache" \
"--enable-module=rewrite" \
"--enable-module=speling" \
"--enable-module=unique_id" \
"--enable-module=info" \
"--enable-module=usertrack" \
"--enable-module=ssl" \
"--enable-shared=max" \
"--activate-module=src/modules/perl/libperl.a" \
"$@"


Mark
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



Re: Problem compiling Apache with mod_ssl

1999-08-15 Thread Ralf S. Engelschall

On Sat, Aug 14, 1999, Ofer Inbar wrote:

> > That all works fine, and the Apache configure sees both mod_perl and
> > mod_ssl and configures them in.  Then I try to run the Apache make,
> > and it gets as far as building mod_ssl and croaks with this error:
> > 
> > ===> src/modules/ssl
> > gcc -c  -I../../os/unix -I../../include   -DSOLARIS2=260 -DMOD_PERL 
>-DMOD_SSL=203111 -DEAPI `../../apaci` -DSSL_COMPAT \
> > -DSSL_USE_SDBM -I/src/openssl-0.9.4/include -DMOD_SSL_VERSION=\"2.3.11\" mod_ssl.c
> > In file included from mod_ssl.c:65:
> > mod_ssl.h:496: parse error before `AP_MM'
> > mod_ssl.h:496: warning: no semicolon at end of struct or union
> > mod_ssl.h:511: parse error before `}'
> > mod_ssl.h:511: warning: data definition has no type or storage class
> > *** Error code 1
> > make: Fatal error: Command failed for target `mod_ssl.o'
> > 
> > I am not using MM (the load on this server will be very light), and
> > it's not installed on the system.  It looks like mod_ssl.h was
> > expecting a "typedef void AP_MM;" but the header file for it was never
> > included.  I tried running the Apache configure from the Apache
> > directory with the same options, and got the same error when I ran make.
> 
> Nobody has answered so far.
> 
> I wonder, has *anyone* built Apache 1.3.6 with mod_ssl 2.3.x & openssl 0.9.4
> but *without* mm, successfully?  Is it at all possible to do this?  How?

Errr I'm really confused why some of you get this error.  I've
double-checked this and Apache 1.3.6 + mod_ssl 2.3.11 compiles fine with and
without MM. Seems like your Apache source tree was not correctly patched. Try
it again with a really _fresh_ Apache source tree and make sure no *.rej files
occur there after applying mod_ssl.
   Ralf S. Engelschall
   [EMAIL PROTECTED]
   www.engelschall.com
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



Re: Problem compiling Apache with mod_ssl

1999-08-14 Thread Ofer Inbar

On Tue, Aug 10, 1999 at 12:00:24PM -0400, I wrote:
> I'm trying to build Apache 1.3.6 mod_perl and mod_ssl using openssl on
> a Solaris box.  The relevant version numbers are:
> 
> Solaris 2.6
> Apache 1.3.6
> mod_perl 1.19
> mod_ssl 2.3.11
> openssl 0.9.4
> gcc 2.8.1
[...]
> 
> That all works fine, and the Apache configure sees both mod_perl and
> mod_ssl and configures them in.  Then I try to run the Apache make,
> and it gets as far as building mod_ssl and croaks with this error:
> 
> ===> src/modules/ssl
> gcc -c  -I../../os/unix -I../../include   -DSOLARIS2=260 -DMOD_PERL -DMOD_SSL=203111 
>-DEAPI `../../apaci` -DSSL_COMPAT \
> -DSSL_USE_SDBM -I/src/openssl-0.9.4/include -DMOD_SSL_VERSION=\"2.3.11\" mod_ssl.c
> In file included from mod_ssl.c:65:
> mod_ssl.h:496: parse error before `AP_MM'
> mod_ssl.h:496: warning: no semicolon at end of struct or union
> mod_ssl.h:511: parse error before `}'
> mod_ssl.h:511: warning: data definition has no type or storage class
> *** Error code 1
> make: Fatal error: Command failed for target `mod_ssl.o'
> 
> I am not using MM (the load on this server will be very light), and
> it's not installed on the system.  It looks like mod_ssl.h was
> expecting a "typedef void AP_MM;" but the header file for it was never
> included.  I tried running the Apache configure from the Apache
> directory with the same options, and got the same error when I ran make.

Nobody has answered so far.

I wonder, has *anyone* built Apache 1.3.6 with mod_ssl 2.3.x & openssl 0.9.4
but *without* mm, successfully?  Is it at all possible to do this?  How?

  --  Cos (Ofer Inbar)  --  [EMAIL PROTECTED]  [EMAIL PROTECTED]
  --  Exodus Professional Services  --  [EMAIL PROTECTED]
 "We all misuse the net for personal gain, one way or another."
-- Larry Wall <[EMAIL PROTECTED]>
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



Problem compiling Apache with mod_ssl

1999-08-10 Thread Ofer Inbar

I'm trying to build Apache 1.3.6 mod_perl and mod_ssl using openssl on
a Solaris box.  The relevant version numbers are:

Solaris 2.6
Apache 1.3.6
mod_perl 1.19
mod_ssl 2.3.11
openssl 0.9.4
gcc 2.8.1
perl 5.005_03


mod_perl configures with no problems, from this:

cd /src/mod_perl-1.19
perl Makefile.PL APACHE_PREFIX=/usr/local/apache \
  APACHE_SRC=../apache_1.3.6/src NO_HTTPD=1 DYNAMIC=1 USE_APACI=1 \
  PERL_MARK_WHERE=1 PERL_STACKED_HANDLERS=1 ALL_HOOKS=1 PERL_SECTIONS=1


openssl configures with no problems, from this:

cd /src/openssl-0.9.4
make -f Makefile.ssl links
./Configure solaris-sparcv8-gcc


I run the Apache configure from mod_ssl as follows:

cd /src/mod_ssl-2.2.8-1.3.6
setenv SSL_BASE /src/openssl-0.9.4
./configure --with-apache=../apache_1.3.6

./configure \
 --with-apache=/src/apache_1.3.6/ \
 --with-ssl=/src/openssl-0.9.4 \
 --with-layout=Apache \
 --enable-module=ssl \
 --enable-module=rewrite \
 --enable-module=perl \
 --enable-module=ssl \
 --enable-rule=SSL_SDBM


That all works fine, and the Apache configure sees both mod_perl and
mod_ssl and configures them in.  Then I try to run the Apache make,
and it gets as far as building mod_ssl and croaks with this error:

===> src/modules/ssl
gcc -c  -I../../os/unix -I../../include   -DSOLARIS2=260 -DMOD_PERL -DMOD_SSL=203111 
-DEAPI `../../apaci` -DSSL_COMPAT \
-DSSL_USE_SDBM -I/src/openssl-0.9.4/include -DMOD_SSL_VERSION=\"2.3.11\" mod_ssl.c
In file included from mod_ssl.c:65:
mod_ssl.h:496: parse error before `AP_MM'
mod_ssl.h:496: warning: no semicolon at end of struct or union
mod_ssl.h:511: parse error before `}'
mod_ssl.h:511: warning: data definition has no type or storage class
*** Error code 1
make: Fatal error: Command failed for target `mod_ssl.o'


I am not using MM (the load on this server will be very light), and
it's not installed on the system.  It looks like mod_ssl.h was
expecting a "typedef void AP_MM;" but the header file for it was never
included.  I tried running the Apache configure from the Apache
directory with the same options, and got the same error when I ran make.

Help?

  --  Cos (Ofer Inbar)  --  [EMAIL PROTECTED]  [EMAIL PROTECTED]
  --  Exodus Professional Services  --  [EMAIL PROTECTED]
 "This may seem a bit weird, but that's okay, because it is weird."
-- Larry Wall in perlref(1) man page, Perl 5.001
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



Re: Problem Compiling

1998-10-02 Thread Ralf S. Engelschall

On Thu, Oct 01, 1998, W. Gregg Roth wrote:

> I am currently trying to set up the Apache 1.3.2 Web Server using the
> following command on an Digital Alpha server running DEC UNIX 4.0D
> 
> When I use the following command:
> 
> ./configure --with-apache=../apache_1.3.2 --with-ssleay=../SSLeay-0.9.0b -
> -with-rsaref=../rsaref-2.0 --prefix=/www/apache_1.3.2
> 
> I get the following result :
> 
>[...]
> /usr/local/src/rsaref-2.0/local/librsaref.a
> collect2: ld returned 1 exit status
> /usr/bin/ld:
> Can't locate file for: -lrsaref
> 
> Please tell me what I have done wrong ?

Nothing. You're just one more guy who falls into the RSAref support bug in
mod_ssl 2.0.11. Puhhh... I should immediately push 2.0.12 out ;-). As a
workaround just add an additional flags to your configure line:
``LDFLAGS="-L/usr/local/src/rsaref-2.0/local/"''. This should work for 2.0.11.
It's fixed in 2.0.12 which is released the next days.

   Ralf S. Engelschall
   [EMAIL PROTECTED]
   www.engelschall.com
__
Apache Interface to SSLeay (mod_ssl)   www.engelschall.com/sw/mod_ssl/
Official Support Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Problem Compiling

1998-10-02 Thread W. Gregg Roth

Hello,

I am currently trying to set up the Apache 1.3.2 Web Server using the
following command on an Digital Alpha server running DEC UNIX 4.0D

When I use the following command:

./configure --with-apache=../apache_1.3.2 --with-ssleay=../SSLeay-0.9.0b -
-with-rsaref=../rsaref-2.0 --prefix=/www/apache_1.3.2

I get the following result :

Configuring for Apache, Version 1.3.2
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
 + configured for DEC OSF/1 platform
 + setting C compiler to gcc
 + setting C pre-processor to gcc -E
 + checking for system header files
 + adding selected modules
o ssl_module uses ConfigStart/End
  + SSL interface: mod_ssl/2.0.11
  + SSL library path: /usr/local/src/SSLeay-0.9.0b
  + SSL library type: source tree only (stand-alone)
  + SSL library version: SSLeay 0.9.0 10-Apr-1998
  + SSL library plugin mode: RSAref (explicitly configured)
  + SSL library plugin path:
/usr/local/src/rsaref-2.0/local/librsaref.a
collect2: ld returned 1 exit status
/usr/bin/ld:
Can't locate file for: -lrsaref

Please tell me what I have done wrong ?

Thank You,
Gregg Roth
Office of Computer Services
Union College

__
Apache Interface to SSLeay (mod_ssl)   www.engelschall.com/sw/mod_ssl/
Official Support Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]