Re: [Win32] compiling Apache 2.1.0-dev: missing sslc.h

2003-03-16 Thread Juergen Heckel
MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1) wrote:
I tried -DHAVE_OPENSSL as compiler argument in the program 
settings with no success.
Let me see if there are any other options.

Hi,
I found it :-)
I have to set HAVE_OPENSSL=1 in the MS Visual C++ 6.0 compiler in the 
"project setings" under "program arguments" and of course saving the new 
project settings.

Regards
--
Juergen Heckel


Re: [Win32] compiling Apache 2.1.0-dev: missing sslc.h

2003-03-15 Thread Juergen Heckel
MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1) wrote:
1. Please re-run buildconf before you start the configure [I hope you did it
earlier also].
Hi,
thank you for your answer.
Excuse my ignorance, I am not a C programmer I only can start Microsoft 
Visual C++ 6.0 compiler so I never run buildconf :-(

2. Verify, after the configure, you should have the -DHAVE_OPENSSL flag set
to '1' in the ap_config_auto.h
I searched for this file to change this flag but I cannot find the file, 
only a acconfig.h with a
/* Define this if we are building with OpenSSL */
#undef HAVE_OPENSSL
but changing this flag doesn't help.

3. If not, pl. set "-DHAVE_OPENSSL" in your compile flags, AND please let me
know.
I tried -DHAVE_OPENSSL as compiler argument in the program settings with 
no success.
So none of your tips does help me :-(

Regards
--
Juergen Heckel


Re: [Win32] compiling Apache 2.1.0-dev: missing sslc.h

2003-03-15 Thread Juergen Heckel
Cliff Woolley wrote:
On Sat, 15 Mar 2003, Juergen Heckel wrote:

Where should I search for this file?
You shouldn't need it. That's a bug.
Fine, thank you.

Regards
--
Juergen Heckel


[Win32] compiling Apache 2.1.0-dev: missing sslc.h

2003-03-14 Thread Juergen Heckel
Hi,
I cannot compile the latest snapshots (with OpenSSL 0.9.7a) without errors:
-Configuration: mod_ssl - Win32 Release
Generating ssl_expr_parse.c/.h from ssl_expr_parse.y
Compiling...
ssl_expr_parse.c
F:\Projects\MSVC\httpd-2.0\modules\ssl\ssl_toolkit_compat.h(139) : fatal 
error C1083: Cannot open include file: 'sslc.h': No such file or directory

Where should I search for this file?

Regards
--
Juergen Heckel


Re: [Win32] compile errors in xlate.c

2003-01-11 Thread Juergen Heckel
Sebastian Bergmann wrote:

Juergen Heckel wrote:

since 2 or three days I get the following compile errors:


  Current HEAD builds fine for me on Win32.



Hi,
thank you.
I found it: my apr-iconv was three days to old :-(
--
Juergen Heckel



[Win32] compile errors in xlate.c

2003-01-11 Thread Juergen Heckel
Hi,
since 2 or three days I get the following compile errors:
...
xlate.c
F:\Projects\MSVC\httpd-2.0\srclib\apr-util\xlate\xlate.c(102) : error 
C2061: syntax error : identifier 'apr_iconv_t'
F:\Projects\MSVC\httpd-2.0\srclib\apr-util\xlate\xlate.c(104) : error 
C2059: syntax error : '}'
F:\Projects\MSVC\httpd-2.0\srclib\apr-util\xlate\xlate.c(125) : error 
C2037: left of 'ich' specifies undefined struct/union 'apr_xlate_t'
F:\Projects\MSVC\httpd-2.0\srclib\apr-util\xlate\xlate.c(125) : error 
C2065: 'apr_iconv_t' : undeclared identifier
F:\Projects\MSVC\httpd-2.0\srclib\apr-util\xlate\xlate.c(126) : error 
C2037: left of 'ich' specifies undefined struct/union 'apr_xlate_t'
F:\Projects\MSVC\httpd-2.0\srclib\apr-util\xlate\xlate.c(126) : error 
C2037: left of 'pool' specifies undefined struct/union 'apr_xlate_t'
F:\Projects\MSVC\httpd-2.0\srclib\apr-util\xlate\xlate.c(126) : error 
C2198: 'apr_iconv_close' : too few actual parameters
F:\Projects\MSVC\httpd-2.0\srclib\apr-util\xlate\xlate.c(192) : error 
C2037: left of 'ich' specifies undefined struct/union 'apr_xlate_t'


After replacing the xlate.c with an older version all is ok again.
--
Juergen Heckel


Re: [Win32]: Apache 2.1 crashes in libapr.dll and libaprutil.dll

2002-11-30 Thread Juergen Heckel
Sebastian Bergmann wrote:

Juergen Heckel wrote:

since v2.1.0 Apache crashes at every start


  This is odd, since it works fine here (built from CVS on November, 26).



Hi,
thank you.
I have this problem on 3 PC with the same configuration:-(
So I unloaded one module after another and found the mod_ssl.so as the 
culprit. I re-compiled the openssl-0.9.6g again with Perl 5.8 and MSVC 6 
(and of course Apache2) but I still get the exeptions with mod_ssl.


Juergen
--
Juergen Heckel


[Win32]: Apache 2.1 crashes in libapr.dll and libaprutil.dll

2002-11-30 Thread Juergen Heckel
Hi,
since v2.1.0 Apache crashes at every start with an
"unhandled exception error in apache.exe (libapr.dll):0xC005: Access 
violation".
I can compile the latest snapshots with 0 errors and 0 warnings.

If I exchange the libapr.dll with one from a v2.044-dev then Apache 
starts. But later when I want to access a html-page I get another 
exception in libaprutil.dll. Apache runs into 100% CPU load and in the 
error.log I can see many
[notice] Parent: child process exited with status 3221225477 -- Restarting.
until I stop Apache.

So since one week after compiling a new snapshot i have to exchange 
these dlls and I don't know why:-(

Juergen


Re: [Win32] compile error mod_isapi.c

2002-11-11 Thread Juergen Heckel
William A. Rowe, Jr. wrote:

Fixed, thank you for the report Juergen!


Hi,
thank you, it's ok now:-)

Juergen



[Win32] compile error mod_isapi.c

2002-11-10 Thread Juergen Heckel
Hi,

with the latest snapshots I get a compiler error:

Compiling...
mod_isapi.c
F:\Projects\MSVC\httpd-2.0\modules\arch\win32\mod_isapi.c(895) : error 
C2065: 'rv' : undeclared identifier
F:\Projects\MSVC\httpd-2.0\modules\arch\win32\mod_isapi.c(1501) : error 
C2065: 'comp' : undeclared identifier
F:\Projects\MSVC\httpd-2.0\modules\arch\win32\mod_isapi.c(1501) : 
warning C4047: 'function' : 'struct apr_thread_mutex_t *' differs in 
levels of indirection from 'int '
F:\Projects\MSVC\httpd-2.0\modules\arch\win32\mod_isapi.c(1501) : 
warning C4024: 'apr_thread_mutex_lock' : different types for formal and 
actual parameter 1
Error executing cl.exe.


Juergen


Re: [Win32] Compiling error missing apr-iconv.h

2002-07-23 Thread Juergen Heckel

Juergen Heckel wrote:
>
> Jeff Trawick wrote:
>>
>> set CVSROOT=:pserver:[EMAIL PROTECTED]:/home/cvspublic
>> cvs login
>>   (reply with "anoncvs" without the quotation marks for password)
>> cvs co apr-iconv
>>
> F:\>cvs login
> Logging in to :pserver:[EMAIL PROTECTED]:2401/home/cvspublic
> CVS password:
> cvs login: failed to open c:/.cvspass for reading: No such file or
> directory


Hi,
I solved this problem:-)
I created an empty file .cvspass on c:\ and now I could download all
apr-iconv files.
After compiling Apache I had to copy libapriconv.dll manually to
apache2\bin.

Again thank you for your help.

Juergen



Re: [Win32] Compiling error missing apr-iconv.h

2002-07-23 Thread Juergen Heckel

Jeff Trawick wrote:
>
> set CVSROOT=:pserver:[EMAIL PROTECTED]:/home/cvspublic
> cvs login
>   (reply with "anoncvs" without the quotation marks for password)
> cvs co apr-iconv
>


Thank you, but again no luck:

F:\>cvs login
Logging in to :pserver:[EMAIL PROTECTED]:2401/home/cvspublic
CVS password:
cvs login: failed to open c:/.cvspass for reading: No such file or
directory
cvs [login aborted]: fatal error: exiting


Another idea?


Juergen



Re: [Win32] Compiling error missing apr-iconv.h

2002-07-23 Thread Juergen Heckel

"johannes m. richter" wrote:
>
>> Do I need username/password? Can you help me?
>
> Perhaps http://httpd.apache.org/dev/anoncvs.txt helps?

Hi,
thank you, but this seems to be unix stuff. 
It's too complicate for a windows user.

The people at cvs.apache.org should make the apr-iconv directory
available to all.


Juergen



Re: [Win32] Compiling error missing apr-iconv.h

2002-07-23 Thread Juergen Heckel

Jerry Baker wrote:
>
>> F:\Projects\MSVC\httpd-2.0\srclib\apr-util\xlate\xlate.c(83) : fatal
>> error C1083: Cannot open include file: 'apr_iconv.h': No such file or directory
>
> There is now an additional module you have to checkout from CVS. In
> addition to http-2.0, apr, and apr-util, you need to check out
> apr-iconv. I use the following:
>
> cvs -z3 co httpd-2.0
> cd httpd-2.0\srclib
> cvs -z3 checkout apr
> cvs -z3 checkout apr-util
> cvs -z3 checkout apr-iconv

Hi,
thank you.
1. Why is no /apr-iconv directory on cvs.apache.org/snapshots? I have a
perl script to fetch the latest tarballs but I cannot find this new
modules.

2. With your suggestions above I have no luck too:
cvs -z3 co httpd-2.0
> cvs.apache.org:connection refused.
rsh: Connection could not established.  (translated from German)
cvs [checkout aborted]: end of file from server (consult above messages
if any)

I tried 
set CVSROOT=cvs.apache.org/snapshots and
set CVSROOT=cvs.apache.org/viewcvs.cgi

Do I need username/password? Can you help me?


Juergen



[Win32] Compiling error missing apr-iconv.h

2002-07-22 Thread Juergen Heckel

Hi,
since 6 days I can't compile the latest snapshots:-(
I get the following error:


apr_uri.c
xlate.c
F:\Projects\MSVC\httpd-2.0\srclib\apr-util\xlate\xlate.c(83) : fatal
error C1083: Cannot open include file: 'apr_iconv.h': No such file or
directory
apr_xml.c
Generating Code...
Error executing cl.exe.

Apache.exe - 1 error(s), 5 warning(s)

Juergen



[Win32] Apache 2.0.40-dev error compiling latest snapshots (mod_perl)

2002-07-07 Thread Juergen Heckel

Hi,
another compiler error (the last one):

since 05.07.2002 compiling mod_perl gives the following errors:

F:/Projects/MSVC/modperl-2.0/xs\APR/Table/APR__Table.h(73) : error
C2037: left of 'a' specifiesundefined struct/union 'apr_table_t'
F:/Projects/MSVC/modperl-2.0/xs\APR/Table/APR__Table.h(73) : error
C2198: 'apr_hash_make' :
   too few actual parameters

After a long search through many files I replaced (because I don't
understand C++) the apache2\include\apr_tables.h with an older version
and now mod_perl compiles without an error.


Juergen



Re: [Win32] Apache 2.0.40-dev error compiling latest snapshots

2002-07-07 Thread Juergen Heckel

Brian Pane wrote:
>
> On Sat, 2002-07-06 at 23:31, Sebastian Bergmann wrote:
>> Brian Pane wrote:
>>> It may be unsafe to cast to a long when the arg is a "%qd".  How
>>> about this:
>>
>>  Compiles as well :)
>
> Thanks, I've just committed the change.
> --Brian

Hi,
fine, thank you.

Juergen


PS. The next compiling problem follows:-)



[Win32] Apache 2.0.40-dev error compiling latest snapshots

2002-07-06 Thread Juergen Heckel

Hi,
since 3 days I cannot compile the latest snapshots without an error:

ab.c
F:\Projects\MSVC\httpd-2.0\support\ab.c(831) : warning C4244: '=' :
conversion from 'double ' to 'float ', possible loss of data
F:\Projects\MSVC\httpd-2.0\support\ab.c(1104) : error C2632: 'long'
followed by 'long' is illegal
F:\Projects\MSVC\httpd-2.0\support\ab.c(1105) : error C2632: 'long'
followed by 'long' is illegal
Error executing cl.exe.

Apache.exe - 2 error(s), 3 warning(s)

Replacing the ab.c with an older version solves this little problem.


Juergen



Re: Problems with Apache 2.0.3.x as service on WinXP

2002-06-11 Thread Juergen Heckel

"William A. Rowe, Jr." wrote:
>
>> Syntax error:  path is invalid.
>> Syntax error: DocumentRoot must be a directory
>
> I will give you that this _IS_ a problem.  That's like the system
> responding that
>  is invalid, while of course it is just fine.
>
> Will research by tonight, perhaps this can be fixed by .38 :-)


Hi,
fine, I'm waiting for a solution since v2.0.32:-(

If you would send me one or two diffs I can test it for you.
Again, this problem occures only on WinXP and Apache startet as service,
with Win2000 there is all OK.

Juergen



Re: Problems with Apache 2.0.3.x as service on WinXP

2002-06-09 Thread Juergen Heckel

"William A. Rowe, Jr." wrote:
>
> Juergen,
>
>Yes,  isn't even a path.  Try .  Same
> for DocumentRoot.  "r:" says "The current working directory, on r:" which
> is absolutely meaningless for a service (and too vague for general practice.)
>

Hi,
thank you,
but this does not solve the problem with Apache:
Syntax error:  path is invalid.
Syntax error: DocumentRoot must be a directory

I tried of course all combinations ( R:, R:/, R:\, r:, r:/, r:\). 
Only local drives will be accepted.
This worked until Apache v2.0.32 AND works on a Win2000 server as
service!

I searched in core.c, but it is useless for me to find anything there:-(



Juergen



Problems with Apache 2.0.3.x as service on WinXP

2002-06-09 Thread Juergen Heckel

Hi,
I have since v2.0.32 these two problems despite of the newest patches:

"Fix the working directory *for WinNT/2K/XP services only* to
change to the Apache directory (one level above the location 
of Apache.exe, in the case that Apache.exe resides in bin/.)
Solves the case of ServerRoot /foo paths where /foo was not
on the same drive as /winnt/system32.  [William Rowe]"

First, 
I'm the admin, the Apache service has admin rights, no problems when
Apache runs as console app., and no problem when Apache runs as service
on a Win2000 server; only XP makes troubles.

1. If Directory points to a mapped network drive (e.g. R:) the service
does not start:
   Syntax error:  path is invalid.

2. If DocumentRoot points to a mapped network drive (e.g. R:) the
service does not start:
   Syntax error: DocumentRoot must be a directory.


UNC-names are accepted instead of the mapped drives (local drives are ok
too), 
but now mod_perl.so does not load: 
The Apache service named  reported the following error:
>>> Cannot load F:/Apache2/modules/mod_perl.so into server: The module was not found.  
and PHP has similar problems.
Therefore I have to use mapped drivenames.


Juergen



Re: [PATCH] Discussion of apache -k start -n apache2 problem...

2002-06-05 Thread Juergen Heckel

Bill Stoddard wrote:
>
> This patch allows apache -k start -n apache2 to start the server.  This is certainly 
>not
> the correct fix but it should illustrate the problem for someone more familier with 
>the
> services code.  The problem (step-by-step):
>

Hi,
thank you.
This patch works for me:-)

Juergen



[Win32] Apache 2.0.37dev: OpenSSL problems

2002-06-03 Thread Juergen Heckel

Hi,
since several snapshots Apache crashes when I want to access
https://localhost.
I have the latest (self compiled) OpenSSL-Library 0.9.6d.

error.log:
[info] Init: Initializing OpenSSL library
[info] Init: Seeding PRNG with 136 bytes of entropy
[info] Loading certificate & private key of SSL-aware server
[info] Init: Generating temporary RSA private keys (512/1024 bits)
[info] Init: Generating temporary DH parameters (512/1024 bits)
[info] Init: Initializing (virtual) servers for SSL
[info] Configuring server for SSL protocol
[info] Server: Apache/2.0.37-dev, Interface: mod_ssl/2.0.37-dev,
Library: OpenSSL/0.9.6d
[info] Init: Initializing OpenSSL library
[info] Init: Seeding PRNG with 136 bytes of entropy
[info] Loading certificate & private key of SSL-aware server
[info] Init: Generating temporary RSA private keys (512/1024 bits)
[info] Init: Generating temporary DH parameters (512/1024 bits)
[info] Init: Initializing (virtual) servers for SSL
[info] Configuring server for SSL protocol
[info] Server: Apache/2.0.37-dev, Interface: mod_ssl/2.0.37-dev,
Library: OpenSSL/0.9.6d
[notice] Parent: Created child process 1976
Using f:/Apache2/blib
Init: Initializing OpenSSL library
[info] Init: Seeding PRNG with 136 bytes of entropy
[info] Loading certificate & private key of SSL-aware server
[info] Init: Generating temporary RSA private keys (512/1024 bits)
[info] Parent: Duplicating socket 1960 and sending it to child process
1976
[info] Parent: Duplicating socket 1952 and sending it to child process
1976
[info] Init: Generating temporary DH parameters (512/1024 bits)
[info] Init: Initializing (virtual) servers for SSL
[info] Configuring server for SSL protocol
[info] Server: Apache/2.0.37-dev, Interface: mod_ssl/2.0.37-dev,
Library: OpenSSL/0.9.6d
[info] Init: Initializing OpenSSL library
[info] Init: Seeding PRNG with 136 bytes of entropy
[info] Loading certificate & private key of SSL-aware server
[info] Init: Generating temporary RSA private keys (512/1024 bits)
[info] Init: Generating temporary DH parameters (512/1024 bits)
[info] Init: Initializing (virtual) servers for SSL
[info] Configuring server for SSL protocol
[info] Server: Apache/2.0.37-dev, Interface: mod_ssl/2.0.37-dev,
Library: OpenSSL/0.9.6d
[notice] Child 1976: Child process is running
[notice] Child 1976: Acquired the start mutex.
[notice] Child 1976: Starting 50 worker threads.
[info] Connection to child 49 established (server wsxp:443, client
172.16.10.10)
[info] Seeding PRNG with 0 bytes of entropy
[notice] Parent: child process exited with status 3221225477 --
Restarting.  <
[info] Init: Initializing OpenSSL library


I never had this problem before.


Juergen



Re: [Win32]: apache -k start broken

2002-05-28 Thread Juergen Heckel

Jeff Trawick wrote:
>
>>> since two days (the latest 2.0.37-dev) the command line option "apache
>>> -k start" seems to be broken: the apache server responds with unkown
>>> option. "Net start apache2" works as before.
>
> A little bird told me the other day that some windows code leaves a
> dummy "" arg on the command-line when it gets back from the
> rewrite_args hook, and that this patch of mine to complain if there is
> extraneous crap on the command-line catches the "".  (I cannot confirm
> this diagnosis personally.)

Hi,
thank you. 
The last snapshot which worked was from 22.05.2002.

If I change the following line in main.c (introduced since 23.05.2002)
if (rv != APR_EOF || opt->ind < opt->argc) { 

back to the previous line
if (rv != APR_EOF) { 

all is ok again. I can compile but I don't understand C++:-(

I hope this will be fixed soon.

Juergen



Re: [Win32]: apache -k start broken

2002-05-28 Thread Juergen Heckel

Juergen Heckel wrote:
>
> Hi,
> since two days (the latest 2.0.37-dev) the command line option "apache
> -k start" seems to be broken: the apache server responds with unkown
> option. "Net start apache2" works as before.
>
> Juergen

Hi,
no solution, no answer here?


Juergen



[Win32]: apache -k start broken

2002-05-26 Thread Juergen Heckel

Hi,
since two days (the latest 2.0.37-dev) the command line option "apache
-k start" seems to be broken: the apache server responds with unkown
option. "Net start apache2" works as before.


Juergen