Форум русскоязычного сообщества Ubuntu


Следите за новостями русскоязычного сообщества Ubuntu в Twitter-ленте @ubuntu_ru_loco

Автор Тема: motion при сборке из исходников ошибка  (Прочитано 6097 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн dry6

  • Автор темы
  • Любитель
  • *
  • Сообщений: 52
    • Просмотр профиля
Re: motion при сборке из исходников ошибка
« Ответ #15 : 28 Декабря 2012, 19:44:02 »
 :D спасибо это очень круто!осталось прикрутить ffmpeg и разаобраться ка это прикрутить к fail2ban

Пользователь решил продолжить мысль 28 Декабря 2012, 20:31:26:
q:/usr/local/motion-3.2.12$ sudo ./configure
checking for Darwin... no
checking for *BSD... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking threads... yes
checking for libjpeg-mmx... skipping
checking for libjpeg...
checking for jpeg_set_defaults in -ljpeg... yes
checking for ffmpeg autodetecting... not found

**********************************************
* libavcodec.a or libavcodec.so or           *
* libavformat.a or libavformat.so not found: *
*    ALL FFMPEG FEATURES DISABLED            *
*                                            *
* Please read the Motion Guide for help:     *
* http://motion.sourceforge.net              *
**********************************************

checking for mysql support... testing
checking autodect mysql headers... not found
Invalid MySQL directory - unable to find mysql.h.
checking for PostgreSQL... testing
checking autodect pgsql headers... not found
Invalid PostgreSQL directory - unable to find libpq-fe.h.
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stdio.h usability... yes
checking stdio.h presence... ^[[Ayes
checking for stdio.h... yes
checking for unistd.h... (cached) yes
checking for stdint.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking linux/videodev.h usability... no
checking linux/videodev.h presence... no
checking for linux/videodev.h... no
checking linux/videodev2.h usability... yes
checking linux/videodev2.h presence... yes
checking for linux/videodev2.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for sys/types.h... (cached) yes
checking for get_current_dir_name... yes
checking for struct v4l2_buffer... no
checking for V42L support... no
checking for V42L *old* support... testing
checking for linux/videodev2.h... (cached) yes
checking size of short... 2
checking size of int... 4
checking size of long int... 8
checking size of long long... 8
checking size of int *... 8
checking size of void *... 8
checking for an ANSI C-conforming const... yes
Detected CPU: AMD A8-5500 APU with Radeon(tm) HD Graphics   
CPU optimization:
checking for bswap instruction... yes
configure: creating ./config.status
config.status: creating thread1.conf
config.status: creating thread2.conf
config.status: creating thread3.conf
config.status: creating thread4.conf
config.status: creating motion-dist.conf
config.status: creating motion.init-FreeBSD.sh
config.status: creating motion.init-Debian
config.status: creating motion.init-Fedora
config.status: creating motion.spec
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged

   *******************************
      Configure status   
      motion 3.2.12
   *******************************

OS             :     Linux
pthread Support:     Yes
jpeg Support:        Yes
V4L included:        Yes
V4L2 supported:      Yes
FFmpeg Support:      No
MYSQL Support:       No
PostgreSQL Support:  No

CFLAGS:  -g -O2 -D_REENTRANT -DMOTION_V4L2 -DMOTION_V4L2_OLD -DTYPE_32BIT="int" -DHAVE_BSWAP   
LIBS: -lm  -lpthread -ljpeg
LDFLAGS: 

Install prefix:       /usr/local


 не видит ffmpeg :-\
« Последнее редактирование: 28 Декабря 2012, 20:31:26 от dry6 »

Оффлайн dry6

  • Автор темы
  • Любитель
  • *
  • Сообщений: 52
    • Просмотр профиля
Re: motion при сборке из исходников ошибка
« Ответ #16 : 30 Декабря 2012, 00:26:25 »
Господа сериал закончен  :) спасибо mszerg и его статье http://autohome.org.ua/14-ubuntu-debian/24-authorization-motion-detection-ubuntu   теперь останется это хозяйство прикрутить к  fail2ban и радоваться.Скажу сразу что бы всё заработало хватит этой статьи и подробного описания самого конфига из этой статьи-где сам с ним и разбирался тк не имею познаний англ языка http://komiprint.ru/index.php?id=31

 

Страница сгенерирована за 0.033 секунд. Запросов: 25.