Compilerfehler: apr-libs
Sascha Schulte <[email protected]> Mon, 19 Nov 2007 20:02:35 +0100
| Newsgroups | gmane.comp.cms.opengroupware.user.german |
|---|---|
| Message-ID | <[email protected]> |
Hallo zusammen,
Ich bekomme reproduzierbar Fehlermeldungen bzgl. defekter Header bei den
APR-libs. Aufgrund der Menge der Fehlermeldungen w=FCrde ich aber eher
vermuten, dass hier was anderes als apr kaputt ist, da ansonsten so
ziemlich jedes einzelne Zeichen defekt w=E4re....
Ich benutze Gentoo, alle tools und libs sind auf dem neuesten Stand.
Ogo installiere ich =FCber das ogo-ebuild, was bei anderen PCs auch schon
einwandfrei funktioniert hat.
Die darin verwendete Ogo-Version ist "repository:
http://svn.opengroupware.org/OpenGroupware.org/releases/1.1.6-yummy At
revision 2048."
Meine Apr-libs und tools sind Version 1.2.11. Ein downgrade auf 1.2.8
brachte keine =C4nderung.
Wie unten in den logs erkennbar (Zeile 9), werden die apr.h usw nicht
gefunden. Diese befinden sich in /usr/include/apr-1 mit link auf
/usr/include/apr
Anhang 1 zeigt diese Fehlermeldungen. Anhang 2 zeigt was passiert wenn
ich die apr-header nach /usr'/include/apache2 kopiere, so also
sicherstelle dass sie auf jeden fall verf=FCgbar sind.
Hat jemand einen Tip was ich machen k=F6nnte?
Danke, Sascha
Anhang1
------------
.....bis hier alles ok......
make[2]: Leaving directory
`/var/tmp/portage/net-misc/opengroupware-1.1.6/work/opengroupware-1.1.6/O=
penGroupware.org/PDA/OGoPalmWebUI'M
make[1]: Leaving directory
`/var/tmp/portage/net-misc/opengroupware-1.1.6/work/opengroupware-1.1.6/O=
penGroupware.org/PDA'M
* Apache connectorM
gcc -Wall -I. -fPIC -O2 -march=3Di686 -pipe -I/usr/include/apache2 -c
-o globals.o globals.cM
gcc -Wall -I. -fPIC -O2 -march=3Di686 -pipe -I/usr/include/apache2 -c
-o handler.o handler.cM
In file included from /usr/include/apache2/httpd.h:43,M
from common.h:37,M
from handler.c:22:M
/usr/include/apache2/ap_config.h:25:17: error: apr.h: No such file or
directoryM
/usr/include/apache2/ap_config.h:26:23: error: apr_hooks.h: No such file
or directoryM
/usr/include/apache2/ap_config.h:27:32: error: apr_optional_hooks.h: No
such file or directoryM
In file included from /usr/include/apache2/httpd.h:46,M
from common.h:37,M
from handler.c:22:M
/usr/include/apache2/ap_release.h:25:41: error: apr_general.h: No such
file or directoryM
In file included from common.h:37,M
from handler.c:22:M
/usr/include/apache2/httpd.h:50:24: error: apr_tables.h: No such file or
directoryM
/usr/include/apache2/httpd.h:51:23: error: apr_pools.h: No such file or
directoryM
/usr/include/apache2/httpd.h:52:22: error: apr_time.h: No such file or
directoryM
/usr/include/apache2/httpd.h:53:28: error: apr_network_io.h: No such
file or directoryM
/usr/include/apache2/httpd.h:54:25: error: apr_buckets.h: No such file
or directoryM
/usr/include/apache2/httpd.h:55:22: error: apr_poll.h: No such file or
directoryM
In file included from /usr/include/apache2/httpd.h:59,M
from common.h:37,M
from handler.c:22:M
/usr/include/apache2/ap_regex.h:87: error: expected
specifier-qualifier-list before 'apr_size_t'M
/usr/include/apache2/ap_regex.h:118: error: expected declaration
specifiers or '...' before 'apr_size_t'M
/usr/include/apache2/ap_regex.h:127: error: expected '=3D', ',', ';',
'asm' or '__attribute__' before 'ap_regerror'M
In file included from common.h:37,M
from handler.c:22:M
/usr/include/apache2/httpd.h:453: error: expected ')' before '*' tokenM
/usr/include/apache2/httpd.h:623: error: expected
specifier-qualifier-list before 'apr_int64_t'M
/usr/include/apache2/httpd.h:745:21: error: apr_uri.h: No such file or
directoryM
/usr/include/apache2/httpd.h:752: error: expected
specifier-qualifier-list before 'apr_pool_t'M
/usr/include/apache2/httpd.h:768: error: expected
specifier-qualifier-list before 'apr_pool_t'M
/usr/include/apache2/httpd.h:1030: error: expected
specifier-qualifier-list before 'apr_pool_t'M
/usr/include/apache2/httpd.h:1107: error: expected
specifier-qualifier-list before 'APR_RING_ENTRY'M
..... sehr viele =E4hnliche Meldung .....
handler.c:680: error: 'request_rec' has no member named 'status'
handler.c:681: error: 'request_rec' has no member named 'status_line'
handler.c:685: error: 'headers' undeclared (first use in this function)
handler.c:688: error: 'request_rec' has no member named 'server'
handler.c:690: warning: implicit declaration of function 'NGScanHeaders'
handler.c:690: error: 'request_rec' has no member named 'pool'
handler.c:691: error: 'request_rec' has no member named 'server'
handler.c:695: error: too many arguments to function '_copyHeadersToReque=
st'
handler.c:703: error: 'request_rec' has no member named 'header_only'
handler.c:707: warning: implicit declaration of function 'apr_pcalloc'
handler.c:707: error: 'request_rec' has no member named 'pool'
handler.c:707: warning: assignment makes pointer from integer without a c=
ast
handler.c:708: error: 'request_rec' has no member named 'server'
handler.c:724: error: 'request_rec' has no member named 'server'
handler.c:748: error: 'request_rec' has no member named 'server'
make: *** [handler.o] Error 1
*
* ERROR: net-misc/opengroupware-1.1.6 failed.
* Call stack:
* ebuild.sh, line 1701: Called dyn_compile
* ebuild.sh, line 1039: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* opengroupware-1.1.6.ebuild, line 316: Called die
* The specific snippet of code:
* eval make ${make_eval} \
* || die "make failed"
* The die message:
* make failed
*
* If you need support, post the topmost build error, and the call stack
if relevant.
* A complete build log is located at
'/var/tmp/portage/net-misc/opengroupware-1.1.6/temp/build.log'.
* This ebuild is from an overlay: '/usr/local/portage/'
Anhang 2
----------------------
....bis hier alles ok.....
make[2]: Leaving directory
`/var/tmp/portage/net-misc/opengroupware-1.1.6/work/opengroupware-1.1.6/O=
penGroupware.org/PDA/OGoPalmWebUI'
make[1]: Leaving directory
`/var/tmp/portage/net-misc/opengroupware-1.1.6/work/opengroupware-1.1.6/O=
penGroupware.org/PDA'
* Apache connector
gcc -Wall -I. -fPIC -O2 -march=3Di686 -pipe -I/usr/include/apache2 -c
-o globals.o globals.c
gcc -Wall -I. -fPIC -O2 -march=3Di686 -pipe -I/usr/include/apache2 -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/apache2/apr.h:273: error: expected '=3D', ',', ';', 'asm' or
'__attribute__' before 'apr_off_t'
In file included from /usr/include/apache2/apr_file_io.h:29,
from /usr/include/apache2/apr_network_io.h:26,
from /usr/include/apache2/httpd.h:53,
from common.h:37,
from handler.c:22:
/usr/include/apache2/apr_file_info.h:204: error: expected
specifier-qualifier-list before 'apr_off_t'
In file included from /usr/include/apache2/apr_network_io.h:26,
from /usr/include/apache2/httpd.h:53,
from common.h:37,
from handler.c:22:
/usr/include/apache2/apr_file_io.h:551: error: expected declaration
specifiers or '...' before 'apr_off_t'
/usr/include/apache2/apr_file_io.h:747: 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/apache2/apr_network_io.h:545: error: expected declaration
specifiers or '...' before 'apr_off_t'
In file included from /usr/include/apache2/apr_buckets.h:32,
from /usr/include/apache2/httpd.h:54,
from common.h:37,
from handler.c:22:
/usr/include/apache2/apr_mmap.h:134: error: expected declaration
specifiers or '...' before 'apr_off_t'
/usr/include/apache2/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/apache2/apr_buckets.h:242: error: expected
specifier-qualifier-list before 'apr_off_t'
/usr/include/apache2/apr_buckets.h:706: error: expected declaration
specifiers or '...' before 'apr_off_t'
/usr/include/apache2/apr_buckets.h:718: error: expected declaration
specifiers or '...' before 'apr_off_t'
/usr/include/apache2/apr_buckets.h:754: error: expected declaration
specifiers or '...' before 'apr_off_t'
/usr/include/apache2/apr_buckets.h:890: error: expected declaration
specifiers or '...' before 'apr_off_t'
/usr/include/apache2/apr_buckets.h:891: error: expected declaration
specifiers or '...' before 'apr_off_t'
/usr/include/apache2/apr_buckets.h:1168: error: expected declaration
specifiers or '...' before 'apr_off_t'
/usr/include/apache2/apr_buckets.h:1367: error: expected declaration
specifiers or '...' before 'apr_off_t'
/usr/include/apache2/apr_buckets.h:1381: error: expected declaration
specifiers or '...' before 'apr_off_t'
/usr/include/apache2/apr_buckets.h:1431: error: expected declaration
specifiers or '...' before 'apr_off_t'
/usr/include/apache2/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:848: 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 '=3D', ',', ';',
'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/apache2/apr_strings.h:299: error: expected declaration
specifiers or '...' before 'apr_off_t'
/usr/include/apache2/apr_strings.h:315: error: expected ')' before '*' to=
ken
/usr/include/apache2/apr_strings.h:351: error: expected ')' before 'size'
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'
make: *** [handler.o] Error 1
*
* ERROR: net-misc/opengroupware-1.1.6 failed.
* Call stack:
* ebuild.sh, line 1701: Called dyn_compile
* ebuild.sh, line 1039: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* opengroupware-1.1.6.ebuild, line 316: Called die
* The specific snippet of code:
* eval make ${make_eval} \
* || die "make failed"
* The die message:
* make failed
--=20
OpenGroupware.org Users German
users-de-7882/jkIBneb7NEy/Hq5q9i2O/[email protected]
http://mail.opengroupware.org/mailman/listinfo/users-de