tcl-rivet installieren

FreeBSD, Gentoo, openSUSE, CentOS, Ubuntu, Debian
nixix
Posts: 62
Joined: 2003-11-29 14:42

tcl-rivet installieren

Post by nixix » 2004-07-24 21:25

Hallo zusammen.

Wenn ich das tcl-rivet für den Apache (2) kompilieren möchte, erhalt di diese Ausgabe/Fehlermeldung:


./make.tcl shared
apache_multipart_buffer.o -> Command (sh): gcc -pipe -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -fPIC -Wall -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -Wno-implicit-int -fPIC -I/usr/include/apache2 -I/usr/include -DTCL_THREADED=0 -c apache_multipart_buffer.c
Error: In file included from apache_multipart_buffer.h:4,
from apache_multipart_buffer.c:16:
apache_request.h:38: error: parse error before "table"
apache_request.h:38: warning: no semicolon at end of struct or union
apache_request.h:49: error: parse error before '}' token
apache_request.h:49: warning: data definition has no type or storage class
apache_request.h:56: error: parse error before "table"
apache_request.h:56: warning: no semicolon at end of struct or union
apache_request.h:59: error: parse error before '*' token
apache_request.h:59: warning: data definition has no type or storage class
apache_request.h:60: error: parse error before '}' token
apache_request.h:90: error: parse error before '*' token
apache_request.h:90: warning: data definition has no type or storage class
apache_request.h:93: error: parse error before '*' token
apache_request.h:94: error: parse error before '*' token
apache_request.h:95: error: parse error before '*' token
apache_request.h:96: error: parse error before '*' token
apache_request.h:97: error: parse error before '*' token
apache_request.h:98: error: parse error before '*' token
apache_request.h:98: error: parse error before '*' token
apache_request.h:98: warning: data definition has no type or storage class
apache_request.h:99: error: parse error before '*' token
apache_request.h:100: error: parse error before '*' token
apache_request.h:103: error: parse error before '*' token
apache_request.h:103: error: parse error before '*' token
apache_request.h:103: warning: data definition has no type or storage class
apache_request.h:104: error: parse error before '*' token
apache_request.h:104: error: parse error before '*' token
apache_request.h:104: warning: data definition has no type or storage class
apache_request.h:106: error: parse error before '*' token
apache_request.h:107: error: parse error before '*' token
apache_request.h:126: error: parse error before '*' token
apache_request.h:129: error: parse error before '*' token
In file included from apache_multipart_buffer.c:16:
apache_multipart_buffer.h:33: error: parse error before '*' token
apache_multipart_buffer.h:33: warning: data definition has no type or storage class
apache_multipart_buffer.c: In function `fill_buffer':
apache_multipart_buffer.c:75: warning: implicit declaration of function `ap_hard_timeout'
apache_multipart_buffer.c:77: warning: implicit declaration of function `ap_kill_timeout'
apache_multipart_buffer.c: In function `multipart_buffer_new':
apache_multipart_buffer.c:174: warning: implicit declaration of function `ap_pcalloc'
apache_multipart_buffer.c:183: warning: implicit declaration of function `ap_pstrcat'
apache_multipart_buffer.c:183: warning: assignment makes pointer from integer without a cast
apache_multipart_buffer.c:184: warning: assignment makes pointer from integer without a cast
apache_multipart_buffer.c: At top level:
apache_multipart_buffer.c:192: error: parse error before '*' token
apache_multipart_buffer.c:193: warning: return type defaults to `int'
apache_multipart_buffer.c: In function `multipart_buffer_headers':
apache_multipart_buffer.c:194: error: `table' undeclared (first use in this function)
apache_multipart_buffer.c:194: error: (Each undeclared identifier is reported only once
apache_multipart_buffer.c:194: error: for each function it appears in.)
apache_multipart_buffer.c:194: error: `tab' undeclared (first use in this function)
apache_multipart_buffer.c:201: warning: implicit declaration of function `ap_make_table'
apache_multipart_buffer.c:209: warning: implicit declaration of function `ap_isspace'
apache_multipart_buffer.c:217: warning: implicit declaration of function `ap_table_add'
apache_multipart_buffer.c: In function `multipart_buffer_read_body':
apache_multipart_buffer.c:279: warning: assignment makes pointer from integer without a cast
Error: Compilation failed on command "sh {$COMP apache_multipart_buffer.c}"

Hiwneis: Das configure lief (vor dem kompilieren) problemlos:
./configure.tcl -with-apxs /usr/sbin/apxs2
Configuring
..........done.



Kann mir jemand helfen das zu installieren?

Vielen Dank,
NiX

captaincrunch
Userprojekt
Userprojekt
Posts: 7225
Joined: 2002-10-09 14:30
Location: Dorsten

Re: tcl-rivet installieren

Post by captaincrunch » 2004-07-25 11:44

Ich kenn zwar weder Apache2 noch tcl-rivet, aber irgendwie sieht mir das entweder

a) nach b0rked Sourcen, oder
b) fehlenden Devel-Paketen (unwahrscheinlicher)

aus.
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc