Loading ...
Sorry, an error occurred while loading the content.
 

Re: NSLU with apache 2.2.4, Large File Support

Expand Messages
  • juergen1962111111
    Hi Marcel, thanks for your help. Large File Support works on my NSLU. Juergen
    Message 1 of 7 , Oct 22, 2007
      Hi Marcel,

      thanks for your help. Large File Support works on my NSLU.

      Juergen

      --- In nslu2-general@yahoogroups.com, Marcel Nijenhof <nslu2@...> wrote:
      >
      > On Wed, 2007-09-12 at 22:22 +0200, Marcel Nijenhof wrote:
      > >
      > > Unfortunately i can't recompile apache because of problems with old
      > > versions so it takes some more time to check if i am able to solve
      > > it.
      > >
      >
      > The problem is that apr doesn't support largefiles when cross compiling.
      >
      > I have a patch which updates the versions of "apr", "apr-util" and
      > apache and supports large files. I will wait a few days to commit
      > this patch so that others can have a look at it.
      > I am not sure that this patch won't break other platforms as the
      > unslung.
      >
      >
      > Index: apr.mk
      > ===================================================================
      > --- apr.mk (revision 6841)
      > +++ apr.mk (working copy)
      > @@ -13,7 +13,7 @@
      > # It is usually "zcat" (for .gz) or "bzcat" (for .bz2)
      > #
      > APR_SITE=http://www.apache.org/dist/apr
      > -APR_VERSION=1.2.8
      > +APR_VERSION=1.2.11
      > APR_SOURCE=apr-$(APR_VERSION).tar.bz2
      > APR_DIR=apr-$(APR_VERSION)
      > APR_UNZIP=bzcat
      > @@ -127,6 +127,7 @@
      > apr_cv_process_shared_works=no \
      > ac_cv_file__dev_zero=yes \
      > apr_cv_tcp_nodelay_with_cork=no \
      > + apr_cv_use_lfs64=yes \
      > ./configure \
      > --build=$(GNU_HOST_NAME) \
      > --host=$(GNU_TARGET_NAME) \
      > @@ -135,6 +136,7 @@
      > --libdir=/opt/lib \
      > --disable-static \
      > --enable-layout=GNU \
      > + --enable-lfs \
      > )
      > $(PATCH_LIBTOOL) $(APR_BUILD_DIR)/libtool
      > touch $(APR_BUILD_DIR)/.configured
      > Index: apr-util.mk
      > ===================================================================
      > --- apr-util.mk (revision 6841)
      > +++ apr-util.mk (working copy)
      > @@ -13,7 +13,7 @@
      > # It is usually "zcat" (for .gz) or "bzcat" (for .bz2)
      > #
      > APR_UTIL_SITE=http://www.apache.org/dist/apr
      > -APR_UTIL_VERSION=1.2.8
      > +APR_UTIL_VERSION=1.2.10
      > APR_UTIL_SOURCE=apr-util-$(APR_UTIL_VERSION).tar.bz2
      > APR_UTIL_DIR=apr-util-$(APR_UTIL_VERSION)
      > APR_UTIL_UNZIP=bzcat
      > Index: apache.mk
      > ===================================================================
      > --- apache.mk (revision 6841)
      > +++ apache.mk (working copy)
      > @@ -13,7 +13,7 @@
      > # It is usually "zcat" (for .gz) or "bzcat" (for .bz2)
      > #
      > APACHE_SITE=http://www.apache.org/dist/httpd
      > -APACHE_VERSION=2.2.4
      > +APACHE_VERSION=2.2.6
      > APACHE_SOURCE=httpd-$(APACHE_VERSION).tar.bz2
      > APACHE_DIR=httpd-$(APACHE_VERSION)
      > APACHE_UNZIP=bzcat
      >
      > --
      > marceln
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.