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.com>wrote:
>
>> 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:
>> >> /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'
>> >> /usr/include/httpd/http_protocol.h:203: error: expected declaration
>> >> specifiers or '...' before 'apr_off_t'
>> >> In file included from mod_caucho.c:47:
>> >> /usr/include/apr-1/apr_strings.h:297: error: expected declaration
>> >> specifiers or '...' before 'apr_off_t'
>> >> /usr/include/apr-1/apr_strings.h:313: error: expected ')' before '*'
>> token
>> >> /usr/include/apr-1/apr_strings.h:349: error: expected ')' before 'size'
>> >> mod_caucho.c: In function 'cse_get_module_config':
>> >> mod_caucho.c:201: error: 'request_rec' has no member named
>> 'per_dir_config'
>> >> mod_caucho.c: In function 'get_session_index':
>> >> mod_caucho.c:289: error: 'request_rec' has no member named 'headers_in'
>> >> mod_caucho.c:308: error: 'request_rec' has no member named 'uri'
>> >> mod_caucho.c: In function 'connection_error':
>> >> mod_caucho.c:357: error: 'request_rec' has no member named
>> 'content_type'
>> >> mod_caucho.c:360: error: 'request_rec' has no member named
>> 'headers_out'
>> >> mod_caucho.c: In function 'write_env':
>> >> mod_caucho.c:415: error: 'request_rec' has no member named 'uri'
>> >> mod_caucho.c:420: error: 'request_rec' has no member named 'args'
>> >> mod_caucho.c:421: error: 'request_rec' has no member named 'args'
>> >> mod_caucho.c:440: error: 'request_rec' has no member named 'user'
>> >> mod_caucho.c:441: error: 'request_rec' has no member named 'user'
>> >> mod_caucho.c:442: error: 'request_rec' has no member named
>> 'ap_auth_type'
>> >> mod_caucho.c:443: error: 'request_rec' has no member named
>> 'ap_auth_type'
>> >> mod_caucho.c: In function 'write_headers':
>> >> mod_caucho.c:484: error: 'request_rec' has no member named 'headers_in'
>> >> mod_caucho.c: In function 'write_added_headers':
>> >> mod_caucho.c:511: error: 'request_rec' has no member named
>> 'subprocess_env'
>> >> mod_caucho.c:523: error: 'request_rec' has no member named 'user'
>> >> mod_caucho.c: In function 'send_data':
>> >> mod_caucho.c:610: error: 'request_rec' has no member named
>> 'content_type'
>> >> mod_caucho.c:612: error: 'request_rec' has no member named
>> 'headers_out'
>> >> mod_caucho.c: In function 'caucho_status':
>> >> mod_caucho.c:805: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:805: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:805: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:805: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:805: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:805: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:805: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:805: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:805: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:805: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:805: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:805: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:805: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:805: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:805: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:805: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:805: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:805: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:805: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:805: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:805: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:810: error: 'request_rec' has no member named
>> 'content_type'
>> >> mod_caucho.c: In function 'cse_dispatch':
>> >> mod_caucho.c:868: error: 'request_rec' has no member named 'uri'
>> >> mod_caucho.c:885: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:891: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:891: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:891: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:891: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:891: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:891: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:891: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:891: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:891: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:891: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:891: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:891: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:891: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:891: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:891: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:891: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:891: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:891: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:891: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:891: error: 'request_rec' has no member named 'handler'
>> >> mod_caucho.c:906: error: 'request_rec' has no member named 'filename'
>> >> mod_caucho.c:907: error: 'request_rec' has no member named 'filename'
>> >> mod_caucho.c: At top level:
>> >> mod_caucho.c:926: warning: initialization from incompatible pointer
>> type
>> >> mod_caucho.c:929: warning: initialization from incompatible pointer
>> type
>> >> mod_caucho.c:932: warning: initialization from incompatible pointer
>> type
>> >> mod_caucho.c:935: warning: initialization from incompatible pointer
>> type
>> >> make[2]: *** [mod_caucho.lo] Error 1
>> >> make[2]: Leaving directory `/usr/src/resin-2.1.17/src/c/plugin/apache2'
>> >> make[1]: *** [plugins] Error 2
>> >> make[1]: Leaving directory `/usr/src/resin-2.1.17/src/c/plugin'
>> >> make: *** [all] Error 2
>> >>
>> >> Can someone point me in the right direction.
>> >>
>> >> Thanks,
>> >> -Chris
>> >>
>> >>
>> >>
>> >> _______________________________________________
>> >> resin-interest mailing list
>> >> resin-interest@caucho.com
>> >> http://maillist.caucho.com/mailman/listinfo/resin-interest
>> >>
>> >>
>> >
>> >
>> > _______________________________________________
>> > resin-interest mailing list
>> > resin-interest@caucho.com
>> > http://maillist.caucho.com/mailman/listinfo/resin-interest
>> >
>>
>>
>>
>> _______________________________________________
>> resin-interest mailing list
>> resin-interest@caucho.com
>> http://maillist.caucho.com/mailman/listinfo/resin-interest
>>
>
>
_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to