httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: [users@httpd] Access Violation (page fault in libapr.dll) when running Apache 2.0.44 on windows 98.
Date Fri, 21 Feb 2003 15:30:58 GMT
At 08:31 AM 2/21/2003, Sukhwinder Singh wrote:
>Hi,
> I tried to compile Apache 2.0.44 on Windows 98 using MS Visual C++ 6.0. I
>was able to compile all versions of Apache prior to version 2.0.44 without
>any problem. But this version has many problems:
>1. First when I try to open Apache.dsw following projects are missing:
>
>Do I need to download something other than downloading httpd-2.0.44.tar.gz?

We explicitly state that win32 users should grab httpd-2.0.44-win32-src.zip
for exactly these sorts of reasons.  BUT...

>I made a change in httpd-2.0.44\srclib\apr-util\include\apu.h I changed:
>#define APU_HAVE_APR_ICONV     1
>to
>#define APU_HAVE_APR_ICONV     0

That is the correct workaround :-)

>Then when I double click Apache.exe (after copying required modules and
>httpd.conf etc) following error is displayed:
>
>APACHE caused an invalid page fault in
>module LIBAPR.DLL at 017f:6eed96ae.
>What is the problem here? and why four projects missing in workspace?

Well... stay focused, the problem here has nothing to do with the missing
projects that were in the win32-src.zip flavor :-)

The segfault is very simple, we blew it.  That is, we didn't cover our bases
with Win9x when .44 was released.  It will be fixed in .45, but for the
impatient, just replace the file srclib/apr/time/win32/time.c with

http://cvs.apache.org/viewcvs.cgi/*checkout*/apr/time/win32/time.c?rev=HEAD&content-type=text/plain

and you should no longer segfault due to missing WinNT functions on 9x.

>3. If I use InstallBin project it fails many times because of missing
>apriconv related files. I was able to compile it after removing referneces
>to it from many files.

Right.  Really easier if you work with recommended source packages
instead of fighting .tar.gz files.

At some point, the apr-iconv tree may also be included with the Unix tarball,
but nobody has really signed off that it would work right now.  That side
of the apr-iconv make system hasn't gotten nearly as much attention, since
Unix can easily include/exclude iconv support using ./configure.

Bill 


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


Mime
View raw message