Re: Kannel 1.5.0 Debian packages

Alexander Malysh <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi Nikos,

as far as I know, you only need to install client libraries and not the whole database and I don't see this as a big issue.
I hope we will switch later to dlopen...

Thanks,
Alexander Malysh

Am 22.03.2011 um 15:14 schrieb Nikos Balkanas:

> Hi,
> 
> There is an issue with the current db compilation:
> 
> - Sqlite3, Postgresql and MySQL
> 
> That means for the binary to run, you need to install all 3 dbs. Additionaly, since SQLbox tries to be cute about it, it creates its own databases and tables and picks automatically the first one enabled, ie Sqlite3, if i am not mistaken, or the first that it checks for, i.e. Mysql.
> Granted this is an issue to be fixed in sqlbox, but regardless i would strongly encourage different builds, each one with a single, at most, DB.
> 
> Already uploaded Debian packages may not be any better, but it would be nice these to be better built.
> 
> BR,
> Nikos
> ----- Original Message ----- From: "Alexander Malysh" <[email protected]>
> To: "Milan P. Stanic" <[email protected]>
> Cc: <[email protected]>
> Sent: Tuesday, March 22, 2011 3:37 PM
> Subject: Re: Kannel 1.5.0 Debian packages
> 
> 
> Hi Milan,
> 
> as far as I see, configuration should be fine. Could you please upload debs and diff tar to some place
> and we will push it to download section then.
> 
> Thanks,
> Alexander Malysh
> 
> Am 22.03.2011 um 14:09 schrieb Milan P. Stanic:
> 
>> Hi Alex,
>> 
>> On Tue, 2011-03-22 at 09:56, Alexander Malysh wrote:
>>> Hi Milan,
>>> 
>>> that would be great to have debian packages for 1.5.0
>> 
>> I forgot to mention in original post that I sent these packages to
>> someone in Romania who is tried it on Ubuntu. He told me that the same
>> binary packages which I run on Debian also works well on Ubuntu but I
>> forget which release he runs.
>> 
>>> could you please answer some questions:
>>> - how these packages compiled
>> 
>> I patched 1.5.0 source with official Debian diff (actually tar file)
>> because my intention is that the packages I build shouldn't differ a lot
>> from Debian shipped packages. It is because of that if someone upgrade
>> it from official Debian release to newly built packages s/he doesn't
>> have to change anything in configuration files.
>> 
>>> - which DB support is enabled
>> 
>> Sqlite3, Postgresql and MySQL.
>> 
>>> - compiler/configure flags used
>> 
>> Here is the relevant section from debian/rules files:
>> ./configure \
>>   --host=$(DEB_HOST_GNU_TYPE) \
>>   --build=$(DEB_BUILD_GNU_TYPE) \
>>   --enable-warnings \
>>   --prefix=/usr \
>>   --mandir=\$${prefix}/share/man \
>>   --infodir=\$${prefix}/share/info \
>>   --enable-docs --enable-pam --enable-pcre \
>>   --enable-ssl --with-ssl=/usr \
>>   --with-mysql --with-mysql-dir=/usr \
>>   --with-sqlite3 \
>>   --with-pgsql --with-pgsql-dir=/usr
>> 
>> 
>> And here is relevant section from Makefile:
>> 
>> 
>> LIBS=-lpq -lmysqlclient_r -lssl -ldl -lpam -lpcreposix -lrt -lresolv
>> -lnsl -lm  -lpthread -lxml2 -L/usr/lib -lpcreposix -lpcre -L/usr/lib
>> -lcrypto -lssl -rdynamic -L/usr/lib/mysql -lmysqlclient_r
>> -L/usr/local/lib -lsqlite3 -L/usr/lib
>> 
>> CFLAGS=-D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE
>> -D_LARGE_FILES= -I/usr/include/libxml2  -Wall -Wmissing-prototypes
>> -Wmissing-declarations -Wnested-externs -Winline -Wformat
>> -Wformat-security -Wmissing-format-attribute -I/usr/include
>> -I/usr/include/mysql -I/usr/include/postgresql
>> 
>> LDFLAGS= -rdynamic
>> 
>>> Do you have some place to upload packages and we will push those then to download section?
>> 
>> Yes, I can upload it but would like to know first if the configuration
>> above is correct. If not, I can rebuild it with your (or someone else)
>> suggestions.
>> 
>>> Thanks,
>>> Alexander Malysh
>>> 
>>> Am 21.03.2011 um 23:46 schrieb Milan P. Stanic:
>>> 
>>>> Hi all,
>>>> 
>>>> I have noticed on [email protected] list that some user have a problem
>>>> how to build Kannel on Debian/Ubuntu systems.
>>>> 
>>>> On the Kannel site in download section Debian packages are outdated
>>>> (1.4.1 version for Debian sarge). Current Debian stable release is
>>>> shipped with with Kannel 1.4.3 version which is old as we all know.
>>>> 
>>>> I have built Kannel 1.5.0 (development release) for Debian squeeze
>>>> (current stable) and for i386 and amd64 architectures. It works without
>>>> problem for more than three or four months.
>>>> 
>>>> IMHO it would be useful for users to update Kannel download section
>>>> and put new Debian packages there. I'm ready to upload them but I don't
>>>> know where or whom to send these packages.
>>>> 
>>>> P.S.
>>>> I'm not sure who is the site admin so I write to list.
>>>> 
>>>> -- 
>>>> Kind regards,  Milan
>>>> --------------------------------------------------
>>>> Arvanta, IT Security        http://www.arvanta.net
>>>> Please do not send me e-mail containing HTML code.
>>>> 
>>> 
>> 
>> -- 
>> Kind regards,  Milan
>> --------------------------------------------------
>> Arvanta, IT Security        http://www.arvanta.net
>> Please do not send me e-mail containing HTML code.
>> 
> 
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.