Re: problems installing with make

Brian Aker <[email protected]> Thu, 11 Mar 2004 17:21:07 -0800
Newsgroups gmane.comp.apache.mod-layout
Message-ID <[email protected]>
You need to be using the Apache 2.0 version.

    -Brian

On Mar 11, 2004, at 3:10 PM, Cosas minovela wrote:

> hello,
> i'm trying to install mod_layout on apache 1.3.29 under redhat 9 but i 
> ever got this error:
>  
> [root@plain mod_layout-3.2.1]# make
> `apxs -q CC` -I`apxs -q INCLUDEDIR` `apxs -q CFLAGS`   -c mod_layout.c 
> -Wall -DDEBUG 
> In file included from mod_layout.h:16,
>                  from mod_layout.c:6:
> /usr/include/httpd/buff.h:116: parse error before "ap_pool"
> /usr/include/httpd/buff.h:116: warning: no semicolon at end of struct 
> or union
> /usr/include/httpd/buff.h:136: parse error before '}' token
> /usr/include/httpd/buff.h:151: parse error before "ap_bcreate"
> /usr/include/httpd/buff.h:151: parse error before '*' token
> /usr/include/httpd/buff.h:151: warning: type defaults to `int' in 
> declaration of `ap_bcreate'
> /usr/include/httpd/buff.h:151: warning: data definition has no type or 
> storage class
> /usr/include/httpd/buff.h:152: parse error before "ap_bpushfd"
> /usr/include/httpd/buff.h:152: warning: type defaults to `int' in 
> declaration of `ap_bpushfd'
> /usr/include/httpd/buff.h:152: warning: data definition has no type or 
> storage class
> /usr/include/httpd/buff.h:156: parse error before "ap_bsetopt"
> /usr/include/httpd/buff.h:156: warning: type defaults to `int' in 
> declaration of `ap_bsetopt'
> /usr/include/httpd/buff.h:156: warning: data definition has no type or 
> storage class
> .......
>  
>  
> mod_layout.c:879: warning: (near initialization for `layout_module')
> mod_layout.c:880: warning: excess elements in scalar initializer
> mod_layout.c:880: warning: (near initialization for `layout_module')
> mod_layout.c:888: warning: excess elements in scalar initializer
> mod_layout.c:888: warning: (near initialization for `layout_module')
> mod_layout.c:888: warning: data definition has no type or storage class
> make: *** [mod_layout.o] Error 1
> i know that this error was explained on another post, but i tried to 
> download cvs and when i make, i got more errors.
>  
> could anyone help me please ?
>