Send Motion-user mailing list submissions to motion-user@lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/motion-user or, via email, send a message with subject or body 'help' to motion-user-requ...@lists.sourceforge.net You can reach the person managing the list at motion-user-ow...@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Motion-user digest..." Today's Topics: 1. Re: mysqldb/mariadb libs (Hans Fernhout) 2. firefox does not load >6 "img src' from motion default page (csspcmotion) 3. Re: firefox does not load >6 "img src' from motion default page (tosiara) 4. Re: Motion-user Digest, Vol 168, Issue 37 (Henry B. Tindall, Jr.) 5. Re: mysqldb/mariadb libs (tosiara) ---------------------------------------------------------------------- Message: 1 Date: Sun, 14 Jun 2020 12:36:27 +0000 (UTC) From: Hans Fernhout <hf...@fernhout.info> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] mysqldb/mariadb libs Message-ID: <5dee98ac-d190-e7c9-b297-7623cbbad...@fernhout.info> Content-Type: text/plain; charset=iso-8859-1; format=flowed I noticed that the checking for MySQL and MariaDB has improved in 4.3.1, but does not seem to be perfect. Motion should detect the existence of the client software: mysql-connector-c, and/or mariadb-connector-c. I am not an autotools expert, but motion seems to check if the database software itself installed, instead of just the client software. From configure.ac: ############################################################################## ###? Check for MariaDB - Optional ############################################################################## AC_ARG_WITH(mariadb, ? AS_HELP_STRING([--with-mariadb[=DIR]],[Build with MariaDB support]), ? [MARIADB="$withval"], ? [MARIADB="yes"] ) AS_IF([test "${MARIADB}" = "no"], [ ??? AC_MSG_CHECKING(for MariaDB) ??? AC_MSG_RESULT(skipped) ? ],[ ??? TEMP_PATH=$PKG_CONFIG_PATH ??? AC_MSG_CHECKING(MariaDB pkg-config path) ??? AS_IF([test "${MARIADB}" != "yes"], [ ??????? PKG_CONFIG_PATH=${MARIADB}/lib/pkgconfig:$PKG_CONFIG_PATH ??????? MARIADB="yes" ????? ] ??? ) ??? export PKG_CONFIG_PATH ??? AC_MSG_RESULT($PKG_CONFIG_PATH) ??? AC_MSG_CHECKING(for MariaDB) ??? AS_IF([pkg-config mariadb], [ ??????? TEMP_CFLAGS="$TEMP_CFLAGS "`pkg-config --cflags mariadb` ??????? TEMP_LIBS="$TEMP_LIBS "`pkg-config --libs mariadb` ??????? AC_DEFINE([HAVE_MARIADB], [1], [Define to 1 if you have MariaDB support]) ????? ],[ ??????? MARIADB="no" ????? ] ??? ) ??? AC_MSG_RESULT([$MARIADB]) ??? PKG_CONFIG_PATH=$TEMP_PATH ??? export PKG_CONFIG_PATH ? ] ) ############################################################################## ###? Check for MySQL - Optional ############################################################################## AC_ARG_WITH(mysql, ? AS_HELP_STRING([--with-mysql[=DIR]],[Build with MySQL support]), ? [MYSQL="$withval"], ? [MYSQL="yes"] ) AS_IF([test "${MYSQL}" = "no"], [ ??? AC_MSG_CHECKING(for MySQL) ??? AC_MSG_RESULT(skipped) ? ],[ ??? TEMP_PATH=$PKG_CONFIG_PATH ??? AC_MSG_CHECKING(MySQL pkg-config path) ??? AS_IF([test "${MYSQL}" != "yes"], [ ??????? PKG_CONFIG_PATH=${MYSQL}/lib/pkgconfig:$PKG_CONFIG_PATH ??????? MYSQL="yes" ????? ] ??? ) ??? export PKG_CONFIG_PATH ??? AC_MSG_RESULT($PKG_CONFIG_PATH) ??? AC_MSG_CHECKING(for MySQL) ??? AS_IF([pkg-config mysqlclient], [ ??????? TEMP_CFLAGS="$TEMP_CFLAGS "`pkg-config --cflags mysqlclient` ??????? TEMP_LIBS="$TEMP_LIBS "`pkg-config --libs mysqlclient` ??????? AC_DEFINE([HAVE_MYSQL], [1], [Define to 1 if you have MySQL support]) ????? ],[ ??????? MYSQL="no" ????? ] ??? ) ??? AC_MSG_RESULT([$MYSQL]) ??? PKG_CONFIG_PATH=$TEMP_PATH ??? export PKG_CONFIG_PATH ? ] ) On 6/14/20 1:54 PM, tosiara wrote: > What operating system are you using? > > On Sun, Jun 14, 2020 at 9:16 AM Henry B. Tindall, Jr. > <he...@linux-meister.com> wrote: >> -- Henry B. Tindall, Jr. CISSP, SSCP, Security+, Linux+, RHCSA -- >> Henry B. Tindall, Jr. CISSP, SSCP, Security+, Linux+, RHCSA It's been >> a while since I upgraded, and today when I finally found time and >> compiled the 4.3.1 from source, I noticed after running for a while, >> no entries in my database. :-O When I went back and looked, sure >> enough, the configure script found nothing for mysql or mariadb: >> checking MariaDB pkg-config path... checking for MariaDB... no >> checking MySQL pkg-config path... checking for MySQL... no but I went >> back to my previous sources (4.2.2+git), re-ran the configure, and >> sure enough: checking for mysql headers... /usr/include/mysql yes >> checking for mysql libs... /usr/lib64/mysql checking for mysql_init >> in -lmysqlclient... yes What changed? I've tried passing args for the >> libraries, using combinations of "--with-mysql=" and >> "--with-mariadb=" and the includes/libs dirs, to no avail. If anyone >> can assist, I sure would love to continue to use my web interface, >> and it relies on the database functions.... -- Henry B. Tindall, Jr. >> CISSP, SSCP, Security+, Linux+, RHCSA ------------------------------ Message: 2 Date: Sun, 14 Jun 2020 13:08:57 -0400 From: csspcmotion <mot...@curtissystemssoftware.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: [Motion-user] firefox does not load >6 "img src' from motion default page Message-ID: <a8a2b733-d1f6-7eb8-29cb-d944962fd...@curtissystemssoftware.com> Content-Type: text/plain; charset=utf-8; format=flowed i adding a few more cameras ... now firefox (ver 77.0) when browsing default page at localhost:/8080? does not load more than 6 camera streams in motion ... what adjustments can be made to overcome this issue ------------------------------ Message: 3 Date: Sun, 14 Jun 2020 21:07:31 +0300 From: tosiara <tosi...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] firefox does not load >6 "img src' from motion default page Message-ID: <cachtdwrojlry8ewhkyhg43u_fzkfvpxyh6bc+mtzqc2gpa7...@mail.gmail.com> Content-Type: text/plain; charset="UTF-8" Adjust your Firefox setting in about:config network.http.max-persistent-connections-per-server On Sun, Jun 14, 2020 at 8:10 PM csspcmotion <mot...@curtissystemssoftware.com> wrote: > > i adding a few more cameras ... now firefox (ver 77.0) when browsing default > > page at localhost:/8080 does not load more than 6 camera streams > > in motion ... what adjustments can be made to overcome this issue > > > > _______________________________________________ > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user ------------------------------ Message: 4 Date: Sun, 14 Jun 2020 22:24:46 -0500 From: "Henry B. Tindall, Jr." <he...@linux-meister.com> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] Motion-user Digest, Vol 168, Issue 37 Message-ID: <43434da842aa7743173a370eeb114ef1.squir...@just76.justhost.com> Content-Type: text/plain;charset=utf-8 Sorry, CentOS 7: (22:22:03) tindallh@pbx:~$ cat /etc/redhat-release CentOS Linux release 7.8.2003 (Core) (22:22:16) tindallh@pbx:~$ uname -r 3.10.0-1127.el7.x86_64 (22:22:19) tindallh@pbx:~$ rpm -qa | grep -E "maria|mysql" qt-mysql-4.8.7-8.el7.x86_64 akonadi-mysql-1.9.2-4.el7.x86_64 mariadb-embedded-5.5.65-1.el7.x86_64 mariadb-test-5.5.65-1.el7.x86_64 php-mysqlnd-7.2.25-1.el7.remi.x86_64 mysql-connector-java-5.1.25-3.el7.noarch mariadb-server-5.5.65-1.el7.x86_64 mariadb-libs-5.5.65-1.el7.x86_64 mariadb-devel-5.5.65-1.el7.x86_64 mariadb-embedded-devel-5.5.65-1.el7.x86_64 mariadb-bench-5.5.65-1.el7.x86_64 mysql-connector-odbc-5.2.5-8.el7.x86_64 mariadb-5.5.65-1.el7.x86_64 -- Henry B. Tindall, Jr. CISSP, SSCP, Security+, Linux+, RHCSA On Sun, June 14, 2020 7:20 am, motion-user-requ...@lists.sourceforge.net wrote: > Send Motion-user mailing list submissions to > motion-user@lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/motion-user > or, via email, send a message with subject or body 'help' to > motion-user-requ...@lists.sourceforge.net > > You can reach the person managing the list at > motion-user-ow...@lists.sourceforge.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Motion-user digest..." Today's Topics: > > > 1. Re: mysqldb/mariadb libs (tosiara) > _______________________________________________ > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > > ------------------------------ Message: 5 Date: Mon, 15 Jun 2020 07:16:39 +0300 From: tosiara <tosi...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] mysqldb/mariadb libs Message-ID: <cachtdwqlpe1g1fpwjoyrvrryg7om_stdwibokectpldqx7o...@mail.gmail.com> Content-Type: text/plain; charset="UTF-8" There is already an open issue for Postgres libs detection on CentOS, so this could be related: https://github.com/Motion-Project/motion/issues/1156 On Mon, Jun 15, 2020 at 6:23 AM Henry B. Tindall, Jr. <he...@linux-meister.com> wrote: > > Sorry. CentOS: > > (22:22:03) tindallh@pbx:~$ cat /etc/redhat-release > CentOS Linux release 7.8.2003 (Core) > (22:22:16) tindallh@pbx:~$ uname -r > 3.10.0-1127.el7.x86_64 > (22:22:19) tindallh@pbx:~$ rpm -qa | grep -E "maria|mysql" > qt-mysql-4.8.7-8.el7.x86_64 > akonadi-mysql-1.9.2-4.el7.x86_64 > mariadb-embedded-5.5.65-1.el7.x86_64 > mariadb-test-5.5.65-1.el7.x86_64 > php-mysqlnd-7.2.25-1.el7.remi.x86_64 > mysql-connector-java-5.1.25-3.el7.noarch > mariadb-server-5.5.65-1.el7.x86_64 > mariadb-libs-5.5.65-1.el7.x86_64 > mariadb-devel-5.5.65-1.el7.x86_64 > mariadb-embedded-devel-5.5.65-1.el7.x86_64 > mariadb-bench-5.5.65-1.el7.x86_64 > mysql-connector-odbc-5.2.5-8.el7.x86_64 > mariadb-5.5.65-1.el7.x86_64 > > > -- > Henry B. Tindall, Jr. > CISSP, SSCP, Security+, Linux+, RHCSA > > On Sun, June 14, 2020 6:54 am, tosiara wrote: > > What operating system are you using? > > > > > > On Sun, Jun 14, 2020 at 9:16 AM Henry B. Tindall, Jr. > > <he...@linux-meister.com> wrote: > > > >> > >> -- > >> Henry B. Tindall, Jr. > >> CISSP, SSCP, Security+, Linux+, RHCSA > >> > >> > >> -- > >> Henry B. Tindall, Jr. > >> CISSP, SSCP, Security+, Linux+, RHCSA > >> > >> > >> It's been a while since I upgraded, and today when I finally found time > >> and compiled the 4.3.1 from source, I noticed after running for a > >> while, no entries in my database. :-O When I went back and looked, sure > >> enough, the configure script found nothing for mysql or mariadb: > >> > >> checking MariaDB pkg-config path... checking for MariaDB... no checking > >> MySQL pkg-config path... > >> checking for MySQL... no > >> > >> but I went back to my previous sources (4.2.2+git), re-ran the > >> configure, and sure enough: > >> > >> checking for mysql headers... /usr/include/mysql yes checking for mysql > >> libs... /usr/lib64/mysql checking for mysql_init in -lmysqlclient... yes > >> > >> > >> What changed? I've tried passing args for the libraries, using > >> combinations of "--with-mysql=" and "--with-mariadb=" and the > >> includes/libs dirs, to no avail. If anyone can assist, I sure would > >> love to continue to use my web interface, and it relies on the database > >> functions.... > >> > >> -- > >> Henry B. Tindall, Jr. > >> CISSP, SSCP, Security+, Linux+, RHCSA > >> > >> > >> > >> > >> > >> _______________________________________________ > >> Motion-user mailing list > >> Motion-user@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/motion-user > >> https://motion-project.github.io/ > >> > >> > >> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user > >> > > > > > > > > ------------------------------ ------------------------------ Subject: Digest Footer _______________________________________________ Motion-user mailing list Motion-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/motion-user ------------------------------ End of Motion-user Digest, Vol 168, Issue 38 ********************************************