Hi Alejandro,
YES - thanks for this - now i was able to configure / make and make install. Maybe someone will run into the same problem as i did : 2008-10-30 06:43:16 [12981] [0] ERROR: MYSQL: can not connect to database! 2008-10-30 06:43:16 [12981] [0] ERROR: MYSQL: Can't connect to MySQL server on 'mysqlba-lx.mobilcom.de' (111) 2008-10-30 06:43:16 [12981] [0] PANIC: SQLBOX: MySQL: database pool has no connections! 2008-10-30 06:43:16 [12981] [0] PANIC: ./sqlbox [0x8069592] ... You just need to specify the mysql port inside the config file: group = mysql-connection id = sqlbox-db host = mysqlba-lx.mobilcom.de port = 3306 username = "sms" password = "sms" database = "sms" max-connections = 1 Von: Alejandro Guerrieri [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 29. Oktober 2008 22:32 An: Alexander Eckert Cc: [email protected] Betreff: Re: sqlbox compile problems Ah, yes, sqlbox documentation... You need to run ./bootstrap and that will create the ./configure script. You can then proceed as usual with ./configure, make and make install. Hope it helps, Alejandro On Wed, Oct 29, 2008 at 7:15 PM, Alexander Eckert <[EMAIL PROTECTED]> wrote: Hi seikath, sorry but this: >use cvs and standalone sqlbox > >http://www.kannel.org/~mconte/sqlbox/ ><http://www.kannel.org/%7Emconte/sqlbox/> won`t help me. I really tried to rtfm and now i use a cvs kannel version - but i really don`t know what to do with this standalone box. I am not ablke to compile that cause there is no configure script. I wasn´t able to read a howto cause there is no HowTo. I would be happy if someone can help me who got the sqlbox running... Thanks in advance Alex Alexander Eckert wrote: > Hi, > > dunno if anyone uses the sqlbox which is available via cvs. It would be fine > if someone > is able to help. > > First of all the given patchfile won`t work with the current 1.4.1 version: > > *************** > *** 3319,3325 **** > Octstr *http_proxy_password = NULL; > Octstr *http_proxy_exceptions_regex = NULL; > int ssl = 0; > - int lf, m; > bb_port = BB_DEFAULT_SMSBOX_PORT; > bb_ssl = 0; > --- 3319,3325 ---- > Octstr *http_proxy_password = NULL; > Octstr *http_proxy_exceptions_regex = NULL; > int ssl = 0; > + int lf, m, bearerbox_is_sqlbox = 0; > bb_port = BB_DEFAULT_SMSBOX_PORT; > bb_ssl = 0; > > *************** > *** 243,248 **** > SINGLE_GROUP(smsbox, > OCTSTR(smsbox-id) > OCTSTR(bearerbox-host) > OCTSTR(sendsms-port) > OCTSTR(sendsms-port-ssl) > OCTSTR(sendsms-interface) > --- 243,249 ---- > SINGLE_GROUP(smsbox, > OCTSTR(smsbox-id) > OCTSTR(bearerbox-host) > + OCTSTR(bearerbox-is-sqlbox) > OCTSTR(sendsms-port) > OCTSTR(sendsms-port-ssl) > OCTSTR(sendsms-interface) > > But this is only caused in wrong linecounts inside the patchfile - i could > fix that > and was able to configure with mysql as dlr/sqlbox. But it won`t work if i > try to compile the source: > > make: *** Keine Regel vorhanden, um das Target »gw/sqlbox.o«, > benötigt von »wmlscript/wmlsc«, zu erstellen. Schluss. > > For those which aren`t able to understand the german reply it means there is > no rule to mak sqlbox.o ... and sorry - i am an administrator not a > developer. Does > anyone use sqlbox and is able to help ? > > Alex >
