Because I failed in compilation procedure, I just tried installing the gateway as before without the patch. I patched after compiling to avoid errors in ./configure and make (thinking I would be able to avoid the erring HUNKS). I followed this procedure is in sqlbox/Makefile.

gateway# ./configure
...
thank you for using kannel
gateway# make
...
chmod 0755 gw-config
gateway# make bindir=/usr/local/kannel install
...
/usr/bin/install -c -d /usr/local/lib/kannel
/usr/bin/install -c -m 644 libgwlib.a /usr/local/lib/kannel

Then I started patching. $KANNEL=/usr/local/kannel/gateway

kannel# cvs -d ... sqlbox
//download message
sqlbox# patch -p0 -d ${KANNEL} < sqlbox.patch
patching file Makefile.in
patching file configure
Hunk #1 succeeded at 81 (offset -4 lines).
Hunk #2 FAILED at 4656.
Hunk #3 FAILED at 4703.
Hunk #4 succeeded at 5466 (offset -309 lines).
2 out of 4 hunks FAILED -- saving rejects to file configure.rej
patching file configure.in
Hunk #1 FAILED at 913.
Hunk #2 succeeded at 1081 (offset -89 lines).
1 out of 2 hunks FAILED -- saving rejects to file configure.in.rej
patching file gw/smsbox.c
Hunk #1 succeeded at 3165 with fuzz 2 (offset -137 lines).
Hunk #2 succeeded at 3346 (offset -2 lines).
patching file gwlib/cfg.def
Hunk #1 succeeded at 238 (offset -5 lines).
Hunk #2 succeeded at 550 (offset -5 lines).

Same problem I think with patching before compiling procedure. Pls help. Thanks in advance.

Julius


Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2ยข/min or less.

Reply via email to