After 2hrs of compiling I finally got iksemel and kannel in needed versions at /usr/local.
Then configure passes ( LDFLAGS="-L/usr/local/iksemel-1.4/lib" CPPFLAGS="-I/usr/src/gateway-1.3.2 -I/usr/src/gateway-1.3.2/wap" ./configure --prefix=/usr/local/baraza --with-kannel-dir=/usr/local/kannel-1.3.2 ), but make fails with:
root@klara:/usr/src/baraza [0] # make
make all-am
make[1]: Entering directory `/usr/src/baraza'
gcc -DHAVE_CONFIG_H -I. -I/usr/src/gateway-1.3.2 -I/usr/src/gateway-1.3.2/wap -I/usr/include/postgresql -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -O4 -Wall -D_LARGE_FILES= -I/usr/local/kannel-1.3.2/include/kannel -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/libxml2 -I/usr/include/openssl -I/usr/include -I/usr/include -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
main.c: In function ‘main’:
main.c:139: warning: implicit declaration of function ‘gwlist_create’
main.c:139: warning: assignment makes pointer from integer without a cast
main.c:140: warning: implicit declaration of function ‘gwlist_add_producer’
main.c:142: warning: assignment makes pointer from integer without a cast
main.c:145: warning: assignment makes pointer from integer without a cast
main.c:148: warning: assignment makes pointer from integer without a cast
main.c:199: warning: implicit declaration of function ‘gwlist_produce’
main.c:218: warning: implicit declaration of function ‘gwlist_remove_producer’
main.c:232: warning: implicit declaration of function ‘gwlist_destroy’
mv -f .deps/main.Tpo .deps/main.Po
gcc -DHAVE_CONFIG_H -I. -I/usr/src/gateway-1.3.2 -I/usr/src/gateway-1.3.2/wap -I/usr/include/postgresql -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -O4 -Wall -D_LARGE_FILES= -I/usr/local/kannel-1.3.2/include/kannel -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/libxml2 -I/usr/include/openssl -I/usr/include -I/usr/include -MT cspd.o -MD -MP -MF .deps/cspd.Tpo -c -o cspd.o cspd.c
cspd.c: In function ‘request_handler’:
cspd.c:52: warning: implicit declaration of function ‘gwlist_consume’
cspd.c:52: warning: assignment makes pointer from integer without a cast
cspd.c:115: warning: implicit declaration of function ‘octstr_str_case_compare’
cspd.c:248: warning: implicit declaration of function ‘gwlist_create’
cspd.c:248: warning: initialization makes pointer from integer without a cast
cspd.c:298: warning: implicit declaration of function ‘gwlist_len’
cspd.c:299: warning: implicit declaration of function ‘gwlist_get’
cspd.c:299: warning: initialization makes pointer from integer without a cast
cspd.c:332: warning: implicit declaration of function ‘gwlist_append’
cspd.c:359: warning: implicit declaration of function ‘gwlist_destroy’
mv -f .deps/cspd.Tpo .deps/cspd.Po
gcc -DHAVE_CONFIG_H -I. -I/usr/src/gateway-1.3.2 -I/usr/src/gateway-1.3.2/wap -I/usr/include/postgresql -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -O4 -Wall -D_LARGE_FILES= -I/usr/local/kannel-1.3.2/include/kannel -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/libxml2 -I/usr/include/openssl -I/usr/include -I/usr/include -MT sspd.o -MD -MP -MF .deps/sspd.Tpo -c -o sspd.o sspd.c
sspd.c: In function ‘s2s_queue_runner’:
sspd.c:36: warning: implicit declaration of function ‘gwlist_consume’
sspd.c:36: warning: assignment makes pointer from integer without a cast
sspd.c:59: warning: format ‘%lld’ expects type ‘long long int’, but argument 3 has type ‘int64_t’
sspd.c:80: warning: format ‘%lld’ expects type ‘long long int’, but argument 3 has type ‘int64_t’
sspd.c:90: warning: format ‘%lld’ expects type ‘long long int’, but argument 3 has type ‘int64_t’
sspd.c:94: warning: implicit declaration of function ‘gwlist_create’
sspd.c:94: warning: assignment makes pointer from integer without a cast
sspd.c:104: warning: implicit declaration of function ‘gwlist_append’
sspd.c:121: warning: implicit declaration of function ‘gwlist_len’
sspd.c:122: warning: implicit declaration of function ‘gwlist_get’
sspd.c:122: warning: assignment makes pointer from integer without a cast
sspd.c:125: warning: format ‘%lld’ expects type ‘long long int’, but argument 3 has type ‘int64_t’
sspd.c:132: warning: format ‘%lld’ expects type ‘long long int’, but argument 3 has type ‘int64_t’
sspd.c:141: warning: format ‘%lld’ expects type ‘long long int’, but argument 4 has type ‘int64_t’
sspd.c:156: warning: implicit declaration of function ‘gwlist_extract_first’
sspd.c:156: warning: assignment makes pointer from integer without a cast
sspd.c:160: warning: implicit declaration of function ‘gwlist_destroy’
sspd.c: In function ‘sspd_queue_runner’:
sspd.c:177: warning: assignment makes pointer from integer without a cast
sspd.c:178: warning: implicit declaration of function ‘gwlist_add_producer’
sspd.c:207: warning: implicit declaration of function ‘gwlist_produce’
sspd.c:216: warning: implicit declaration of function ‘gwlist_remove_producer’
mv -f .deps/sspd.Tpo .deps/sspd.Po
gcc -DHAVE_CONFIG_H -I. -I/usr/src/gateway-1.3.2 -I/usr/src/gateway-1.3.2/wap -I/usr/include/postgresql -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -O4 -Wall -D_LARGE_FILES= -I/usr/local/kannel-1.3.2/include/kannel -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/libxml2 -I/usr/include/openssl -I/usr/include -I/usr/include -MT cspcir.o -MD -MP -MF .deps/cspcir.Tpo -c -o cspcir.o cspcir.c
cspcir.c: In function ‘cir_http_request_handler’:
cspcir.c:70: warning: implicit declaration of function ‘gwlist_consume’
cspcir.c:70: warning: assignment makes pointer from integer without a cast
cspcir.c: In function ‘cir_newmsg’:
cspcir.c:123: warning: format ‘%lld’ expects type ‘long long int’, but argument 3 has type ‘int64_t’
cspcir.c: In function ‘cir_tcp_handler’:
cspcir.c:404: warning: implicit declaration of function ‘conn_register_real’
cspcir.c:405: error: ‘conn_callback_data_destroyer_t’ undeclared (first use in this function)
cspcir.c:405: error: (Each undeclared identifier is reported only once
cspcir.c:405: error: for each function it appears in.)
cspcir.c:405: error: expected expression before ‘)’ token
cspcir.c: In function ‘start_CIR_handlers’:
cspcir.c:427: warning: implicit declaration of function ‘fdset_create_real’
cspcir.c:427: warning: assignment makes pointer from integer without a cast
cspcir.c: In function ‘add_multipart_element’:
cspcir.c:469: warning: implicit declaration of function ‘mime_replace_headers’
cspcir.c:472: warning: implicit declaration of function ‘mime_entity_set_body’
cspcir.c:474: warning: implicit declaration of function ‘mime_entity_add_part’
cspcir.c: In function ‘send_to_bot’:
cspcir.c:501: warning: format ‘%lld’ expects type ‘long long int’, but argument 3 has type ‘int64_t’
cspcir.c:524: warning: null argument where non-null required (argument 1)
cspcir.c:524: warning: null argument where non-null required (argument 1)
cspcir.c:608: warning: implicit declaration of function ‘gwlist_destroy’
cspcir.c:613: warning: format ‘%lld’ expects type ‘long long int’, but argument 3 has type ‘int64_t’
make[1]: *** [cspcir.o] Error 1
make[1]: Leaving directory `/usr/src/baraza'
make: *** [all] Error 2
Is there anything that can be done with this? It seems to me that binary distibution of baraza is rather old (deprecated?) and thus I wanted to compile CVS version.
System Debian 5.0.5
CVS version from Sat 9-Oct-2010.