- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name: snoop
Subject: Re: mod_dpsearch

Я поставил последний апач только что 
http://mirrors.24-7-solutions.net/pub/apache/httpd/httpd-2.2.0.tar.gz 
обработчик заработал просто search.cgi, решил собрать с Mod_dpsearch указал 
ссылку на второй апатч он тоже версии 2.2.0 
Server version: Apache/2.0.51
Server built:   Feb 15 2005 15:52:03
Вот ошибка:
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I./../include -I/usr/include 
-I/usr/include/mysql -DAPACHE1 -I/usr/local/apache/include -g -O2 
-DDPS_CONF_DIR=\"/usr/local/dpsearch/etc\" 
-DDPS_VAR_DIR=\"/usr/local/dpsearch/var\" 
-DDPS_SHARE_DIR=\"/usr/local/dpsearch/share\" -c indexer.c -MT 
libdpsearch_mod_la-indexer.lo -MD -MP -MF .deps/libdpsearch_mod_la-indexer.TPlo 
 -fPIC -DPIC -o .libs/libdpsearch_mod_la-indexer.lo
In file included from /usr/local/apache/include/ap_config.h:25,
                 from /usr/local/apache/include/httpd.h:43,
                 from ../include/dps_config.h:11,
                 from ../include/dps_common.h:22,
                 from indexer.c:19:
/usr/local/apache/include/apr.h:270: error: syntax error before "apr_off_t"
/usr/local/apache/include/apr.h:270: warning: data definition has no type or 
storage class
In file included from /usr/local/apache/include/apr_file_io.h:29,
                 from /usr/local/apache/include/apr_network_io.h:26,
                 from /usr/local/apache/include/httpd.h:53,
                 from ../include/dps_config.h:11,
                 from ../include/dps_common.h:22,
                 from indexer.c:19:
/usr/local/apache/include/apr_file_info.h:204: error: syntax error before 
"apr_off_t"
/usr/local/apache/include/apr_file_info.h:204: warning: no semicolon at end of 
struct or union
/usr/local/apache/include/apr_file_info.h:206: warning: data definition has no 
type or storage class
/usr/local/apache/include/apr_file_info.h:219: error: syntax error before '}' 
token
In file included from /usr/local/apache/include/apr_network_io.h:26,
                 from /usr/local/apache/include/httpd.h:53,
                 from ../include/dps_config.h:11,
                 from ../include/dps_common.h:22,
                 from indexer.c:19:
/usr/local/apache/include/apr_file_io.h:548: error: syntax error before 
"apr_off_t"
/usr/local/apache/include/apr_file_io.h:740: error: syntax error before 
"apr_off_t"
In file included from /usr/local/apache/include/httpd.h:53,
                 from ../include/dps_config.h:11,
                 from ../include/dps_common.h:22,
                 from indexer.c:19:
/usr/local/apache/include/apr_network_io.h:545: error: syntax error before 
"apr_off_t"
In file included from /usr/local/apache/include/apr_buckets.h:32,
                 from /usr/local/apache/include/httpd.h:54,
                 from ../include/dps_config.h:11,
                 from ../include/dps_common.h:22,
                 from indexer.c:19:
/usr/local/apache/include/apr_mmap.h:134: error: syntax error before "apr_off_t"
/usr/local/apache/include/apr_mmap.h:161: error: syntax error before "apr_off_t"
In file included from /usr/local/apache/include/httpd.h:54,
                 from ../include/dps_config.h:11,
                 from ../include/dps_common.h:22,
                 from indexer.c:19:
/usr/local/apache/include/apr_buckets.h:242: error: syntax error before 
"apr_off_t"
/usr/local/apache/include/apr_buckets.h:242: warning: no semicolon at end of 
struct or union
/usr/local/apache/include/apr_buckets.h:255: error: syntax error before '}' 
token
/usr/local/apache/include/apr_buckets.h:634: error: field `b' has incomplete 
type
/usr/local/apache/include/apr_buckets.h:706: error: syntax error before 
"apr_off_t"
/usr/local/apache/include/apr_buckets.h:718: error: syntax error before 
"apr_off_t"
/usr/local/apache/include/apr_buckets.h:754: error: syntax error before 
"apr_off_t"
/usr/local/apache/include/apr_buckets.h:890: error: syntax error before 
"apr_off_t"
/usr/local/apache/include/apr_buckets.h:1168: error: syntax error before 
"apr_off_t"
/usr/local/apache/include/apr_buckets.h:1367: error: syntax error before 
"apr_off_t"
/usr/local/apache/include/apr_buckets.h:1381: error: syntax error before 
"apr_off_t"
/usr/local/apache/include/apr_buckets.h:1431: error: syntax error before 
"apr_off_t"
/usr/local/apache/include/apr_buckets.h:1447: error: syntax error before 
"apr_off_t"
In file included from /usr/local/apache/include/httpd.h:62,
                 from ../include/dps_config.h:11,
                 from ../include/dps_common.h:22,
                 from indexer.c:19:
/usr/include/stdlib.h:569: error: `free' redeclared as different kind of symbol
/usr/local/apache/include/apr_buckets.h:252: error: previous declaration of 
`free'
In file included from ../include/dps_config.h:11,
                 from ../include/dps_common.h:22,
                 from indexer.c:19:
/usr/local/apache/include/httpd.h:826: error: syntax error before "apr_off_t"
/usr/local/apache/include/httpd.h:826: warning: no semicolon at end of struct 
or union
/usr/local/apache/include/httpd.h:828: warning: data definition has no type or 
storage class
/usr/local/apache/include/httpd.h:839: error: syntax error before "clength"
/usr/local/apache/include/httpd.h:839: warning: data definition has no type or 
storage class
/usr/local/apache/include/httpd.h:842: error: syntax error before "remaining"
/usr/local/apache/include/httpd.h:842: warning: data definition has no type or 
storage class
/usr/local/apache/include/httpd.h:844: error: syntax error before "read_length"
/usr/local/apache/include/httpd.h:844: warning: data definition has no type or 
storage class
/usr/local/apache/include/httpd.h:975: error: syntax error before '}' token
In file included from /usr/local/apache/include/http_core.h:32,
                 from ../include/dps_config.h:13,
                 from ../include/dps_common.h:22,
                 from indexer.c:19:
/usr/local/apache/include/util_filter.h:142: error: syntax error before 
"apr_off_t"
/usr/local/apache/include/util_filter.h:299: error: syntax error before 
"apr_off_t"
In file included from ../include/dps_config.h:13,
                 from ../include/dps_common.h:22,
                 from indexer.c:19:
/usr/local/apache/include/http_core.h:229: error: syntax error before 
"ap_get_limit_req_body"
/usr/local/apache/include/http_core.h:229: warning: data definition has no type 
or storage class
/usr/local/apache/include/http_core.h:288: error: `ap_auth_type' redeclared as 
different kind of symbol
/usr/local/apache/include/httpd.h:898: error: previous declaration of 
`ap_auth_type'
/usr/local/apache/include/http_core.h:672: error: syntax error before 
"apr_off_t"
In file included from /usr/include/pthread.h:21,
                 from /usr/local/apache/include/apr_portable.h:47,
                 from /usr/local/apache/include/http_protocol.h:31,
                 from ../include/dps_config.h:16,
                 from ../include/dps_common.h:22,
                 from indexer.c:19:
/usr/include/time.h:254: error: `ctime' redeclared as different kind of symbol
/usr/local/apache/include/apr_file_info.h:212: error: previous declaration of 
`ctime'
In file included from ../include/dps_config.h:16,
                 from ../include/dps_common.h:22,
                 from indexer.c:19:
/usr/local/apache/include/http_protocol.h:111: error: syntax error before 
"apr_off_t"
/usr/local/apache/include/http_protocol.h:203: error: syntax error before 
"apr_off_t"
/usr/local/apache/include/httpd.h:923: error: storage size of `finfo' isn't 
known
make[2]: *** [libdpsearch_mod_la-indexer.lo] Error 1
make[2]: Leaving directory `/install/dpsearch-4.39-19042006/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/install/dpsearch-4.39-19042006/src'
make: *** [all-recursive] Error 1

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

Read the full topic here:
http://dataparksearch.org/cgi-bin/simpleforum.cgi?fid=04;topic_id=1145527339

Reply via email to