Hello Everyone,

I resolve this issue. But now I have one more serious issue with SQLBox.

My Current Configurations:

*Kannel SMS Gateway:*

./configure [Success]
./configure --with-mongodb [Success]
make [Success]
sudo make install [Success]

*SQLBox:*

./configure [Success]
make [Failed]

/* Due to It shows me that kannel is not configured with any database. */
Error Logs:

make  all-recursive
make[1]: Entering directory `/home/administrator/kannel/sqlbox'
Making all in gw
make[2]: Entering directory `/home/administrator/kannel/sqlbox/gw'
gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw    -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -MT sqlbox.o -MD -MP
-MF .deps/sqlbox.Tpo -c -o sqlbox.o sqlbox.c
sqlbox.c:98:2: error: #error You need support for at least one DB engine.
Please recompile Kannel.
 #error You need support for at least one DB engine. Please recompile
Kannel.
  ^
sqlbox.c: In function ‘run_sqlbox’:
sqlbox.c:466:10: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
     fd = (int)arg;
          ^
In file included from /usr/local/include/kannel/gwlib/gwlib.h:82:0,
                 from sqlbox.c:66:
sqlbox.c: In function ‘wait_for_connections’:
sqlbox.c:506:39: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
             gwthread_create(function, (void *)fd);
                                       ^
/usr/local/include/kannel/gwlib/gwthread.h:91:50: note: in definition of
macro ‘gwthread_create’
  (gwthread_create_real(func, __FILE__ ":" #func, arg))
                                                  ^
sqlbox.c: In function ‘sqlboxc_run’:
sqlbox.c:712:12: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
     port = (int)arg;
            ^
make[2]: *** [sqlbox.o] Error 1
make[2]: Leaving directory `/home/administrator/kannel/sqlbox/gw'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/administrator/kannel/sqlbox'
make: *** [all] Error 2



Please reply, I'm waiting for your valuable response.



Thanks & Regards
Aditya Khanna









On Wed, Nov 26, 2014 at 12:58 PM, Aditya Khanna <
aditya.khanna111...@gmail.com> wrote:

> Hello Everyone,
>
> I have successfully configured and installed Kannel SMS Gateway with
> MongoDB Database.
> But Now I'm facing some serious problems.
>
> The problem is that when I'm starting Bearerbox from Terminal, It gives me
> some error:
>
>
> *./bearerbox: error while loading shared libraries: libmongoc.so: cannot
> open shared object file: No such file or directory*
>
> Before Kannel Configuration I have configured *mongo-c-driver *in my
> system
>
> *.*
> I have configured files at
>
> */usr/local/include/mongo *and* /usr/local/lib*
>
>
>
> Please help me out.
>
> Regards
> Aditya Khanna
>
>

Reply via email to