HI, This is simple way how to install smppbox with kannel
run these commands create a directory *gateway* under path /usr/local then run command *svn co https://svn.kannel.org/gateway/trunk* Create a directory *smppbox* under path /usr/local/gateway then run command *svn co https://svn.kannel.org/smppbox/trunk * then go to directory /usr/local/gateway/trunk and run these commands * ./configure make make install* Same command run under /usr/local/gateway/smppbox/trunk * ./configure make make install* Actually for open smppbox you need open source kannel, with 1.4.3 kannel it wont work. * Amritesh * On Thu, Sep 2, 2010 at 4:11 AM, Anshu Sah <[email protected]> wrote: > Hello Rene, > > The Configure command worked well after the command make install in the > Kannel folder. > > But when i run "make". It given the below error. Please suggest. > > -- > Regards > Anshu > > r...@msclient5:/projects/kannel/SMPPBox# make > make all-recursive > make[1]: Entering directory `/projects/kannel/SMPPBox' > Making all in gw > make[2]: Entering directory `/projects/kannel/SMPPBox/gw' > if gcc -DHAVE_CONFIG_H -I. -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 > -I/usr/include/mysql -MT smppbox.o -MD -MP -MF ".deps/smppbox.Tpo" -c -o > smppbox.o smppbox.c; \ > then mv -f ".deps/smppbox.Tpo" ".deps/smppbox.Po"; else rm -f > ".deps/smppbox.Tpo"; exit 1; fi > smppbox.c:80:26: error: gw/meta_data.h: No such file or directory > smppbox.c: In function ‘check_login’: > smppbox.c:280: warning: ignoring return value of ‘fscanf’, declared with > attribute warn_unused_result > smppbox.c: In function ‘send_pdu’: > smppbox.c:522: warning: passing argument 1 of ‘smpp_pdu_pack’ from > incompatible pointer type > /usr/local/include/kannel/gw/smsc/smpp_pdu.h:230: note: expected ‘struct > SMPP_PDU *’ but argument is of type ‘struct Octstr *’ > smppbox.c:522: error: too many arguments to function ‘smpp_pdu_pack’ > smppbox.c: In function ‘read_pdu’: > smppbox.c:579: error: too many arguments to function ‘smpp_pdu_unpack’ > smppbox.c: In function ‘msg_to_pdu’: > smppbox.c:629: warning: format ‘%d’ expects type ‘int’, but argument 5 has > type ‘long int’ > smppbox.c:629: warning: format ‘%d’ expects type ‘int’, but argument 6 has > type ‘long int’ > smppbox.c:661: warning: format ‘%d’ expects type ‘int’, but argument 5 has > type ‘long int’ > smppbox.c:661: warning: format ‘%d’ expects type ‘int’, but argument 6 has > type ‘long int’ > smppbox.c:722: error: too many arguments to function ‘dlr_find’ > smppbox.c:763: warning: '0' flag used with ‘%s’ gnu_printf format > smppbox.c:763: warning: '0' flag used with ‘%s’ gnu_printf format > smppbox.c:809: error: ‘struct deliver_sm’ has no member named ‘tlv’ > smppbox.c:809: error: ‘struct sms’ has no member named ‘meta_data’ > smppbox.c:821: error: ‘struct deliver_sm’ has no member named ‘tlv’ > smppbox.c:821: error: ‘struct sms’ has no member named ‘meta_data’ > smppbox.c:911: error: ‘struct sms’ has no member named ‘meta_data’ > smppbox.c:961: error: ‘struct deliver_sm’ has no member named ‘tlv’ > smppbox.c:961: error: ‘struct sms’ has no member named ‘meta_data’ > smppbox.c:972: error: ‘struct deliver_sm’ has no member named ‘tlv’ > smppbox.c:972: error: ‘struct sms’ has no member named ‘meta_data’ > smppbox.c: In function ‘pdu_to_msg’: > smppbox.c:1157: error: ‘struct sms’ has no member named ‘meta_data’ > smppbox.c:1158: error: ‘struct sms’ has no member named ‘meta_data’ > smppbox.c:1159: error: ‘struct sms’ has no member named ‘meta_data’ > smppbox.c:1159: error: ‘struct submit_sm’ has no member named ‘tlv’ > smppbox.c: In function ‘data_sm_to_msg’: > smppbox.c:1312: error: ‘struct sms’ has no member named ‘meta_data’ > smppbox.c:1313: error: ‘struct sms’ has no member named ‘meta_data’ > smppbox.c:1314: error: ‘struct sms’ has no member named ‘meta_data’ > smppbox.c:1314: error: ‘struct data_sm’ has no member named ‘tlv’ > smppbox.c: In function ‘check_multipart’: > smppbox.c:1358: warning: format ‘%d’ expects type ‘int’, but argument 4 has > type ‘long int’ > smppbox.c:1374: warning: format ‘%d’ expects type ‘int’, but argument 4 has > type ‘long int’ > smppbox.c: In function ‘bearerbox_to_smpp’: > smppbox.c:1815: warning: format ‘%i’ expects type ‘int’, but argument 4 has > type ‘long unsigned int’ > smppbox.c:1820: warning: format ‘%i’ expects type ‘int’, but argument 4 has > type ‘long int’ > smppbox.c: In function ‘run_smppbox’: > smppbox.c:1936: warning: cast from pointer to integer of different size > smppbox.c: In function ‘wait_for_connections’: > smppbox.c:1993: warning: cast to pointer from integer of different size > smppbox.c: In function ‘smppboxc_run’: > smppbox.c:2008: warning: cast from pointer to integer of different size > make[2]: *** [smppbox.o] Error 1 > make[2]: Leaving directory `/projects/kannel/SMPPBox/gw' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/projects/kannel/SMPPBox' > make: *** [all] Error 2 > > > > > On Thu, Sep 2, 2010 at 2:59 AM, Rene Kluwen <[email protected]> wrote: > >> True… It doesn’t work like that… >> >> >> >> First you have to install the Kannel header files and libraries (make >> install). >> >> >> >> After that, smppbox will find them where you installed them. >> >> >> >> == Rene >> >> >> >> >> >> *From:* [email protected] [mailto:[email protected]] >> *On Behalf Of *Anshu Sah >> *Sent:* Wednesday, 01 September, 2010 22:15 >> >> *To:* Rene Kluwen >> *Cc:* users >> *Subject:* Re: where to download Open smppbox >> >> >> >> Thanks Rene, >> Yes, i copied it manually in /usr/local/include/kannel >> >> But i was confused. Earlier i installed kannel from any other directory >> */projects/kannel/gateway-1.4.3/* >> and SMPPBOX to >> */projects/kannel/smppbox/* >> >> But when i type command below to install smppbox, got error. >> >> *./configure --with-kannel-dir=/projects/kannel/gateway-1.4.3/* >> >> Please guide >> >> Regards >> Anshu >> >> On Thu, Sep 2, 2010 at 1:21 AM, Rene Kluwen <[email protected]> >> wrote: >> >> How did you place your source files in /usr/local/include/kannel? Did you >> just copy them? >> >> >> >> For smppbox, you need to extract the kannel sources in a directory of your >> choice and configure && make && make install them. >> >> After that, do the same for the smppbox. >> >> >> >> == Rene >> >> >> >> *From:* [email protected] [mailto:[email protected]] >> *On Behalf Of *Anshu Sah >> *Sent:* Wednesday, 01 September, 2010 21:09 >> >> >> *To:* Rene Kluwen >> *Cc:* users >> >> *Subject:* Re: where to download Open smppbox >> >> >> >> Hello Rene, >> >> To Install SMPPBOX i placed kannel source files at >> */usr/local/include*/kannel >> >> and SMPPBOX files at >> /usr/local/include/smppbox >> >> Kannel is easily compiled from there, But if i am compiling smppbox i am >> getting error. >> *"configure: error: Kannel gwlib is required!"* >> >> Please guide. >> >> Regards >> Anshu >> >> >> On Wed, Sep 1, 2010 at 7:57 PM, Rene Kluwen <[email protected]> >> wrote: >> > Issue a “svn co https://svn.kannel.org/smppbox/trunk” from your unix >> command >> > line. >> > >> > >> > >> > From: [email protected] [mailto:[email protected]] >> On >> > Behalf Of Anshu Sah >> > Sent: Wednesday, 01 September, 2010 15:50 >> > To: Rene Kluwen >> > Cc: users >> > Subject: where to download Open smppbox >> > >> > >> > >> > Hi rene, >> > >> > Can you please guide me how to install Open smppbox svn-r35M , I have >> got >> > the PDF file, But don't know where to download the source code. >> > >> > Regards >> > Anshu >> >> >> > >
