Hi,

Answer to this problem;
http://lists.slug.org.au/archives/slug/2002/04/msg00147.html

----
     * To: "Slug" <slug@xxxxxxxxxxx>
     * Subject: [SLUG] Apache compile problem
     * From: "Simon Bryan" <sbryan@xxxxxxxxxxxxxxx>
     * Date: Fri Apr 5 14:52:03 2002

Hi all,
I have been using Apachetoolbox to compile Apache on a new server, I want to
include PHP, MySql and Postgres support, and all seemed well until I go to
compile Apache where I get:

http_request.c: In function `get_path_info':
http_request.c:191: structure has no member named `execfilename'
http_request.c:191: structure has no member named `execfilename'
http_request.c: In function `directory_walk':
http_request.c:582: structure has no member named `execfilename'
http_request.c:582: structure has no member named `execfilename'
http_request.c:593: structure has no member named `execfilename'
http_request.c:593: structure has no member named `execfilename'
make[3]: *** [http_request.o] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/local/Apachetoolbox/apache_1.3.24/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/Apachetoolbox/apache_1.3.24'
make: *** [build] Error 2


and I have no idea about the cause of this, so any help appreciated.

_________________________________________

Simon Bryan
IT Manager - OLMC Parramatta
ICQ#:137562751
http://www.olmc.nsw.edu.au
________________________________________

-----


http://www.monkey.org/openbsd/archive/misc/0202/msg01965.html

--------------------------------
     * To: Steve Wingate <[EMAIL PROTECTED]>
     * Subject: Re: Frontpage 2002 + OpenBSD-current, Apache 1.3.23
     * From: Dan Harnett <[EMAIL PROTECTED]>
     * Date: Tue, 26 Feb 2002 12:55:39 -0500
     * Cc: [EMAIL PROTECTED]
     * References: <[EMAIL PROTECTED]>

On 25 Feb 2002 15:27:37 -0800
Steve Wingate <[EMAIL PROTECTED]> wrote:

 > Has anyone configured OpenBSD current's builtin Apache 1.3.23 to work
 > with Frontpage 2002 extensions? The mod_frontpage port uses FP 2000
 > extensions.
 > I tried following this link
 > > http://archives.neohapsis.com/archives/openbsd/2001-06/1794.html

The patch included with the Frontpage 2002 extensions is for Apache
1.3.19.  It does not apply cleanly against 1.3.23.  You should have seen
the following when applying the patch:

  The text leading up to this was:
  --------------------------
  |--- ./src/include/httpd.h.rtr  Mon Feb 26 07:18:42 2001
  |+++ ./src/include/httpd.h      Mon Feb 26 07:21:15 2001
  --------------------------
  Patching file ./src/include/httpd.h using Plan A...
  Hunk #1 failed at 800.
  1 out of 1 hunks failed--saving rejects to ./src/include/httpd.h.rej

Just add this patch and you should be all set.

--- src/include/httpd.h.orig    Tue Feb 26 12:38:02 2002
+++ src/include/httpd.h Tue Feb 26 12:36:56 2002
@@ -839,6 +839,7 @@

      char *unparsed_uri;               /* the uri without any parsing performed */
      char *uri;                        /* the path portion of the URI */
+    char *execfilename;                /* physical filename to exec */
      char *filename;           /* filename if found, otherwise NULL */
      char *path_info;
      char *args;                       /* QUERY_ARGS, if any */


------------------------------


Just add "char *execfilename;           /* physical filename to exec */"  to the 
"httpd.h" file 
next to char "*filename;".
The problem is solved at least it is compiling

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to