Most likely you've messed something. Make sure you've cleaned up everything before proceeding.
Also I suggest re-checking source from SVN once again and starting from scratch. When installing into /usr/local prefix, you don't need to do "make /usr/local/sbin install" you need to: 1. Configure and install kannel (core bearerbox & smsbox here): cd trunk ./configure --prefix=/usr/local --with-mysql make make install 2. Install SQLBox cd addons/sqlbox ./configure --prefix=/usr/local --with-mysql make make install Simple as that. 2013/3/12 [email protected] <[email protected]>: > OK, I did a clean install of kannel, and afterwards sqlbox. Everything goes > smooth, except the error below during last stages of sqlbox installation > (its the same which I faced earlier and started working on reinstallation of > everything). Can you help? > > [root@ip-10-2-103-12 trunk]# make /usr/local/sbin/ install > make: Nothing to be done for `/usr/local/sbin/'. > Making install in gw > make[1]: Entering directory `/mnt/mdeuxhd/src/kannel/trunk/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_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 > -I/usr/include/mysql55 -MT sqlbox.o -MD -MP -MF .deps/sqlbox.Tpo -c -o > sqlbox.o sqlbox.c > mv -f .deps/sqlbox.Tpo .deps/sqlbox.Po > 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_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 > -I/usr/include/mysql55 -MT sqlbox_mssql.o -MD -MP -MF .deps/sqlbox_mssql.Tpo > -c -o sqlbox_mssql.o sqlbox_mssql.c > mv -f .deps/sqlbox_mssql.Tpo .deps/sqlbox_mssql.Po > 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_FILE_OFFSET_BITS=64 -D_LARGE_FILES= -I/usr/include/libxml2 > -I/usr/include/mysql55 -MT sqlbox_mysql.o -MD -MP -MF .deps/sqlbox_mysql.Tpo > -c -o sqlbox_mysql.o sqlbox_mysql.c > sqlbox_mysql.c: In function âmysql_fetch_msgâ: > sqlbox_mysql.c:143:21: error: âstruct smsâ has no member named âmeta_dataâ > sqlbox_mysql.c: In function âmysql_save_msgâ: > sqlbox_mysql.c:201:59: error: âstruct smsâ has no member named âmeta_dataâ > make[1]: *** [sqlbox_mysql.o] Error 1 > make[1]: Leaving directory `/mnt/mdeuxhd/src/kannel/trunk/gw' > make: *** [install-recursive] Error 1 > Am not a hardcore C programmer, so any help will be appreciated. > > Regards, > H > > > On Tue, Mar 12, 2013 at 2:11 PM, spameden <[email protected]> wrote: >> >> Ofc, it's better to use package manager, but you'd need to provide >> .rpmspec file to build it. >> >> You can find one on https://github.com/blinohod/kannel-altlinux >> >> It's for ALTLinux tho, but ALTLinux uses RPM system too, so you can >> adjust it to make it work with kannel. >> >> In /usr/local you can check for similar files I've listed before. >> >> 2013/3/12 [email protected] <[email protected]>: >> > I use /usr/local/sbin prefix. >> > >> > Seems like a lot of cleaning to be done. Is it wise to install it via >> > yum >> > service then? Will the service keep track of everything by itself while >> > installing/uninstalling? >> > >> > >> > On Tue, Mar 12, 2013 at 2:00 PM, spameden <[email protected]> wrote: >> >> >> >> It depends whether you've used prefix or not. >> >> >> >> If you've used prefix /usr/local, pretty much everything you'd find >> >> there it also depends on the distribution you've used and whether >> >> you've used custom files for it. >> >> >> >> typical fileslist / dirlist: >> >> >> >> /etc/default/kannel >> >> /etc/logrotate.d/kannel >> >> /etc/kannel >> >> /etc/init.d/kannel >> >> /var/run/kannel >> >> /var/lib/kannel >> >> /var/log/kannel >> >> /usr/share/doc/kannel >> >> /usr/share/man/man8/run_kannel_box.8.gz >> >> /usr/share/man/man8/kannel.8.gz >> >> /usr/share/man/man1/wmlsc.1.gz >> >> /usr/share/man/man1/wmlsdasm.1.gz >> >> /usr/share/man/man1/seewbmp.1.gz >> >> /usr/share/man/man1/mtbatch.1.gz >> >> /usr/sbin/run_kannel_box >> >> /usr/sbin/wapbox >> >> /usr/sbin/smsbox >> >> /usr/sbin/bearerbox >> >> /usr/bin/mtbatch >> >> /usr/bin/wmlsc >> >> /usr/bin/wmlsdasm >> >> /usr/bin/seewbmp >> >> /usr/share/man/man8/smsbox.8.gz >> >> /usr/share/man/man8/bearerbox.8.gz >> >> /usr/share/man/man8/wapbox.8.gz >> >> >> >> >> >> 2013/3/12 [email protected] <[email protected]>: >> >> > Hi, >> >> > >> >> > I have messed up kannel installation by trying to downgrade from >> >> > 1.5.0 >> >> > to >> >> > 1.4.3 (since few features were not working). Now SQLBOX is not happy >> >> > with >> >> > the new installation. I searched the errors, and apparently its the >> >> > incompatibility of SQLBOX with kannel compilation. >> >> > >> >> > I intend to reinstall kannel from scratch. Plz guide which >> >> > directories >> >> > are >> >> > to be removed for total cleanup. Originally I compiled from source >> >> > and >> >> > the >> >> > OS is Linux. >> >> > >> >> > Regards, >> >> > >> > >> > > >
