You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Gomez Henri <ne...@slib.fr> on 2001/01/31 18:21:34 UTC
apache 2.0 build and problem.
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 ;-)
Re: apache 2.0 build and problem.
Posted by Jeff Trawick <tr...@bellsouth.net>.
Jeff Trawick <tr...@bellsouth.net> writes:
> "Gomez Henri" <ne...@slib.fr> writes:
>
> > # mod_include shared -> apr_get_username unknown
> > # mod_userdir shared -> apr_get_home_directory unknown
> > # mod_rewrite shared -> apr_get_home_directory unknown
>
> This is due to the inability of srclib/apr/helpers/make_export.awk to
> parse apr_user.h.
This was resolved in the last couple of minutes. I checked in Brian
Havard's fix to make_export.awk.
--
Jeff Trawick | trawickj@bellsouth.net | PGP public key at web site:
http://www.geocities.com/SiliconValley/Park/9289/
Born in Roswell... married an alien...
Re: apache 2.0 build and problem.
Posted by Jeff Trawick <tr...@bellsouth.net>.
"Gomez Henri" <ne...@slib.fr> writes:
> Hi,
>
> As of CVS 2001/01/29, build of some module as shared failed :
>
> # dav shared -> compilation fail
I dunno
> # mod_include shared -> apr_get_username unknown
> # mod_userdir shared -> apr_get_home_directory unknown
> # mod_rewrite shared -> apr_get_home_directory unknown
This is due to the inability of srclib/apr/helpers/make_export.awk to
parse apr_user.h.
>
> 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
Did you have APACHE_XLATE defined when building charset_lite? I guess
enabling charset_lite should ensure that APACHE_XLATE gets turned on.
If this isn't the problem, can you post the compile failure? It
compiles for me.
For the rest, I see the many compile warnings and errors :( I don't
know how much of it is expected to work even if it would compile...
--
Jeff Trawick | trawickj@bellsouth.net | PGP public key at web site:
http://www.geocities.com/SiliconValley/Park/9289/
Born in Roswell... married an alien...
Re: apache 2.0 build and problem.
Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
"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" <jf...@fujitsu-siemens.com>
> To: <ne...@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"
> >
> >
> >
Re: apache 2.0 build and problem.
Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
I'm -1 on this approach. Fix the build system, not the sources.
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" <jf...@fujitsu-siemens.com>
To: <ne...@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"
>
>
>
Re: apache 2.0 build and problem.
Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
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