Page 1 of 1

Package "Motion" without "Mysql"

Posted: Mon Feb 25, 2013 8:00 am
by ruzzine
Hi,
i have raspbian and my little raspberry from 3 months.
I have installed "motion" package and the program function without problems until now!
I'll try to use mysql options on motion, but everytime i start the program i recive on terminal this messages:

Code: Select all

[0] Unknown config option "mysql_db"
[0] Unknown config option "mysql_host"
[0] Unknown config option "mysql_user"
[0] Unknown config option "mysql_password"
Googling on the web i find it:
http://www.lavrsen.dk/foswiki/bin/view/ ... x25x192939
And expecially this:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=697221

I think and sure that, the repos of raspiab become from debian and i have seen this link on debian; someone corrected the bug and recompiled the motion program with mysql support.
I write here, because i hope someone of Raspian/Repos manutentor can see this, for correct and upgrade the motion program with mysql support.
I tested on virtual machine, debian 6.0.7 and motion function with mysql support!
I wait for Raspbian!
Bye.
rUzzine

Re: Package "Motion" without "Mysql"

Posted: Mon Feb 25, 2013 11:32 am
by ruzzine
I founded on repos site the log of motion, and founded the reason because the compiling of motion didn't end with mysql support.
The link of log is this:
http://ftp.arnes.si/mirrors/raspbian/ra ... motion.log
Inside log i founded this lines:

Code: Select all

checking autodect mysql libs... not found
Invalid MySQL directory - unable to find libmysqlclient.a or libmysqlclient.so.
I think..during the "./configure" the program don't find this 2 library on raspian.
If i run "./configure --with-mysql-lib=/usr/lib/arm-linux-gnueabihf/" it's find the libraries and i can proceed with make and make install!
Now..who can recompile motion for the repository?
:D

Re: Package "Motion" without "Mysql"

Posted: Mon Feb 25, 2013 7:07 pm
by plugwash
Should be fixed now.

Re: Package "Motion" without "Mysql"

Posted: Mon Feb 25, 2013 8:03 pm
by ruzzine
thanks a lot! :D

Re: Package "Motion" without "Mysql"

Posted: Mon Feb 25, 2013 10:41 pm
by plugwash
Can you confirm that 3.2.12-3.3 fixes your problem.

Re: Package "Motion" without "Mysql"

Posted: Tue Feb 26, 2013 8:05 am
by ruzzine
Confirmed! Function! Thk a lot! ;)