Re: [Resin-interest] CentOS 5 mod_caucho compile issue
Actually, I got it compile without errors by puttung the absolute path to apxs. Thanks The future is here. It's just not widely distributed yet. -William Gibson On Mon, Jan 12, 2009 at 2:17 AM, Vinny xaym...@gmail.com wrote: I think this may be my issue as well. How do I add those apr flags to my mod_caucho build? The future is here. It's just not widely distributed yet. -William Gibson On Wed, Apr 18, 2007 at 11:31 AM, Chris Jones cjo...@gdisoftware.comwrote: Ding Deng wrote: On 4/17/07, Chris Jones cjo...@gdisoftware.com wrote: Hey all, I have run into some issues compiling mod_caucho from resin 2.1.17 on CentOS 5. I have managed to get rid of an issue where the compiler was reporting missing apr header files. I modified the Makefile to include -I/usr/include/apr-1 to APACHE_INC=. This resolved the missing files issue but now running into other issues which I can't figure out. Here the output from make: (cd src/c/plugin; make) make[1]: Entering directory `/usr/src/resin-2.1.17/src/c/plugin' for dir in common apache2; do (cd $dir; make); done make[2]: Entering directory `/usr/src/resin-2.1.17/src/c/plugin/common' gcc -c -g -O2 stream.c gcc -c -g -O2 registry.c gcc -c -g -O2 config.c gcc -c -g -O2 memory.c /usr/bin/ld -r -o common.o stream.o registry.o config.o memory.o make[2]: Leaving directory `/usr/src/resin-2.1.17/src/c/plugin/common' make[2]: Entering directory `/usr/src/resin-2.1.17/src/c/plugin/apache2' gcc -c -I/usr/include/httpd -I/usr/include/apr-1 -DRESIN_HOME=\/usr/src/resin-2.1.17\ -I../common -g -O2 -fpic mod_caucho.c mv mod_caucho.o mod_caucho.lo In file included from /usr/include/apr-1/apr.h:7, from /usr/include/httpd/ap_config.h:25, from /usr/include/httpd/httpd.h:43, from mod_caucho.c:42: /usr/include/apr-1/apr-i386.h:270: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'apr_off_t' It's an APR issue: http://mail-archives.apache.org/mod_mbox/apr-dev/200410.mbox/%3c20041022090014.ga9...@redhat.com%3e HTH. Thanks, that worked. In file included from /usr/include/apr-1/apr_file_io.h:29, from /usr/include/apr-1/apr_network_io.h:26, from /usr/include/httpd/httpd.h:53, from mod_caucho.c:42: /usr/include/apr-1/apr_file_info.h:204: error: expected specifier-qualifier-list before 'apr_off_t' In file included from /usr/include/apr-1/apr_network_io.h:26, from /usr/include/httpd/httpd.h:53, from mod_caucho.c:42: /usr/include/apr-1/apr_file_io.h:548: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/include/apr-1/apr_file_io.h:740: error: expected declaration specifiers or '...' before 'apr_off_t' In file included from /usr/include/httpd/httpd.h:53, from mod_caucho.c:42: /usr/include/apr-1/apr_network_io.h:545: error: expected declaration specifiers or '...' before 'apr_off_t' In file included from /usr/include/apr-1/apr_buckets.h:32, from /usr/include/httpd/httpd.h:54, from mod_caucho.c:42: /usr/include/apr-1/apr_mmap.h:134: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/include/apr-1/apr_mmap.h:161: error: expected declaration specifiers or '...' before 'apr_off_t' In file included from /usr/include/httpd/httpd.h:54, from mod_caucho.c:42: /usr/include/apr-1/apr_buckets.h:242: error: expected specifier-qualifier-list before 'apr_off_t' /usr/include/apr-1/apr_buckets.h:706: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/include/apr-1/apr_buckets.h:718: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/include/apr-1/apr_buckets.h:754: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/include/apr-1/apr_buckets.h:890: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/include/apr-1/apr_buckets.h:891: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/include/apr-1/apr_buckets.h:1168: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/include/apr-1/apr_buckets.h:1367: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/include/apr-1/apr_buckets.h:1381: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/include/apr-1/apr_buckets.h:1431: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/include/apr-1/apr_buckets.h:1447: error: expected declaration specifiers or '...' before 'apr_off_t' In file included from mod_caucho.c:42: /usr/include/httpd/httpd.h:826: error: expected specifier-qualifier-list before 'apr_off_t' In file included from /usr/include/httpd/http_core.h:32, from mod_caucho.c:44: /usr/include/httpd/util_filter.h:142:
Re: [Resin-interest] CentOS 5 mod_caucho compile issue
I think this may be my issue as well. How do I add those apr flags to my mod_caucho build? The future is here. It's just not widely distributed yet. -William Gibson On Wed, Apr 18, 2007 at 11:31 AM, Chris Jones cjo...@gdisoftware.comwrote: Ding Deng wrote: On 4/17/07, Chris Jones cjo...@gdisoftware.com wrote: Hey all, I have run into some issues compiling mod_caucho from resin 2.1.17 on CentOS 5. I have managed to get rid of an issue where the compiler was reporting missing apr header files. I modified the Makefile to include -I/usr/include/apr-1 to APACHE_INC=. This resolved the missing files issue but now running into other issues which I can't figure out. Here the output from make: (cd src/c/plugin; make) make[1]: Entering directory `/usr/src/resin-2.1.17/src/c/plugin' for dir in common apache2; do (cd $dir; make); done make[2]: Entering directory `/usr/src/resin-2.1.17/src/c/plugin/common' gcc -c -g -O2 stream.c gcc -c -g -O2 registry.c gcc -c -g -O2 config.c gcc -c -g -O2 memory.c /usr/bin/ld -r -o common.o stream.o registry.o config.o memory.o make[2]: Leaving directory `/usr/src/resin-2.1.17/src/c/plugin/common' make[2]: Entering directory `/usr/src/resin-2.1.17/src/c/plugin/apache2' gcc -c -I/usr/include/httpd -I/usr/include/apr-1 -DRESIN_HOME=\/usr/src/resin-2.1.17\ -I../common -g -O2 -fpic mod_caucho.c mv mod_caucho.o mod_caucho.lo In file included from /usr/include/apr-1/apr.h:7, from /usr/include/httpd/ap_config.h:25, from /usr/include/httpd/httpd.h:43, from mod_caucho.c:42: /usr/include/apr-1/apr-i386.h:270: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'apr_off_t' It's an APR issue: http://mail-archives.apache.org/mod_mbox/apr-dev/200410.mbox/%3c20041022090014.ga9...@redhat.com%3e HTH. Thanks, that worked. In file included from /usr/include/apr-1/apr_file_io.h:29, from /usr/include/apr-1/apr_network_io.h:26, from /usr/include/httpd/httpd.h:53, from mod_caucho.c:42: /usr/include/apr-1/apr_file_info.h:204: error: expected specifier-qualifier-list before 'apr_off_t' In file included from /usr/include/apr-1/apr_network_io.h:26, from /usr/include/httpd/httpd.h:53, from mod_caucho.c:42: /usr/include/apr-1/apr_file_io.h:548: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/include/apr-1/apr_file_io.h:740: error: expected declaration specifiers or '...' before 'apr_off_t' In file included from /usr/include/httpd/httpd.h:53, from mod_caucho.c:42: /usr/include/apr-1/apr_network_io.h:545: error: expected declaration specifiers or '...' before 'apr_off_t' In file included from /usr/include/apr-1/apr_buckets.h:32, from /usr/include/httpd/httpd.h:54, from mod_caucho.c:42: /usr/include/apr-1/apr_mmap.h:134: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/include/apr-1/apr_mmap.h:161: error: expected declaration specifiers or '...' before 'apr_off_t' In file included from /usr/include/httpd/httpd.h:54, from mod_caucho.c:42: /usr/include/apr-1/apr_buckets.h:242: error: expected specifier-qualifier-list before 'apr_off_t' /usr/include/apr-1/apr_buckets.h:706: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/include/apr-1/apr_buckets.h:718: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/include/apr-1/apr_buckets.h:754: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/include/apr-1/apr_buckets.h:890: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/include/apr-1/apr_buckets.h:891: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/include/apr-1/apr_buckets.h:1168: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/include/apr-1/apr_buckets.h:1367: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/include/apr-1/apr_buckets.h:1381: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/include/apr-1/apr_buckets.h:1431: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/include/apr-1/apr_buckets.h:1447: error: expected declaration specifiers or '...' before 'apr_off_t' In file included from mod_caucho.c:42: /usr/include/httpd/httpd.h:826: error: expected specifier-qualifier-list before 'apr_off_t' In file included from /usr/include/httpd/http_core.h:32, from mod_caucho.c:44: /usr/include/httpd/util_filter.h:142: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/include/httpd/util_filter.h:299: error: expected declaration specifiers or '...' before 'apr_off_t' In file included from mod_caucho.c:44:
Re: [Resin-interest] CentOS 5 mod_caucho compile issue
Ding Deng wrote: On 4/17/07, Chris Jones [EMAIL PROTECTED] wrote: Hey all, I have run into some issues compiling mod_caucho from resin 2.1.17 on CentOS 5. I have managed to get rid of an issue where the compiler was reporting missing apr header files. I modified the Makefile to include -I/usr/include/apr-1 to APACHE_INC=. This resolved the missing files issue but now running into other issues which I can't figure out. Here the output from make: (cd src/c/plugin; make) make[1]: Entering directory `/usr/src/resin-2.1.17/src/c/plugin' for dir in common apache2; do (cd $dir; make); done make[2]: Entering directory `/usr/src/resin-2.1.17/src/c/plugin/common' gcc -c -g -O2 stream.c gcc -c -g -O2 registry.c gcc -c -g -O2 config.c gcc -c -g -O2 memory.c /usr/bin/ld -r -o common.o stream.o registry.o config.o memory.o make[2]: Leaving directory `/usr/src/resin-2.1.17/src/c/plugin/common' make[2]: Entering directory `/usr/src/resin-2.1.17/src/c/plugin/apache2' gcc -c -I/usr/include/httpd -I/usr/include/apr-1 -DRESIN_HOME=\/usr/src/resin-2.1.17\ -I../common -g -O2 -fpic mod_caucho.c mv mod_caucho.o mod_caucho.lo In file included from /usr/include/apr-1/apr.h:7, from /usr/include/httpd/ap_config.h:25, from /usr/include/httpd/httpd.h:43, from mod_caucho.c:42: /usr/include/apr-1/apr-i386.h:270: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'apr_off_t' It's an APR issue: http://mail-archives.apache.org/mod_mbox/apr-dev/200410.mbox/[EMAIL PROTECTED] HTH. Thanks, that worked. In file included from /usr/include/apr-1/apr_file_io.h:29, from /usr/include/apr-1/apr_network_io.h:26, from /usr/include/httpd/httpd.h:53, from mod_caucho.c:42: /usr/include/apr-1/apr_file_info.h:204: error: expected specifier-qualifier-list before 'apr_off_t' In file included from /usr/include/apr-1/apr_network_io.h:26, from /usr/include/httpd/httpd.h:53, from mod_caucho.c:42: /usr/include/apr-1/apr_file_io.h:548: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/include/apr-1/apr_file_io.h:740: error: expected declaration specifiers or '...' before 'apr_off_t' In file included from /usr/include/httpd/httpd.h:53, from mod_caucho.c:42: /usr/include/apr-1/apr_network_io.h:545: error: expected declaration specifiers or '...' before 'apr_off_t' In file included from /usr/include/apr-1/apr_buckets.h:32, from /usr/include/httpd/httpd.h:54, from mod_caucho.c:42: /usr/include/apr-1/apr_mmap.h:134: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/include/apr-1/apr_mmap.h:161: error: expected declaration specifiers or '...' before 'apr_off_t' In file included from /usr/include/httpd/httpd.h:54, from mod_caucho.c:42: /usr/include/apr-1/apr_buckets.h:242: error: expected specifier-qualifier-list before 'apr_off_t' /usr/include/apr-1/apr_buckets.h:706: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/include/apr-1/apr_buckets.h:718: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/include/apr-1/apr_buckets.h:754: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/include/apr-1/apr_buckets.h:890: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/include/apr-1/apr_buckets.h:891: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/include/apr-1/apr_buckets.h:1168: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/include/apr-1/apr_buckets.h:1367: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/include/apr-1/apr_buckets.h:1381: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/include/apr-1/apr_buckets.h:1431: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/include/apr-1/apr_buckets.h:1447: error: expected declaration specifiers or '...' before 'apr_off_t' In file included from mod_caucho.c:42: /usr/include/httpd/httpd.h:826: error: expected specifier-qualifier-list before 'apr_off_t' In file included from /usr/include/httpd/http_core.h:32, from mod_caucho.c:44: /usr/include/httpd/util_filter.h:142: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/include/httpd/util_filter.h:299: error: expected declaration specifiers or '...' before 'apr_off_t' In file included from mod_caucho.c:44: /usr/include/httpd/http_core.h:229: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ap_get_limit_req_body' /usr/include/httpd/http_core.h:672: error: expected declaration specifiers or '...' before 'apr_off_t' In file included from mod_caucho.c:45: /usr/include/httpd/http_protocol.h:111: error: expected declaration specifiers or '...' before 'apr_off_t'