httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jean-frederic clere <jfrederic.cl...@fujitsu-siemens.com>
Subject Re: apache 2.0 build and problem.
Date Fri, 02 Feb 2001 09:47:19 GMT
"William A. Rowe, Jr." wrote:
> 
> I'm -1 on this approach.  Fix the build system, not the sources.

Agreed, the build system is broken - So it must be fixed:
+++
dnl modules enabled in this directory by default
 
APACHE_MODPATH_INIT(dav/fs)
 
dav_fs_objects="mod_dav_fs.lo dbm.lo lock.lo repos.lo"
 
dnl ### we want to default this based on whether dav is being used...
dnl ### but there is no ordering to the config.m4 files right now...
APACHE_MODULE(dav_fs, DAV provider for the filesystem, $dav_fs_objects,
, no)
 
APACHE_MODPATH_FINISH                                                           
+++
This produces:
+++
-rw-r--r--   1 apache20 users          10 Feb  2 09:53 dbm.lo
-rw-r--r--   1 apache20 users          10 Feb  2 09:53 lock.lo
-rw-r--r--   1 apache20 users       53368 Feb  2 09:53 mod_dav_fs.lo
-rw-r--r--   1 apache20 users          10 Feb  2 09:53
repos.lo                 
+++

Is someone already on the problem?


Cheers

Jean-frederic

> 
> Note that a user compiling mod_dav_foobar against apacheroot/include
> and apacheroot/lib|modules|libexec will die a horrid death with this patch.
> 
> Bill
> 
> ----- Original Message -----
> From: "jean-frederic clere" <jfrederic.clere@fujitsu-siemens.com>
> To: <new-httpd@apache.org>
> Sent: Thursday, February 01, 2001 10:27 AM
> Subject: Re: apache 2.0 build and problem.
> 
> > Hi,
> >
> > For Mod_dav - I have applied the included patch - It compiles now, but
> > does not link yet (at least on my machine).
> >
> > Cheers
> >
> > Jean-frederic
> >
> > Gomez Henri wrote:
> > >
> > > Hi,
> > >
> > > As of CVS 2001/01/29, build of some module as shared failed :
> > >
> > > # dav shared -> compilation fail
> > > # mod_include shared -> apr_get_username unknown
> > > # mod_userdir shared -> apr_get_home_directory unknown
> > > # mod_rewrite shared -> apr_get_home_directory unknown
> > >
> > > The following make compilation failed both in static or shared
> > >
> > > # --enable-charset_lite --enable-cache --enable-disk-cache --enable-generic-
> > > hook-export --enable-generic-hook-import
> > > # --enable-proxy
> > >
> > > Also I'm completly stuck with the apxs from 2.0.
> > >
> > > Part of my commiter job on jakarta project, is to
> > > adapt the mod_jk (tomcat connector) from a old alpha
> > > of Apache 2.0 to the updated from CVS but :
> > >
> > >  apxs seems to fail when multiple .c are given.
> > > You could find attached the Makefile I use and the LOG.
> > >
> > > THANKS BY ADVANCE FOR YOU LIGHTS :-)
> > >
> > > PS: For those of you interested you could also find attached the .spec file
> > > I used to build the apache 2.0 RPM ;-)
> > >
> > >   ------------------------------------------------------------------------
> > >           Name: LOG
> > >    LOG    Type: unspecified type (application/octet-stream)
> > >       Encoding: quoted-printable
> > >
> > >                           Name: apache-2.0-cvs.spec
> > >    apache-2.0-cvs.spec    Type: unspecified type (application/octet-stream)
> > >                       Encoding: quoted-printable
> > >
> > >                      Name: Makefile.linux
> > >    Makefile.linux    Type: unspecified type (application/octet-stream)
> > >                  Encoding: quoted-printable
> 
> --------------------------------------------------------------------------------
> 
> > ? patch.jfc
> > Index: dbm.c
> > ===================================================================
> > RCS file: /home/cvs/apache/httpd-2.0/modules/dav/fs/dbm.c,v
> > retrieving revision 1.14
> > diff -u -r1.14 dbm.c
> > --- dbm.c 2001/01/24 10:24:03 1.14
> > +++ dbm.c 2001/02/01 17:17:45
> > @@ -72,7 +72,7 @@
> >
> >  #include "apr_dbm.h"
> >
> > -#include "mod_dav.h"
> > +#include "../main/mod_dav.h"
> >  #include "repos.h"
> >
> >  struct dav_db {
> > Index: lock.c
> > ===================================================================
> > RCS file: /home/cvs/apache/httpd-2.0/modules/dav/fs/lock.c,v
> > retrieving revision 1.13
> > diff -u -r1.13 lock.c
> > --- lock.c 2001/01/20 21:42:17 1.13
> > +++ lock.c 2001/02/01 17:17:47
> > @@ -64,7 +64,7 @@
> >  #include "httpd.h"
> >  #include "http_log.h"
> >
> > -#include "mod_dav.h"
> > +#include "../main/mod_dav.h"
> >  #include "repos.h"
> >
> >
> > Index: mod_dav_fs.c
> > ===================================================================
> > RCS file: /home/cvs/apache/httpd-2.0/modules/dav/fs/mod_dav_fs.c,v
> > retrieving revision 1.13
> > diff -u -r1.13 mod_dav_fs.c
> > --- mod_dav_fs.c 2001/01/19 07:04:16 1.13
> > +++ mod_dav_fs.c 2001/02/01 17:17:48
> > @@ -55,7 +55,7 @@
> >  #include "httpd.h"
> >  #include "http_config.h"
> >
> > -#include "mod_dav.h"
> > +#include "../main/mod_dav.h"
> >  #include "repos.h"
> >
> >  /* per-server configuration */
> > Index: repos.c
> > ===================================================================
> > RCS file: /home/cvs/apache/httpd-2.0/modules/dav/fs/repos.c,v
> > retrieving revision 1.47
> > diff -u -r1.47 repos.c
> > --- repos.c 2001/01/31 22:45:10 1.47
> > +++ repos.c 2001/02/01 17:17:52
> > @@ -69,7 +69,7 @@
> >  #include "http_protocol.h" /* for ap_set_* (in dav_fs_set_headers) */
> >  #include "http_request.h"       /* for ap_update_mtime() */
> >
> > -#include "mod_dav.h"
> > +#include "../main/mod_dav.h"
> >  #include "repos.h"
> >
> >
> >

Mime
View raw message