Re: problems installing with make

Brian Aker <[email protected]> Fri, 12 Mar 2004 18:41:35 +0900
Newsgroups gmane.comp.apache.mod-layout
Message-ID <[email protected]>
The error looks like where someone tried to compile mod_layout on 
Apache 2.0 using the Apache 1.3 version of mod_layout. Are you sure 
that you have the right version of Apache? Redhat 9 ships with Apache 
2.0 not, 1.3.

    -Brian

On Mar 12, 2004, at 6:33 PM, Cosas minovela wrote:

> but using apache 2.0 is not a good idea on a production server :(
> ----- Original Message -----
>  From: Brian Aker
> To: [email protected]
> Sent: Friday, March 12, 2004 2:21 AM
> Subject: Re: [Mod_layout] problems installing with make
>
> 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 ?
>