Re: install help 4.1

"Dave Archer" <[email protected]> Fri, 1 Feb 2008 19:19:08 -0000
Newsgroups gmane.comp.apache.mod-layout
Message-ID <001501c86507$5306a520$f913ef60$@net>
Thanks for the response (including john), ill try that and give it another
go - my main worry is if i need to rebuild apache plesk throws a wobbler and
stops working.

-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Brian Aker
Sent: 01 February 2008 18:05
To: [email protected]
Cc: [email protected]
Subject: Re: [Mod_layout] install help 4.1

Hi!

It looks like you are missing all of the -dev packages for Apache (and  =

the APR).

Cheers,
	-Brian

On Feb 1, 2008, at 2:13 AM, [email protected] wrote:

> Hello,
>
> i have a fedora core 4 server with apache 2.0 and plesk 8 - i am
> trying to install mod_layout 4.1 but am encountering errors which im
> not sure what they are..
>
> Could anyone help me please? ill paste what happens below:
>
>
> [root@durban mod_layout-4.1]# make
> /usr/local/psa/admin/bin/apxs -c   mod_layout.c utility.c layout.c
> gcc -DHARD_SERVER_LIMIT=3D512
> -DDEFAULT_PATH=3D"/usr/local/psa/admin/bin:/bin:/usr/bin" -DLINUX=3D22
> -DTARGET=3D"httpsd" -DHAVE_SET_DUMPABLE -DNO_DBM_REWRITEMAP
> -DMOD_SSL=3D208122 -DEAPI -O -pipe  -I/usr/include -O3
> -fexpensive-optimizations -fstrength-reduce -pipe -DPLESK_Linux
> -I/usr/include/sw/libxml2 -I/usr/include/sw -I/usr/include/sw/libxml2
> -W -Wall -DPLESK_Linux
> -I/home/builder/buildbot/psa-8.3.0-bfc4/build/plesk/plesk-utils/ =

> include
> -DBSG_CR -DBSG_MSG -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64
> -DHAS_RPM -DUSE_SLEEP_ON_IDLE -Wno-unused-parameter -fpic
> -DSHARED_MODULE -I/usr/local/psa/admin/include  -c mod_layout.c
> In file included from mod_layout.c:19:
> mod_layout.h:12:25: error: apr_buckets.h: No such file or directory
> mod_layout.h:13:25: error: apr_strings.h: No such file or directory
> mod_layout.h:14:21: error: apr_lib.h: No such file or directory
> mod_layout.h:15:24: error: apr_tables.h: No such file or directory
> mod_layout.h:16:25: error: apr_fnmatch.h: No such file or directory
> mod_layout.h:17:25: error: util_filter.h: No such file or directory
> In file included from mod_layout.c:19:
> mod_layout.h:82: error: syntax error before =E2ap_filter_t=E2
> mod_layout.h:82: warning: no semicolon at end of struct or union
> mod_layout.h:83: warning: type defaults to =E2int=E2 in declaration of =
=E2b=E2
> mod_layout.h:83: warning: data definition has no type or storage class
> mod_layout.h:84: error: syntax error before =E2}=E2 token
> mod_layout.h:84: warning: type defaults to =E2int=E2 in declaration of
> =E2layout_request=E2
> mod_layout.h:84: warning: data definition has no type or storage class
> mod_layout.h:89: error: syntax error before =E2apr_array_header_t=E2
> mod_layout.h:89: warning: no semicolon at end of struct or union
> mod_layout.h:94: error: syntax error before =E2*=E2 token
> mod_layout.h:94: warning: type defaults to =E2int=E2 in declaration of  =

> =E2override=E2
> mod_layout.h:94: warning: data definition has no type or storage class
> mod_layout.h:95: error: syntax error before =E2*=E2 token
> mod_layout.h:95: warning: type defaults to =E2int=E2 in declaration of
> =E2override_uri=E2
> mod_layout.h:95: warning: data definition has no type or storage class
> mod_layout.h:103: error: syntax error before =E2*=E2 token
> mod_layout.h:103: warning: type defaults to =E2int=E2 in declaration of  =

> =E2types=E2
> mod_layout.h:103: warning: data definition has no type or storage  =

> class
> mod_layout.h:104: error: syntax error before =E2*=E2 token
> mod_layout.h:104: warning: type defaults to =E2int=E2 in declaration of
> =E2uris_ignore=E2
> mod_layout.h:104: warning: data definition has no type or storage  =

> class
> mod_layout.h:105: error: syntax error before =E2*=E2 token
> mod_layout.h:105: warning: type defaults to =E2int=E2 in declaration of
> =E2uris_ignore_header=E2
> mod_layout.h:105: warning: data definition has no type or storage  =

> class
> mod_layout.h:106: error: syntax error before =E2*=E2 token
> mod_layout.h:106: warning: type defaults to =E2int=E2 in declaration of
> =E2uris_ignore_http_header=E2
> mod_layout.h:106: warning: data definition has no type or storage  =

> class
> mod_layout.h:107: error: syntax error before =E2*=E2 token
> mod_layout.h:107: warning: type defaults to =E2int=E2 in declaration of
> =E2uris_ignore_footer=E2
> mod_layout.h:107: warning: data definition has no type or storage  =

> class
> mod_layout.h:108: error: syntax error before =E2*=E2 token
> mod_layout.h:108: warning: type defaults to =E2int=E2 in declaration of
> =E2tag_ignore=E2
> mod_layout.h:108: warning: data definition has no type or storage  =

> class
> mod_layout.h:109: error: syntax error before =E2*=E2 token
> mod_layout.h:109: warning: type defaults to =E2int=E2 in declaration of
> =E2tag_ignore_footer=E2
> mod_layout.h:109: warning: data definition has no type or storage  =

> class
> mod_layout.h:110: error: syntax error before =E2*=E2 token
> mod_layout.h:110: warning: type defaults to =E2int=E2 in declaration of
> =E2tag_ignore_header=E2
> mod_layout.h:110: warning: data definition has no type or storage  =

> class
> mod_layout.h:121: error: syntax error before =E2}=E2 token
> mod_layout.h:121: warning: type defaults to =E2int=E2 in declaration of
> =E2layout_conf=E2
> mod_layout.h:121: warning: data definition has no type or storage  =

> class
> mod_layout.h:124: error: syntax error before =E2apr_bucket_brigade=E2
> mod_layout.h:124: warning: no semicolon at end of struct or union
> mod_layout.h:126: error: syntax error before =E2}=E2 token
> mod_layout.h:126: warning: type defaults to =E2int=E2 in declaration of
> =E2layout_filter_struct=E2
> mod_layout.h:126: warning: data definition has no type or storage  =

> class
> In file included from mod_layout.h:128,
>                  from mod_layout.c:19:
> proto.h:5: error: syntax error before =E2layout_conf=E2
> proto.h:6: error: syntax error before =E2*=E2 token
> proto.h:6: error: syntax error before =E2*=E2 token
> proto.h:6: warning: type defaults to =E2int=E2 in declaration of
> =E2layout_array_push_kind=E2
> proto.h:6: warning: data definition has no type or storage class
> proto.h:7: error: syntax error before =E2*=E2 token
> proto.h:8: error: syntax error before =E2*=E2 token
> proto.h:8: error: syntax error before =E2layout_conf=E2
> proto.h:8: warning: type defaults to =E2int=E2 in declaration of
> =E2create_layout_request=E2
> proto.h:8: warning: data definition has no type or storage class
> proto.h:9: warning: type defaults to =E2int=E2 in declaration of  =

> =E2apr_table_t=E2
> proto.h:9: error: syntax error before =E2*=E2 token
> proto.h:10: error: syntax error before =E2*=E2 token
> proto.h:12: error: syntax error before =E2layout_conf=E2
> proto.h:14: warning: type defaults to =E2int=E2 in declaration of  =

> =E2apr_table_t=E2
> proto.h:14: error: syntax error before =E2*=E2 token
> proto.h:15: warning: type defaults to =E2int=E2 in declaration of  =

> =E2apr_table_t=E2
> proto.h:15: error: syntax error before =E2*=E2 token
> proto.h:16: error: syntax error before =E2layout_conf=E2
> proto.h:17: error: syntax error before =E2layout_conf=E2
> proto.h:18: error: syntax error before =E2layout_conf=E2
> proto.h:20: error: syntax error before =E2layout_conf=E2
> mod_layout.c:21: error: syntax error before =E2layout_module=E2
> mod_layout.c:21: warning: type defaults to =E2int=E2 in declaration of
> =E2layout_module=E2
> mod_layout.c:21: warning: data definition has no type or storage class
> mod_layout.c:24: error: syntax error before =E2*=E2 token
> mod_layout.c: In function =E2set_config_defaults=E2:
> mod_layout.c:26: error: =E2cfg=E2 undeclared (first use in this function)
> mod_layout.c:26: error: (Each undeclared identifier is reported only  =

> once
> mod_layout.c:26: error: for each function it appears in.)
> mod_layout.c:45: warning: implicit declaration of function  =

> =E2apr_table_make=E2
> mod_layout.c:45: error: =E2p=E2 undeclared (first use in this function)
> mod_layout.c: At top level:
> mod_layout.c:49: error: syntax error before =E2*=E2 token
> mod_layout.c: In function =E2create_dir_mconfig=E2:
> mod_layout.c:56: error: =E2cfg=E2 undeclared (first use in this function)
> mod_layout.c:58: warning: implicit declaration of function  =

> =E2apr_pcalloc=E2
> mod_layout.c:58: error: =E2p=E2 undeclared (first use in this function)
> mod_layout.c:60: warning: implicit declaration of function  =

> =E2apr_pstrdup=E2
> mod_layout.c:63: warning: implicit declaration of function  =

> =E2apr_table_setn=E2
> mod_layout.c: At top level:
> mod_layout.c:78: error: syntax error before =E2*=E2 token
> mod_layout.c: In function =E2merge_dir_mconfig=E2:
> mod_layout.c:80: error: =E2cfg=E2 undeclared (first use in this function)
> mod_layout.c:80: error: =E2p=E2 undeclared (first use in this function)
> mod_layout.c:82: error: =E2cfg_origin=E2 undeclared (first use in this  =

> function)
> mod_layout.c:82: error: syntax error before =E2)=E2 token
> mod_layout.c:83: error: =E2cfg_new=E2 undeclared (first use in this  =

> function)
> mod_layout.c:83: error: syntax error before =E2)=E2 token
> mod_layout.c:126: warning: implicit declaration of function  =

> =E2apr_array_append=E2
> mod_layout.c:170: warning: implicit declaration of function
> =E2apr_table_overlay=E2
> mod_layout.c: At top level:
> mod_layout.c:241: error: syntax error before =E2layout_filter=E2
> mod_layout.c:241: error: syntax error before =E2*=E2 token
> mod_layout.c:242: warning: return type defaults to =E2int=E2
> mod_layout.c: In function =E2layout_filter=E2:
> mod_layout.c:243: error: =E2f=E2 undeclared (first use in this function)
> mod_layout.c:244: error: =E2ctx=E2 undeclared (first use in this function)
> mod_layout.c:245: error: =E2apr_bucket=E2 undeclared (first use in this  =

> function)
> mod_layout.c:245: error: =E2e=E2 undeclared (first use in this function)
> mod_layout.c:247: error: =E2apr_size_t=E2 undeclared (first use in this  =

> function)
> mod_layout.c:247: error: syntax error before =E2len=E2
> mod_layout.c:248: error: =E2info=E2 undeclared (first use in this  =

> function)
> mod_layout.c:249: error: =E2cfg=E2 undeclared (first use in this function)
> mod_layout.c:255: warning: implicit declaration of function  =

> =E2ap_pass_brigade=E2
> mod_layout.c:259: error: request for member =E2module_index=E2 in
> something not a structure or union
> mod_layout.c:285: warning: implicit declaration of function
> =E2apr_brigade_create=E2
> mod_layout.c:285: error: =E2struct conn_rec=E2 has no member named  =

> =E2bucket_alloc=E2
> mod_layout.c:289: warning: implicit declaration of function  =

> =E2apr_table_unset=E2
> mod_layout.c:292: warning: implicit declaration of function
> =E2APR_BRIGADE_FOREACH=E2
> mod_layout.c:293: error: syntax error before =E2{=E2 token
> mod_layout.c:319: warning: implicit declaration of function
> =E2APR_BUCKET_REMOVE=E2
> mod_layout.c:320: warning: implicit declaration of function
> =E2APR_BRIGADE_INSERT_TAIL=E2
> mod_layout.c:246: warning: unused variable =E2str=E2
> mod_layout.c: At top level:
> mod_layout.c:325: error: syntax error before =E2if=E2
> mod_layout.c:327: error: syntax error before =E2&=E2 token
> mod_layout.c:327: warning: type defaults to =E2int=E2 in declaration of
> =E2apr_bucket_read=E2
> mod_layout.c:327: warning: data definition has no type or storage  =

> class
> mod_layout.c:336: warning: type defaults to =E2int=E2 in declaration of
> =E2apr_brigade_destroy=E2
> mod_layout.c:336: warning: parameter names (without types) in function
> declaration
> mod_layout.c:336: warning: data definition has no type or storage  =

> class
> mod_layout.c:337: error: syntax error before =E2return=E2
> mod_layout.c: In function =E2add_http_header=E2:
> mod_layout.c:342: error: =E2cfg=E2 undeclared (first use in this function)
> mod_layout.c:342: error: syntax error before =E2)=E2 token
> mod_layout.c: In function =E2add_layout_pattern=E2:
> mod_layout.c:352: error: =E2cfg=E2 undeclared (first use in this function)
> mod_layout.c:352: error: syntax error before =E2)=E2 token
> mod_layout.c:358: warning: assignment makes pointer from integer
> without a cast
> mod_layout.c:362: warning: assignment makes pointer from integer
> without a cast
> mod_layout.c:363: warning: assignment makes pointer from integer
> without a cast
> mod_layout.c:370: warning: assignment makes pointer from integer
> without a cast
> mod_layout.c:371: warning: assignment makes pointer from integer
> without a cast
> mod_layout.c:376: warning: assignment makes pointer from integer
> without a cast
> mod_layout.c:377: warning: assignment makes pointer from integer
> without a cast
> mod_layout.c:382: warning: assignment makes pointer from integer
> without a cast
> mod_layout.c:385: warning: implicit declaration of function  =

> =E2apr_array_make=E2
> mod_layout.c:414: warning: passing argument 5 of =E2ap_log_error=E2 from
> incompatible pointer type
> mod_layout.c:421: warning: implicit declaration of function  =

> =E2apr_array_push=E2
> mod_layout.c: In function =E2add_layout=E2:
> mod_layout.c:428: error: =E2cfg=E2 undeclared (first use in this function)
> mod_layout.c:428: error: syntax error before =E2)=E2 token
> mod_layout.c: In function =E2ignore_uri=E2:
> mod_layout.c:439: error: =E2cfg=E2 undeclared (first use in this function)
> mod_layout.c:439: error: syntax error before =E2)=E2 token
> mod_layout.c: In function =E2ignore_header_uri=E2:
> mod_layout.c:450: error: =E2cfg=E2 undeclared (first use in this function)
> mod_layout.c:450: error: syntax error before =E2)=E2 token
> mod_layout.c: In function =E2ignore_http_header_uri=E2:
> mod_layout.c:461: error: =E2cfg=E2 undeclared (first use in this function)
> mod_layout.c:461: error: syntax error before =E2)=E2 token
> mod_layout.c: In function =E2ignore_footer_uri=E2:
> mod_layout.c:472: error: =E2cfg=E2 undeclared (first use in this function)
> mod_layout.c:472: error: syntax error before =E2)=E2 token
> mod_layout.c: In function =E2add_type=E2:
> mod_layout.c:483: error: =E2cfg=E2 undeclared (first use in this function)
> mod_layout.c:483: error: syntax error before =E2)=E2 token
> mod_layout.c: In function =E2tag_ignore_add=E2:
> mod_layout.c:491: error: =E2cfg=E2 undeclared (first use in this function)
> mod_layout.c:491: error: syntax error before =E2)=E2 token
> mod_layout.c: In function =E2tag_ignore_footer_add=E2:
> mod_layout.c:502: error: =E2cfg=E2 undeclared (first use in this function)
> mod_layout.c:502: error: syntax error before =E2)=E2 token
> mod_layout.c: In function =E2tag_ignore_header_add=E2:
> mod_layout.c:513: error: =E2cfg=E2 undeclared (first use in this function)
> mod_layout.c:513: error: syntax error before =E2)=E2 token
> mod_layout.c: In function =E2merge_add=E2:
> mod_layout.c:524: error: =E2cfg=E2 undeclared (first use in this function)
> mod_layout.c:524: error: syntax error before =E2)=E2 token
> mod_layout.c: In function =E2footer_off=E2:
> mod_layout.c:534: error: =E2cfg=E2 undeclared (first use in this function)
> mod_layout.c:534: error: syntax error before =E2)=E2 token
> mod_layout.c: In function =E2header_off=E2:
> mod_layout.c:542: error: =E2cfg=E2 undeclared (first use in this function)
> mod_layout.c:542: error: syntax error before =E2)=E2 token
> mod_layout.c: In function =E2http_header_off=E2:
> mod_layout.c:550: error: =E2cfg=E2 undeclared (first use in this function)
> mod_layout.c:550: error: syntax error before =E2)=E2 token
> mod_layout.c: In function =E2append_layouts=E2:
> mod_layout.c:559: error: =E2cfg=E2 undeclared (first use in this function)
> mod_layout.c:559: error: syntax error before =E2)=E2 token
> mod_layout.c: At top level:
> mod_layout.c:566: error: syntax error before =E2*=E2 token
> mod_layout.c: In function =E2layout_register_hooks=E2:
> mod_layout.c:568: warning: implicit declaration of function
> =E2ap_register_output_filter=E2
> mod_layout.c:568: error: =E2AP_FTYPE_CONTENT_SET=E2 undeclared (first use
> in this function)
> mod_layout.c: At top level:
> mod_layout.c:572: warning: implicit declaration of function  =

> =E2AP_INIT_TAKE23=E2
> mod_layout.c:572: warning: missing braces around initializer
> mod_layout.c:572: warning: (near initialization for =E2layout_cmds[0]=E2)
> mod_layout.c:572: error: initializer element is not constant
> mod_layout.c:572: error: (near initialization for  =

> =E2layout_cmds[0].name=E2)
> mod_layout.c:573: warning: implicit declaration of function  =

> =E2AP_INIT_TAKE1=E2
> mod_layout.c:573: error: initializer element is not constant
> mod_layout.c:573: error: (near initialization for  =

> =E2layout_cmds[0].func=E2)
> mod_layout.c:574: error: initializer element is not constant
> mod_layout.c:574: error: (near initialization for  =

> =E2layout_cmds[0].cmd_data=E2)
> mod_layout.c:575: warning: implicit declaration of function  =

> =E2AP_INIT_FLAG=E2
> mod_layout.c:575: error: initializer element is not constant
> mod_layout.c:575: error: (near initialization for
> =E2layout_cmds[0].req_override=E2)
> mod_layout.c:576: warning: implicit declaration of function  =

> =E2APR_XtOffsetOf=E2
> mod_layout.c:576: error: initializer element is not constant
> mod_layout.c:576: error: (near initialization for  =

> =E2layout_cmds[0].args_how=E2)
> mod_layout.c:577: error: initializer element is not constant
> mod_layout.c:577: error: (near initialization for  =

> =E2layout_cmds[0].errmsg=E2)
> mod_layout.c:578: warning: missing initializer
> mod_layout.c:578: warning: (near initialization for  =

> =E2layout_cmds[0].name=E2)
> mod_layout.c:578: error: initializer element is not constant
> mod_layout.c:578: error: (near initialization for  =

> =E2layout_cmds[1].name=E2)
> mod_layout.c:579: error: initializer element is not constant
> mod_layout.c:579: error: (near initialization for  =

> =E2layout_cmds[1].func=E2)
> mod_layout.c:580: error: initializer element is not constant
> mod_layout.c:580: error: (near initialization for  =

> =E2layout_cmds[1].cmd_data=E2)
> mod_layout.c:581: error: initializer element is not constant
> mod_layout.c:581: error: (near initialization for
> =E2layout_cmds[1].req_override=E2)
> mod_layout.c:582: error: initializer element is not constant
> mod_layout.c:582: error: (near initialization for  =

> =E2layout_cmds[1].args_how=E2)
> mod_layout.c:583: error: initializer element is not constant
> mod_layout.c:583: error: (near initialization for  =

> =E2layout_cmds[1].errmsg=E2)
> mod_layout.c:584: warning: missing initializer
> mod_layout.c:584: warning: (near initialization for  =

> =E2layout_cmds[1].name=E2)
> mod_layout.c:584: error: initializer element is not constant
> mod_layout.c:584: error: (near initialization for  =

> =E2layout_cmds[2].name=E2)
> mod_layout.c:585: error: initializer element is not constant
> mod_layout.c:585: error: (near initialization for  =

> =E2layout_cmds[2].func=E2)
> mod_layout.c:586: error: initializer element is not constant
> mod_layout.c:586: error: (near initialization for  =

> =E2layout_cmds[2].cmd_data=E2)
> mod_layout.c:587: error: initializer element is not constant
> mod_layout.c:587: error: (near initialization for
> =E2layout_cmds[2].req_override=E2)
> mod_layout.c:588: error: initializer element is not constant
> mod_layout.c:588: error: (near initialization for  =

> =E2layout_cmds[2].args_how=E2)
> mod_layout.c:589: error: initializer element is not constant
> mod_layout.c:589: error: (near initialization for  =

> =E2layout_cmds[2].errmsg=E2)
> mod_layout.c:590: warning: missing initializer
> mod_layout.c:590: warning: (near initialization for  =

> =E2layout_cmds[2].name=E2)
> mod_layout.c:590: error: initializer element is not constant
> mod_layout.c:590: error: (near initialization for  =

> =E2layout_cmds[3].name=E2)
> mod_layout.c:591: error: initializer element is not constant
> mod_layout.c:591: error: (near initialization for  =

> =E2layout_cmds[3].func=E2)
> mod_layout.c:592: error: initializer element is not constant
> mod_layout.c:592: error: (near initialization for  =

> =E2layout_cmds[3].cmd_data=E2)
> mod_layout.c:593: error: initializer element is not constant
> mod_layout.c:593: error: (near initialization for
> =E2layout_cmds[3].req_override=E2)
> mod_layout.c:594: warning: braces around scalar initializer
> mod_layout.c:594: warning: (near initialization for  =

> =E2layout_cmds[3].args_how=E2)
> mod_layout.c:594: error: incompatible types in initialization
> mod_layout.c:595: warning: missing initializer
> mod_layout.c:595: warning: (near initialization for  =

> =E2layout_cmds[3].name=E2)
> mod_layout.c:598: error: syntax error before =E2layout_module=E2
> mod_layout.c:598: warning: type defaults to =E2int=E2 in declaration of
> =E2layout_module=E2
> mod_layout.c:599: error: =E2STANDARD20_MODULE_STUFF=E2 undeclared here
> (not in a function)
> mod_layout.c:600: warning: excess elements in scalar initializer
> mod_layout.c:600: warning: (near initialization for =E2layout_module=E2)
> mod_layout.c:601: warning: excess elements in scalar initializer
> mod_layout.c:601: warning: (near initialization for =E2layout_module=E2)
> mod_layout.c:602: warning: excess elements in scalar initializer
> mod_layout.c:602: warning: (near initialization for =E2layout_module=E2)
> mod_layout.c:603: warning: excess elements in scalar initializer
> mod_layout.c:603: warning: (near initialization for =E2layout_module=E2)
> mod_layout.c:604: warning: excess elements in scalar initializer
> mod_layout.c:604: warning: (near initialization for =E2layout_module=E2)
> mod_layout.c:606: warning: excess elements in scalar initializer
> mod_layout.c:606: warning: (near initialization for =E2layout_module=E2)
> mod_layout.c:606: warning: data definition has no type or storage  =

> class
> apxs:Break: Command failed with rc=3D1
> make: *** [mod_layout.so] Error 1
>
> _______________________________________________
> Mod_layout mailing list
> [email protected]
> http://lists.tangent.org/mailman/listinfo/mod_layout

--
_______________________________________________________
Brian "Krow" Aker, brian at tangent.org
Seattle, Washington
http://krow.net/                     <-- Me
http://tangent.org/                <-- Software
http://exploitseattle.com/    <-- Fun
_______________________________________________________
You can't grep a dead tree.


_______________________________________________
Mod_layout mailing list
[email protected]
http://lists.tangent.org/mailman/listinfo/mod_layout