David, This did the trick. It works fine now. Thanks for the help. Much Appreciated.
Bob --- "Hancock, David (DHANCOCK)" <[EMAIL PROTECTED]> wrote: > I'm not running Red Hat 9.0, but it's "modern" > enough that maybe it runs > Apache 2.0 by default. If so, you probably want to > compile mod_webkit2 > instead of mod_webkit. > > Caveat: This advice could also be completely > wrong--I use Red Hat 8.x and > Apache 1.3.x. > > Cheers! > -- > David Hancock | [EMAIL PROTECTED] | 410-266-4384 > > > -----Original Message----- > From: Robert Theiss [mailto:[EMAIL PROTECTED] > Sent: Sunday, April 11, 2004 11:46 AM > To: [EMAIL PROTECTED] > Subject: [Webware-discuss] mod_webkit compile > problems > > > Hello All, > > I'm trying to compile mod_webkit on a Red Hat 9.0 > system. The system is 'out of the box' with > virtually > no modifications, other than to install apxs. I'm a > WebWare 'rookie', but I know my way around a > unix/linux system fairly well. Any help is greatly > appreciated. Here's the messages I'm getting: > > [EMAIL PROTECTED] mod_webkit]# make > /usr/sbin/apxs -o mod_webkit.so -c mod_webkit.c > marshal.c > /usr/lib/httpd/build/libtool --silent --mode=compile > gcc -prefer-pic -O2 -g -march=i386 -mcpu=i686 > -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 > -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE > -D_SVID_SOURCE -D_GNU_SOURCE -pthread > -DNO_DBM_REWRITEMAP -I/usr/include/httpd -c -o > mod_webkit.lo mod_webkit.c && touch mod_webkit.slo > In file included from mod_webkit.c:11: > mod_webkit.h:45: parse error before "pool" > mod_webkit.h:45: warning: no semicolon at end of > struct or union > mod_webkit.h:47: parse error before '}' token > mod_webkit.h:47: warning: data definition has no > type > or storage class > mod_webkit.c:56: parse error before "webkit_module" > mod_webkit.c:56: warning: data definition has no > type > or storage class > mod_webkit.c: In function `log_message': > mod_webkit.c:63: warning: passing arg 4 of > `ap_log_error' makes integer from pointer without a > cast > mod_webkit.c:63: warning: passing arg 5 of > `ap_log_error' from incompatible pointer type > mod_webkit.c:63: too few arguments to function > `ap_log_error' > mod_webkit.c: In function `resolve_host': > mod_webkit.c:87: warning: assignment makes pointer > from integer without a cast > mod_webkit.c:89: dereferencing pointer to incomplete > type > mod_webkit.c: In function `handle_wkserver': > mod_webkit.c:117: warning: passing arg 4 of > `ap_log_error' makes integer from pointer without a > cast > mod_webkit.c:117: warning: passing arg 5 of > `ap_log_error' from incompatible pointer type > mod_webkit.c:117: too few arguments to function > `ap_log_error' > mod_webkit.c: At top level: > mod_webkit.c:171: parse error before '*' token > mod_webkit.c: In function `wk_create_dir_config': > mod_webkit.c:175: `dirspec' undeclared (first use in > this function) > mod_webkit.c:175: (Each undeclared identifier is > reported only once > mod_webkit.c:175: for each function it appears in.) > mod_webkit.c:180: `p' undeclared (first use in this > function) > mod_webkit.c: At top level: > mod_webkit.c:203: parse error before '*' token > mod_webkit.c: In function `setup_WFILE': > mod_webkit.c:205: `wf' undeclared (first use in this > function) > mod_webkit.c: In function `util_read': > mod_webkit.c:249: warning: assignment makes pointer > from integer without a cast > mod_webkit.c: At top level: > mod_webkit.c:354: parse error before "WFILE" > mod_webkit.c: In function > `transact_with_app_server': > mod_webkit.c:357: `BUFF' undeclared (first use in > this > function) > mod_webkit.c:357: `buffsocket' undeclared (first use > in this function) > mod_webkit.c:363: `cfg' undeclared (first use in > this > function) > mod_webkit.c:374: `B_SOCKET' undeclared (first use > in > this function) > mod_webkit.c:374: `B_RDWR' undeclared (first use in > this function) > mod_webkit.c:381: `int_dict' undeclared (first use > in > this function) > mod_webkit.c:382: `whole_dict' undeclared (first use > in this function) > mod_webkit.c:382: `length' undeclared (first use in > this function) > mod_webkit.c:388: warning: initialization makes > pointer from integer without a cast > mod_webkit.c: In function `content_handler': > mod_webkit.c:485: `env_dict' undeclared (first use > in > this function) > mod_webkit.c:494: `whole_dict' undeclared (first use > in this function) > mod_webkit.c:495: `int_dict' undeclared (first use > in > this function) > mod_webkit.c:498: `array_header' undeclared (first > use > in this function) > mod_webkit.c:498: `hdr_arr' undeclared (first use in > this function) > mod_webkit.c:499: `table_entry' undeclared (first > use > in this function) > mod_webkit.c:499: `elts' undeclared (first use in > this > function) > mod_webkit.c:503: request for member `module_index' > in > something not a structure or union > mod_webkit.c:529: parse error before ')' token > mod_webkit.c:540: warning: assignment makes pointer > from integer without a cast > mod_webkit.c: At top level: > mod_webkit.c:601: parse error before "pool" > mod_webkit.c: In function `wk_init': > mod_webkit.c:606: warning: passing arg 1 of > `ap_add_version_component' from incompatible pointer > type > mod_webkit.c:606: too few arguments to function > `ap_add_version_component' > mod_webkit.c: At top level: > mod_webkit.c:628: warning: initialization from > incompatible pointer type > mod_webkit.c:637: warning: initialization from > incompatible pointer type > mod_webkit.c:646: warning: initialization from > incompatible pointer type > mod_webkit.c:677: parse error before > "webkit_handlers" > mod_webkit.c:679: warning: braces around scalar > initializer > mod_webkit.c:679: warning: (near initialization for > `webkit_handlers[0]') > mod_webkit.c:679: warning: initialization makes > integer from pointer without a cast > mod_webkit.c:679: warning: excess elements in scalar > initializer > mod_webkit.c:679: warning: (near initialization for > `webkit_handlers[0]') > mod_webkit.c:680: warning: braces around scalar > initializer > mod_webkit.c:680: warning: (near initialization for > `webkit_handlers[1]') > mod_webkit.c:680: warning: initialization makes > integer from pointer without a cast > mod_webkit.c:680: warning: excess elements in scalar > initializer > mod_webkit.c:680: warning: (near initialization for > `webkit_handlers[1]') > mod_webkit.c:681: warning: braces around scalar > initializer > mod_webkit.c:681: warning: (near initialization for > `webkit_handlers[2]') > mod_webkit.c:681: warning: initialization makes > integer from pointer without a cast > mod_webkit.c:682: warning: data definition has no > type > or storage class > mod_webkit.c:687: parse error before "webkit_module" > mod_webkit.c:688: > `this_module_needs_to_be_ported_to_apache_2_0' > undeclared here (not in a function) > mod_webkit.c:688: initializer element is not > constant > mod_webkit.c:688: (near initialization for > `webkit_module') > mod_webkit.c:689: warning: excess elements in scalar > === message truncated === __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
