[Evolution] =?iso-8859-1?Q?Soup_problem_with_apache_2_(not_;;)?=



Hi,

I'm trying to compile soup 0.7.11 as it is required by evolution 1.2.4.
Unfortunately, I use apache 2.0.45 and soup seems broken with apache 2:

1) In configure, APACHE_CFLAGS="-I`apxs -q INCLUDEDIR CFLAGS`" should be replaced by
APACHE_CFLAGS="-I`apxs -q INCLUDEDIR` `apxs -q CFLAGS`"

2) Now, I have a problem with http_config.h: when I configure soup, I have the
following problem:
(...)
checking for apxs... /usr/bin/apxs
checking httpd.h usability... yes
checking httpd.h presence... yes
checking for httpd.h... yes
checking http_config.h usability... no
checking http_config.h presence... yes
configure: WARNING: http_config.h: present but cannot be compiled
configure: WARNING: http_config.h: check for missing prerequisite headers?
configure: WARNING: http_config.h: proceeding with the preprocessor's result
checking for http_config.h... yes
checking http_core.h usability... yes
checking http_core.h presence... yes
checking for http_core.h... yes
checking http_log.h usability... no
checking http_log.h presence... yes
configure: WARNING: http_log.h: present but cannot be compiled
configure: WARNING: http_log.h: check for missing prerequisite headers?
configure: WARNING: http_log.h: proceeding with the preprocessor's result
checking for http_log.h... yes
checking http_main.h usability... no
checking http_main.h presence... yes
configure: WARNING: http_main.h: present but cannot be compiled
configure: WARNING: http_main.h: check for missing prerequisite headers?
configure: WARNING: http_main.h: proceeding with the preprocessor's result
checking for http_main.h... yes
checking http_protocol.h usability... yes
checking http_protocol.h presence... yes
checking for http_protocol.h... yes
(...)

Then make fails with:
(...)
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"SOUP-APACHE\" -I../../src
-I/usr/glib/include/glib-1.2 -I/usr/glib/lib/glib/include
-I/usr/libxml/include/gnome-xml -I/usr/apache/include -g -O2 -Wall -Wstrict-prototypes
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith
-D_REENTRANT -c soup-apache.c  -fPIC -DPIC -o .libs/soup-apache.lo
In file included from /usr/include/string.h:360,
                 from /usr/apache/include/apr_want.h:101,
                 from /usr/apache/include/apr_pools.h:79,
                 from /usr/apache/include/apr_tables.h:64,
                 from /usr/apache/include/apr_hooks.h:60,
                 from /usr/apache/include/ap_config.h:59,
                 from /usr/apache/include/httpd.h:72,
                 from soup-apache.c:17:
/usr/include/bits/string2.h: In function `__strcpy_small':
/usr/include/bits/string2.h:428: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:436: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:441: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:446: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:448: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:453: warning: pointer of type `void *' used in arithmetic
In file included from soup-apache.c:18:
/usr/apache/include/http_config.h: At top level:
/usr/apache/include/http_config.h:187: warning: function declaration isn't a prototype
soup-apache.c:31: parse error before `pool'
soup-apache.c:32: warning: function declaration isn't a prototype
soup-apache.c: In function `soup_apache_message_create':
soup-apache.c:64: warning: implicit declaration of function `ap_table_do'
soup-apache.c: In function `soup_apache_read_request':
soup-apache.c:84: warning: implicit declaration of function `ap_palloc'
soup-apache.c:84: warning: assignment makes pointer from integer without a cast
soup-apache.c:87: warning: implicit declaration of function `ap_hard_timeout'
soup-apache.c:94: warning: implicit declaration of function `ap_reset_timeout'
soup-apache.c:99: warning: implicit declaration of function `ap_kill_timeout'
soup-apache.c: In function `soup_apache_add_header':
soup-apache.c:113: warning: implicit declaration of function `ap_table_set'
soup-apache.c: In function `soup_apache_handler':
soup-apache.c:177: warning: passing arg 4 of `ap_log_error' makes integer from pointer
without a cast
soup-apache.c:177: warning: passing arg 5 of `ap_log_error' from incompatible pointer type
soup-apache.c:196: structure has no member named `user'
soup-apache.c:223: warning: implicit declaration of function `ap_psprintf'
soup-apache.c:226: warning: assignment makes pointer from integer without a cast
soup-apache.c:234: warning: implicit declaration of function `ap_send_http_header'
soup-apache.c: At top level:
soup-apache.c:264: parse error before `soup_apache_handlers'
soup-apache.c:264: warning: type defaults to `int' in declaration of `soup_apache_handlers'
soup-apache.c:266: warning: braces around scalar initializer
soup-apache.c:266: warning: (near initialization for `soup_apache_handlers[0]')
soup-apache.c:266: warning: initialization makes integer from pointer without a cast
soup-apache.c:266: warning: excess elements in scalar initializer
soup-apache.c:266: warning: (near initialization for `soup_apache_handlers[0]')
soup-apache.c:267: warning: braces around scalar initializer
soup-apache.c:267: warning: (near initialization for `soup_apache_handlers[1]')
soup-apache.c:267: warning: initialization makes integer from pointer without a cast
soup-apache.c:268: warning: data definition has no type or storage class
soup-apache.c:270: parse error before `soup_module'
soup-apache.c:270: warning: type defaults to `int' in declaration of `soup_module'
soup-apache.c:272: `this_module_needs_to_be_ported_to_apache_2_0' undeclared here (not
in a function)
soup-apache.c:272: initializer element is not constant
soup-apache.c:272: (near initialization for `soup_module')
soup-apache.c:273: warning: excess elements in scalar initializer
soup-apache.c:273: warning: (near initialization for `soup_module')
soup-apache.c:274: warning: excess elements in scalar initializer
soup-apache.c:274: warning: (near initialization for `soup_module')
soup-apache.c:275: warning: excess elements in scalar initializer
soup-apache.c:275: warning: (near initialization for `soup_module')
soup-apache.c:276: warning: excess elements in scalar initializer
soup-apache.c:276: warning: (near initialization for `soup_module')
soup-apache.c:277: warning: excess elements in scalar initializer
soup-apache.c:277: warning: (near initialization for `soup_module')
soup-apache.c:278: warning: excess elements in scalar initializer
soup-apache.c:278: warning: (near initialization for `soup_module')
soup-apache.c:279: warning: excess elements in scalar initializer
soup-apache.c:279: warning: (near initialization for `soup_module')
soup-apache.c:280: warning: excess elements in scalar initializer
soup-apache.c:280: warning: (near initialization for `soup_module')
soup-apache.c:281: warning: excess elements in scalar initializer
soup-apache.c:281: warning: (near initialization for `soup_module')
soup-apache.c:282: warning: excess elements in scalar initializer
soup-apache.c:282: warning: (near initialization for `soup_module')
soup-apache.c:283: warning: excess elements in scalar initializer
soup-apache.c:283: warning: (near initialization for `soup_module')
soup-apache.c:284: warning: excess elements in scalar initializer
soup-apache.c:284: warning: (near initialization for `soup_module')
soup-apache.c:285: warning: excess elements in scalar initializer
soup-apache.c:285: warning: (near initialization for `soup_module')
soup-apache.c:286: warning: excess elements in scalar initializer
soup-apache.c:286: warning: (near initialization for `soup_module')
soup-apache.c:288: warning: excess elements in scalar initializer
soup-apache.c:288: warning: (near initialization for `soup_module')
soup-apache.c:291: warning: excess elements in scalar initializer
soup-apache.c:291: warning: (near initialization for `soup_module')
soup-apache.c:294: warning: excess elements in scalar initializer
soup-apache.c:294: warning: (near initialization for `soup_module')
soup-apache.c:299: warning: excess elements in scalar initializer
soup-apache.c:299: warning: (near initialization for `soup_module')
soup-apache.c:299: warning: data definition has no type or storage class
make[3]: *** [soup-apache.lo] Error 1
make[3]: Leaving directory `/usr/src/soup-0.7.11/src/libsoup-apache'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/soup-0.7.11/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/soup-0.7.11'
make: *** [all-recursive-am] Error 2

Everything's fine with apache 1.3, so do you know how it's possible to use soup (that
is evolution) with apache 2 ?

------------------------------------------

Faites un voeu et puis Voila ! www.voila.fr 





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]