Installation of kannel and sqlbox in Ubuntu 22.04 to use as SMSbox
Dear team, Is it possible to install kannel with MySQL DB support to send SMS in Ubuntu 22.04 from the source code? Otherwise please tell me which version of Ubuntu I should use. and which version of kannel should I use? I also installed using apt command. But I can only start kannel there. how can I start smsbox and sqlbox if I install using apt. and how can I run different SMSCs if I use apt installation? Please advise. Looking forward to hearing from you. -- *Thanks & Regards,* Robin C Linux System Administrator Web : www.refined.co.in Address : TC 15/1945-3, Kamala Towers, Ganapathy Kovil Road, Vazhuthacaud, Thiruvananthapuram, Kerala - 695014 Disclaimer: This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. *7* Switch off as you go |*q *Recycle always | P Print only if absolutely necessary
Re: Installation of kannel and sqlbox in Ubuntu 22.04 to use as SMSbox
Of course it can. Pada tanggal Min, 16 Apr 2023 17.18, Robin C menulis: > Dear team, > > Is it possible to install kannel with MySQL DB support to send SMS in > Ubuntu 22.04 from the source code? Otherwise please tell me which version > of Ubuntu I should use. and which version of kannel should I use? > > I also installed using apt command. But I can only start kannel there. how > can I start smsbox and sqlbox if I install using apt. and how can I run > different SMSCs if I use apt installation? > > Please advise. Looking forward to hearing from you. > > -- > *Thanks & Regards,* > > > > Robin C > > Linux System Administrator > > Web : www.refined.co.in > > Address : TC 15/1945-3, Kamala Towers, Ganapathy Kovil Road, > Vazhuthacaud, Thiruvananthapuram, Kerala - 695014 > > > > > > > Disclaimer: This message contains confidential information and is > intended only for the individual named. If you are not the named addressee > you should not disseminate, distribute or copy this e-mail. Please notify > the sender immediately by e-mail if you have received this e-mail by > mistake and delete this e-mail from your system. E-mail transmission > cannot be guaranteed to be secure or error-free as information could be > intercepted, corrupted, lost, destroyed, arrive late or incomplete, or > contain viruses. The sender therefore does not accept liability for any > errors or omissions in the contents of this message, which arise as a > result of e-mail transmission. If verification is required please request > a hard-copy version. > > *7* Switch off as you go |*q *Recycle always | P Print only if absolutely > necessary >
Re: Installation of kannel and sqlbox in Ubuntu 22.04 to use as SMSbox
But I am getting error while doing make. I am trying to install kannel 1.4.5 and bison (GNU Bison) 3.8.2. On Sun, Apr 16, 2023 at 2:23 PM Willy Mularto wrote: > Of course it can. > > Pada tanggal Min, 16 Apr 2023 17.18, Robin C > menulis: > >> Dear team, >> >> Is it possible to install kannel with MySQL DB support to send SMS in >> Ubuntu 22.04 from the source code? Otherwise please tell me which version >> of Ubuntu I should use. and which version of kannel should I use? >> >> I also installed using apt command. But I can only start kannel there. >> how can I start smsbox and sqlbox if I install using apt. and how can I run >> different SMSCs if I use apt installation? >> >> Please advise. Looking forward to hearing from you. >> >> -- >> *Thanks & Regards,* >> >> >> >> Robin C >> >> Linux System Administrator >> >> Web : www.refined.co.in >> >> Address : TC 15/1945-3, Kamala Towers, Ganapathy Kovil Road, >> Vazhuthacaud, Thiruvananthapuram, Kerala - 695014 >> >> >> >> >> >> >> Disclaimer: This message contains confidential information and is >> intended only for the individual named. If you are not the named addressee >> you should not disseminate, distribute or copy this e-mail. Please notify >> the sender immediately by e-mail if you have received this e-mail by >> mistake and delete this e-mail from your system. E-mail transmission >> cannot be guaranteed to be secure or error-free as information could be >> intercepted, corrupted, lost, destroyed, arrive late or incomplete, or >> contain viruses. The sender therefore does not accept liability for any >> errors or omissions in the contents of this message, which arise as a >> result of e-mail transmission. If verification is required please request >> a hard-copy version. >> >> *7* Switch off as you go |*q *Recycle always | P Print only if >> absolutely necessary >> > -- *Thanks & Regards,* Robin C Linux System Administrator Web : www.refined.co.in Address : TC 15/1945-3, Kamala Towers, Ganapathy Kovil Road, Vazhuthacaud, Thiruvananthapuram, Kerala - 695014 Disclaimer: This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. *7* Switch off as you go |*q *Recycle always | P Print only if absolutely necessary
Re: Installation of kannel and sqlbox in Ubuntu 22.04 to use as SMSbox
On Sunday 16 April 2023 at 12:41:44, Robin C wrote: > But I am getting error while doing make. I am trying to install kannel > 1.4.5 and bison (GNU Bison) 3.8.2. Well, show us the commands you are running and exactly what error message/s you are seeing. You signed your original message as "Robin C, Linux System Administrator". I would expect any sys admin with at least modest experience to know that saying "I'm getting an error" is almost bound to prompt the reply "there's probably something wrong then". The quality of assistance you can get is very closely related to the quality of information you provide. Regards, Antony. -- The Magic Words are Squeamish Ossifrage. Please reply to the list; please *don't* CC me.
Re: Installation of kannel and sqlbox in Ubuntu 22.04 to use as SMSbox
y.tab.c:368:5: error: conflicting types for ‘ws_yy_parse’; have ‘int(void)’ In file included from wmlscript/wsgram.y:15: ./wmlscript/wsint.h:296:5: note: previous declaration of ‘ws_yy_parse’ with type ‘int(void *)’ 296 | int ws_yy_parse(void *context); | ^~~ wmlscript/wsgram.c:68:25: error: conflicting types for ‘ws_yy_parse’; have ‘int(void)’ 68 | #define yyparse ws_yy_parse | ^~~ y.tab.c:1578:1: note: in expansion of macro ‘yyparse’ In file included from wmlscript/wsgram.y:15: ./wmlscript/wsint.h:296:5: note: previous declaration of ‘ws_yy_parse’ with type ‘int(void *)’ 296 | int ws_yy_parse(void *context); | ^~~ wmlscript/wsgram.y: In function ‘ws_yy_parse’: wmlscript/wsgram.y:122:49: error: ‘pctx’ undeclared (first use in this function) 122 | { ws_error_syntax(pctx, @1.first_line); } | ^~~~ wmlscript/wsgram.y:122:49: note: each undeclared identifier is reported only once for each function it appears in make: *** [Makefile:225: wmlscript/wsgram.o] Error 1 On Sun, Apr 16, 2023 at 2:41 PM Robin C wrote: > But I am getting error while doing make. I am trying to install kannel > 1.4.5 and bison (GNU Bison) 3.8.2. > > On Sun, Apr 16, 2023 at 2:23 PM Willy Mularto wrote: > >> Of course it can. >> >> Pada tanggal Min, 16 Apr 2023 17.18, Robin C >> menulis: >> >>> Dear team, >>> >>> Is it possible to install kannel with MySQL DB support to send SMS in >>> Ubuntu 22.04 from the source code? Otherwise please tell me which version >>> of Ubuntu I should use. and which version of kannel should I use? >>> >>> I also installed using apt command. But I can only start kannel there. >>> how can I start smsbox and sqlbox if I install using apt. and how can I run >>> different SMSCs if I use apt installation? >>> >>> Please advise. Looking forward to hearing from you. >>> >>> -- >>> *Thanks & Regards,* >>> >>> >>> >>> Robin C >>> >>> Linux System Administrator >>> >>> Web : www.refined.co.in >>> >>> Address : TC 15/1945-3, Kamala Towers, Ganapathy Kovil Road, >>> Vazhuthacaud, Thiruvananthapuram, Kerala - 695014 >>> >>> >>> >>> >>> >>> >>> Disclaimer: This message contains confidential information and is >>> intended only for the individual named. If you are not the named addressee >>> you should not disseminate, distribute or copy this e-mail. Please notify >>> the sender immediately by e-mail if you have received this e-mail by >>> mistake and delete this e-mail from your system. E-mail transmission >>> cannot be guaranteed to be secure or error-free as information could be >>> intercepted, corrupted, lost, destroyed, arrive late or incomplete, or >>> contain viruses. The sender therefore does not accept liability for any >>> errors or omissions in the contents of this message, which arise as a >>> result of e-mail transmission. If verification is required please request >>> a hard-copy version. >>> >>> *7* Switch off as you go |*q *Recycle always | P Print only if >>> absolutely necessary >>> >> > > -- > *Thanks & Regards,* > > > > Robin C > > Linux System Administrator > > Web : www.refined.co.in > > Address : TC 15/1945-3, Kamala Towers, Ganapathy Kovil Road, > Vazhuthacaud, Thiruvananthapuram, Kerala - 695014 > > > > > > > Disclaimer: This message contains confidential information and is > intended only for the individual named. If you are not the named addressee > you should not disseminate, distribute or copy this e-mail. Please notify > the sender immediately by e-mail if you have received this e-mail by > mistake and delete this e-mail from your system. E-mail transmission > cannot be guaranteed to be secure or error-free as information could be > intercepted, corrupted, lost, destroyed, arrive late or incomplete, or > contain viruses. The sender therefore does not accept liability for any > errors or omissions in the contents of this message, which arise as a > result of e-mail transmission. If verification is required please request > a hard-copy version. > > *7* Switch off as you go |*q *Recycle always | P Print only if absolutely > necessary > -- *Thanks & Regards,* Robin C Linux System Administrator Web : www.refined.co.in Address : TC 15/1945-3, Kamala Towers, Ganapathy Kovil Road, Vazhuthacaud, Thiruvananthapuram, Kerala - 695014 Disclaimer: This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept li
Re: Installation of kannel and sqlbox in Ubuntu 22.04 to use as SMSbox
Dear Antony, Please find the commands below. I already shared the eroor. I am sharing the error message below. I am using Ubuntu 22.04, Bison 1.4.5. #wget https://www.kannel.org/download/1.4.5/gateway-1.4.5.tar.gz --no-check-certificate # tar -zxvf gateway-1.4.5.tar.gz # cd gateway-1.4.5/ # ./configure --with-mysql # make Getting the following error after giving make. y.tab.c:368:5: error: conflicting types for ‘ws_yy_parse’; have ‘int(void)’ In file included from wmlscript/wsgram.y:15: ./wmlscript/wsint.h:296:5: note: previous declaration of ‘ws_yy_parse’ with type ‘int(void *)’ 296 | int ws_yy_parse(void *context); | ^~~ wmlscript/wsgram.c:68:25: error: conflicting types for ‘ws_yy_parse’; have ‘int(void)’ 68 | #define yyparse ws_yy_parse | ^~~ y.tab.c:1578:1: note: in expansion of macro ‘yyparse’ In file included from wmlscript/wsgram.y:15: ./wmlscript/wsint.h:296:5: note: previous declaration of ‘ws_yy_parse’ with type ‘int(void *)’ 296 | int ws_yy_parse(void *context); | ^~~ wmlscript/wsgram.y: In function ‘ws_yy_parse’: wmlscript/wsgram.y:122:49: error: ‘pctx’ undeclared (first use in this function) 122 | { ws_error_syntax(pctx, @1.first_line); } | ^~~~ wmlscript/wsgram.y:122:49: note: each undeclared identifier is reported only once for each function it appears in make: *** [Makefile:225: wmlscript/wsgram.o] Error 1 On Sun, Apr 16, 2023 at 2:52 PM Antony Stone < antony.st...@kannel.open.source.it> wrote: > On Sunday 16 April 2023 at 12:41:44, Robin C wrote: > > > But I am getting error while doing make. I am trying to install kannel > > 1.4.5 and bison (GNU Bison) 3.8.2. > > Well, show us the commands you are running and exactly what error > message/s > you are seeing. > > You signed your original message as "Robin C, Linux System > Administrator". I > would expect any sys admin with at least modest experience to know that > saying > "I'm getting an error" is almost bound to prompt the reply "there's > probably > something wrong then". > > The quality of assistance you can get is very closely related to the > quality > of information you provide. > > > Regards, > > > Antony. > > -- > The Magic Words are Squeamish Ossifrage. > >Please reply to the > list; > please *don't* CC > me. > > -- *Thanks & Regards,* Robin C Linux System Administrator Web : www.refined.co.in Address : TC 15/1945-3, Kamala Towers, Ganapathy Kovil Road, Vazhuthacaud, Thiruvananthapuram, Kerala - 695014 Disclaimer: This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. *7* Switch off as you go |*q *Recycle always | P Print only if absolutely necessary
Re: Installation of kannel and sqlbox in Ubuntu 22.04 to use as SMSbox
On Sunday 16 April 2023 at 12:49:57, Robin C wrote: > y.tab.c:368:5: error: conflicting types for ‘ws_yy_parse’ Where does this file come from? I have a source tree for kannel-1.4.5 here and I have no y.tab.c inside it. Antony. -- Perfection in design is achieved not when there is nothing left to add, but rather when there is nothing left to take away. - Antoine de Saint-Exupery Please reply to the list; please *don't* CC me.
Re: Installation of kannel and sqlbox in Ubuntu 22.04 to use as SMSbox
On Sunday 16 April 2023 at 13:04:28, Robin C wrote: > Dear Antony, > Please find the commands below. I already shared the eroor. I am sharing > the error message below. > > I am using Ubuntu 22.04, Bison 1.4.5. > #wget https://www.kannel.org/download/1.4.5/gateway-1.4.5.tar.gz > --no-check-certificate The first difference I can see is that I downloaded the Debian source package - given that you're using Ubuntu I suggest you start with that instead of the tarball from the kannel site. Antony. -- Why are sea-faring brigands unable to calculate the circumference of a circle? Because they guess the value of Pi. (Sorry, this joke only really works well in German). Please reply to the list; please *don't* CC me.
Re: Installation of kannel and sqlbox in Ubuntu 22.04 to use as SMSbox
On Sunday 16 April 2023 at 13:04:28, Robin C wrote: > Dear Antony, > Please find the commands below. I already shared the eroor. I am sharing > the error message below. > > I am using Ubuntu 22.04, Bison 1.4.5. > #wget https://www.kannel.org/download/1.4.5/gateway-1.4.5.tar.gz > --no-check-certificate > > # tar -zxvf gateway-1.4.5.tar.gz > # cd gateway-1.4.5/ > # ./configure --with-mysql > # make > > Getting the following error after giving make. I still don't understand this. I just downloaded the same tarball, and did: $ tar -xvf gateway-1.4.5.tar.gz ... tarball extracts its contents ... $ find . -name y.tab.c ... no result ... $ cd gateway-1.4.5/ $ ./configure --with-mysql ... plenty of output, no errors ... $ find . -name y.tab.c ... no result ... $ make make: *** No targets specified and no makefile found. Stop. Antony. -- Don't procrastinate - put it off until tomorrow. Please reply to the list; please *don't* CC me.
Re: Installation of kannel and sqlbox in Ubuntu 22.04 to use as SMSbox
Dear Antony , Have you successfully installed Kannel 1.4.5 in Ubuntu 22.04 from source code?? On Sun, Apr 16, 2023, 3:23 PM Antony Stone < antony.st...@kannel.open.source.it> wrote: > On Sunday 16 April 2023 at 13:04:28, Robin C wrote: > > > Dear Antony, > > Please find the commands below. I already shared the eroor. I am sharing > > the error message below. > > > > I am using Ubuntu 22.04, Bison 1.4.5. > > #wget https://www.kannel.org/download/1.4.5/gateway-1.4.5.tar.gz > > --no-check-certificate > > > > # tar -zxvf gateway-1.4.5.tar.gz > > # cd gateway-1.4.5/ > > # ./configure --with-mysql > > # make > > > > Getting the following error after giving make. > > I still don't understand this. > > I just downloaded the same tarball, and did: > > $ tar -xvf gateway-1.4.5.tar.gz > > ... tarball extracts its contents ... > > $ find . -name y.tab.c > > ... no result ... > > $ cd gateway-1.4.5/ > $ ./configure --with-mysql > > ... plenty of output, no errors ... > > $ find . -name y.tab.c > > ... no result ... > > $ make > make: *** No targets specified and no makefile found. Stop. > > > > Antony. > > -- > Don't procrastinate - put it off until tomorrow. > >Please reply to the > list; > please *don't* CC > me. > >
Re: Installation of kannel and sqlbox in Ubuntu 22.04 to use as SMSbox
On Sunday 16 April 2023 at 13:42:04, Robin C wrote: > Dear Antony , > > Have you successfully installed Kannel 1.4.5 in Ubuntu 22.04 from source > code?? No; I use 1.4.5 under Debian, installed from the binary package. Antony. -- Python is executable pseudocode. Perl is executable line noise. Please reply to the list; please *don't* CC me.
Re: Installation of kannel and sqlbox in Ubuntu 22.04 to use as SMSbox
Hi, Try: https://gist.github.com/kewogc/1d679c6c83977d69106f On Sun, 16 Apr 2023 at 19:23, Antony Stone < antony.st...@kannel.open.source.it> wrote: > On Sunday 16 April 2023 at 13:42:04, Robin C wrote: > > > Dear Antony , > > > > Have you successfully installed Kannel 1.4.5 in Ubuntu 22.04 from source > > code?? > > No; I use 1.4.5 under Debian, installed from the binary package. > > > Antony. > > -- > Python is executable pseudocode. > Perl is executable line noise. > >Please reply to the > list; > please *don't* CC > me. > > -- *Thank you* *Rajeev Krishna* CTO Krishnas Software Technologies www.krishnasoft.in mobile :+91 888 5815 888
Re: Installation of kannel and sqlbox in Ubuntu 22.04 to use as SMSbox
Ubuntu 22.04 uses bison 3.8.2 - https://packages.ubuntu.com/jammy/bison In order to fix the issue you need to either try to compile from SVN or apply this patch - https://redmine.kannel.org/issues/699#note-5 Best to use SVN code actually as it contains recent bug fixes and in most cases very stable. Checkout SVN repo with: svn co https://svn.kannel.org/gateway/trunk and then proceed with usual compilation routing On Sun, 16 Apr 2023 at 16:11, Antony Stone < antony.st...@kannel.open.source.it> wrote: > On Sunday 16 April 2023 at 13:42:04, Robin C wrote: > > > Dear Antony , > > > > Have you successfully installed Kannel 1.4.5 in Ubuntu 22.04 from source > > code?? > > No; I use 1.4.5 under Debian, installed from the binary package. > > > Antony. > > -- > Python is executable pseudocode. > Perl is executable line noise. > >Please reply to the > list; > please *don't* CC > me. > >