[OGo-Users] OGo on opensuse 10.2
Sebastian Reitenbach
users@opengroupware.org
Tue, 23 Jan 2007 07:15:56 -0000
Hi,
I installed all rpm packages of ogo for suse, installed apache and apr devel
packages to compile mod_ngobjweb for apache2.2.
I sourced the GNUstep.sh file, and tried to compile the module with following
command:
C_INCLUDE_PATH="/usr/include/apr-1" CFLAGS=-pthread
CPPFLAGS="-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE" gmake
but it ended up with the error output below:
any hint what I can do to let the module work with apache on opensuse 10.2?
kind regards
Sebastian
gcc -Wall -I. -fPIC -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall
-D_FORTIFY_SOURCE=2 -g -fPIC -Wall -fno-strict-aliasing -DLDAP_DEPRECATED
-I/usr/include/apache2 -Wno-import -c -o
globals.o globals.c
gcc -Wall -I. -fPIC -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall
-D_FORTIFY_SOURCE=2 -g -fPIC -Wall -fno-strict-aliasing -DLDAP_DEPRECATED
-I/usr/include/apache2 -Wno-import -c -o
handler.o handler.c
In file included from /usr/include/apache2/ap_config.h:25,
from /usr/include/apache2/httpd.h:43,
from common.h:37,
from handler.c:22:
/usr/include/apr-1/apr.h:270: error: expected ‘=’, ‘,’,
‘;’, ‘asm’
or ‘__attribute__’ before ‘apr_off_t’
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/apache2/httpd.h:53,
from common.h:37,
from handler.c:22:
/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/apache2/httpd.h:53,
from common.h:37,
from handler.c:22:
/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/apache2/httpd.h:53,
from common.h:37,
from handler.c:22:
/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/apache2/httpd.h:54,
from common.h:37,
from handler.c:22:
/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/apache2/httpd.h:54,
from common.h:37,
from handler.c:22:
/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 common.h:37,
from handler.c:22:
/usr/include/apache2/httpd.h:826: error: expected specifier-qualifier-list
before ‘apr_off_t’
In file included from /usr/include/apache2/http_core.h:32,
from common.h:38,
from handler.c:22:
/usr/include/apache2/util_filter.h:142: error: expected declaration specifiers
or ‘...’ before ‘apr_off_t’
/usr/include/apache2/util_filter.h:299: error: expected declaration specifiers
or ‘...’ before ‘apr_off_t’
In file included from common.h:38,
from handler.c:22:
/usr/include/apache2/http_core.h:229: error: expected ‘=’,
‘,’, ‘;’, ‘asm’
or ‘__attribute__’ before ‘ap_get_limit_req_body’
/usr/include/apache2/http_core.h:672: error: expected declaration specifiers
or ‘...’ before ‘apr_off_t’
In file included from common.h:41,
from handler.c:22:
/usr/include/apache2/http_protocol.h:111: error: expected declaration
specifiers or ‘...’ before ‘apr_off_t’
/usr/include/apache2/http_protocol.h:203: error: expected declaration
specifiers or ‘...’ before ‘apr_off_t’
In file included from common.h:47,
from handler.c:22:
/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’
In file included from handler.c:22:
common.h:51:29: error: apr-1/ap_config.h: No such file or directory
common.h:52:29: error: apr-1/ap_listen.h: No such file or directory
handler.c: In function ‘_getConfig’:
handler.c:39: error: ‘request_rec’ has no member named
‘per_dir_config’
handler.c:46: error: ‘request_rec’ has no member named
‘per_dir_config’
handler.c: In function ‘_readRequestBody’:
handler.c:82: error: ‘request_rec’ has no member named
‘headers_in’
handler.c: In function ‘_copyHeadersToRequest’:
handler.c:134: error: ‘request_rec’ has no member named
‘content_type’
handler.c:136: error: ‘request_rec’ has no member named
‘content_encoding’
handler.c:146: error: ‘request_rec’ has no member named
‘headers_out’
handler.c: In function ‘_writeInHeaders’:
handler.c:234: error: ‘request_rec’ has no member named
‘headers_in’
handler.c:236: error: ‘request_rec’ has no member named
‘headers_in’
handler.c: In function ‘ngobjweb_handler’:
handler.c:266: error: ‘request_rec’ has no member named
‘uri’
handler.c:271: error: ‘request_rec’ has no member named
‘handler’
handler.c:273: error: ‘request_rec’ has no member named
‘handler’
handler.c:273: error: ‘request_rec’ has no member named
‘handler’
handler.c:273: error: ‘request_rec’ has no member named
‘handler’
handler.c:273: error: ‘request_rec’ has no member named
‘handler’
handler.c:273: error: ‘request_rec’ has no member named
‘handler’
handler.c:273: error: ‘request_rec’ has no member named
‘handler’
handler.c:273: error: ‘request_rec’ has no member named
‘handler’
handler.c:273: error: ‘request_rec’ has no member named
‘handler’
handler.c:273: error: ‘request_rec’ has no member named
‘handler’
handler.c:273: error: ‘request_rec’ has no member named
‘handler’
handler.c:273: error: ‘request_rec’ has no member named
‘handler’
handler.c:273: error: ‘request_rec’ has no member named
‘handler’
handler.c:273: error: ‘request_rec’ has no member named
‘handler’
handler.c:273: error: ‘request_rec’ has no member named
‘handler’
handler.c:273: error: ‘request_rec’ has no member named
‘handler’
handler.c:273: error: ‘request_rec’ has no member named
‘handler’
handler.c:273: error: ‘request_rec’ has no member named
‘handler’
handler.c:273: error: ‘request_rec’ has no member named
‘handler’
handler.c:273: error: ‘request_rec’ has no member named
‘handler’
handler.c:273: error: ‘request_rec’ has no member named
‘handler’
handler.c:313: error: ‘request_rec’ has no member named
‘headers_in’
handler.c:488: error: ‘request_rec’ has no member named
‘ap_auth_type’
handler.c:501: error: ‘request_rec’ has no member named
‘user’
handler.c:544: warning: implicit declaration of function
‘ap_http_method’
handler.c:546: warning: format ‘%s’ expects type ‘char
*’, but argument 4 has
type ‘int’
handler.c:550: warning: format ‘%s’ expects type ‘char
*’, but argument 4 has
type ‘int’
handler.c:561: error: ‘request_rec’ has no member named
‘subprocess_env’
handler.c:562: error: ‘request_rec’ has no member named
‘subprocess_env’
gmake: *** [handler.o] Error 1
--
Sebastian Reitenbach Tel.: ++49-(0)3381-8904-451
RapidEye AG Fax: ++49-(0)3381-8904-101
Molkenmarkt 30 e-mail:reitenbach@rapideye.de
D-14776 Brandenburg web:http://www.rapideye.de