Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. MOTION Adapter: Installation MOTION auf OS X

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    MOTION Adapter: Installation MOTION auf OS X

    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      pix last edited by

      Hallo,

      ich habe mir nach der Vorstellung des Motion Adapters mal die http://www.lavrsen.dk/foswiki/bin/view/Motion angesehen. Das ist eigentlich genau das, was ich suche. Leider bin ich fachlich nicht in der Lage, die Software auf OS X zu installieren. Auch das http://www.lavrsen.dk/foswiki/bin/view/Motion/MacOSX hat mir nicht weitergeholfen.

      Vielleicht hat jemand im Forum das schon gemacht und kann mir helfen!

      Danke und Gruß

      Pix

      1 Reply Last reply Reply Quote 0
      • V
        versteckt last edited by

        Hallo, hab mal schnell drüber geschaut, ich vermute das Problem ist, das diese Beschreibung aus dem Jahr 2005 ist.

        Das könnte mit den aktuellen Mac OS X (64 bit) ev. ein Problem darstellen.

        Ich werde das mal am Wochenende ausprobieren. Vorher komm ich leider nicht dazu.

        LG Christian

        1 Reply Last reply Reply Quote 0
        • P
          pix last edited by

          Super, vielen Dank.

          Gesendet von meinem iPhone mit Tapatalk

          1 Reply Last reply Reply Quote 0
          • P
            pix last edited by

            Hole das nochmal hoch:

            Hast du was erreicht?

            Gruß

            Pix

            1 Reply Last reply Reply Quote 0
            • V
              versteckt last edited by

              Hab gestern einen Weg ausprobiert, hat aber nicht bis zum Schluss funktioniert.

              Es fehlte eine Abhängigkeit zu libjpeg.

              Werde es heute Abend mittels Homebrew nochmals testen und stelle dann die Ergebnisse hier rein.

              LG Christian

              Gesendet von meinem iPhone mit Tapatalk

              1 Reply Last reply Reply Quote 0
              • V
                versteckt last edited by

                Hallo, so hab ja versprochen, das ich das bereits erledigte dokumentiere.

                Das Problem ist, das das Teil nicht so einfach zu bauen ist (zumindest unter einem aktuellen Mac OS X).

                Funktioniert hat es leider auch nicht, die Abhängigkeiten lassen sich dann zum Schluss nicht mehr auflösen.

                1.) Xcode installieren
                2.) Terminal öffnen
                3.) Temporäres Verzeichnis anlegen und dorthin wechseln
                	# mkdir $HOME/Documents/TEMP_MOTION
                	# cd $HOME/Documents/TEMP_MOTION
                4.) Download der notwendigen Pakete
                	# curl --remote-name http://ffmpegmac.net/resources/ffmpeg-2.7.1.tar.bz2
                	# curl --remote-name http://vorboss.dl.sourceforge.net/project/motion/motion%20-%203.2/3.2.12/motion-3.2.12.tar.gz
                	# curl --remote-name http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz
                	# curl --remote-name http://www.ijg.org/files/jpegsrc.v9a.tar.gz
                5.) autoconf einrichten
                	# tar xzvf autoconf-2.69.tar.gz
                	# cd autoconf-2.69
                	# ./configure --prefix=/usr/local/autoconf-2.69
                	# make
                	# sudo make install
                	# sudo ln -s autoconf-2.69 /usr/local/autoconf
                	# echo 'export PATH=/usr/local/autoconf/bin:$PATH' >> ~/.bash_profile
                	# source ~/.bash_profile
                	# autoconf --version
                	# cd ..
                6.) ffmpeg einrichten
                	# mkdir $HOME/Documents/FFMPEG
                	# bzip2 -d ffmpeg-2.7.1.tar.bz2
                	# tar xpf ffmpeg-2.7.1.tar
                	# cd ffmpeg-2.7.1
                	# ./configure --prefix=$HOME/Documents/FFMPEG --disable-yasm --enable-shared --arch=x86_64
                	# make
                	# sudo make install
                	# cd ..
                7.) libjpeg einrichten
                	# tar -xzvf jpegsrc.v9a.tar.gz
                	# cd jpeg-9a
                	# ./configure --prefix=/usr/local/libjpeg-9a
                	# make
                	# sudo make install
                	# sudo ln -s libjpeg-9a /usr/local/libjpeg
                7.) motion einrichten
                	# tar zxpf motion-3.2.12.tar.gz
                	# cd motion-3.2.12
                	# autoconf
                	# ./configure
                	# make
                
                

                Fehler:

                Generating dependencies, please wait...
                In file included from motion.c:13:
                ./video_freebsd.h:23:10: fatal error: 'dev/bktr/ioctl_meteor.h' file not found
                #include <dev bktr/ioctl_meteor.h="">^
                1 error generated.
                In file included from conf.c:30:
                ./video_freebsd.h:23:10: fatal error: 'dev/bktr/ioctl_meteor.h' file not found
                #include <dev bktr/ioctl_meteor.h="">^
                1 error generated.
                In file included from video_freebsd.c:12:
                ./video_freebsd.h:23:10: fatal error: 'dev/bktr/ioctl_meteor.h' file not found
                #include <dev bktr/ioctl_meteor.h="">^</dev></dev></dev> 
                

                Und diese Dateien finde ich lokal nicht.

                LG Christian

                1 Reply Last reply Reply Quote 0
                • P
                  pix last edited by

                  Hallo Christian,

                  danke für die ausführliche Anleitung.

                  Ich komme bis Punkt 8 (das zweite 7 😉 ) glatt durch. Bei der Installation von Motion kommt der Fehler

                  $ tar zxpf motion-3.2.12.tar.gz
                  tar: Error opening archive: Failed to open 'motion-3.2.12.tar.gz'
                  

                  Checke das morgen nochmal.

                  Gruß

                  Pix

                  1 Reply Last reply Reply Quote 0
                  • P
                    pix last edited by

                    Habs nochmal probiert.

                    Deie Installation von Motion klappt, aber nicht die Konfiguration

                    $ make
                    Welcome to the setup procedure for Motion, the motion detection daemon! If you get
                    error messages during this procedure, please report them to the mailing list. The
                    Motion Guide contains all information you should need to get Motion up and running.
                    Run "make updateguide" to download the latest version of the Motion Guide.
                    
                    Version: 3.2.12
                    Platform: FreeBSD
                    
                    Generating dependencies, please wait...
                    In file included from motion.c:10:
                    In file included from ./motion.h:194:
                    ./netcam.h:19:10: fatal error: 'jpeglib.h' file not found
                    #include <jpeglib.h>
                             ^
                    1 error generated.
                    In file included from conf.c:26:
                    In file included from ./motion.h:194:
                    ./netcam.h:19:10: fatal error: 'jpeglib.h' file not found
                    #include <jpeglib.h>
                             ^
                    1 error generated.
                    In file included from draw.c:13:
                    In file included from ./motion.h:194:
                    ./netcam.h:19:10: fatal error: 'jpeglib.h' file not found
                    #include <jpeglib.h>
                             ^
                    1 error generated.
                    In file included from jpegutils.c:31:
                    In file included from ./motion.h:194:
                    ./netcam.h:19:10: fatal error: 'jpeglib.h' file not found
                    #include <jpeglib.h>
                             ^
                    1 error generated.
                    In file included from video_freebsd.c:11:
                    In file included from ./rotate.h:14:
                    In file included from ./motion.h:194:
                    ./netcam.h:19:10: fatal error: 'jpeglib.h' file not found
                    #include <jpeglib.h>
                             ^
                    1 error generated.
                    In file included from netcam.c:40:
                    In file included from ./motion.h:194:
                    ./netcam.h:19:10: fatal error: 'jpeglib.h' file not found
                    #include <jpeglib.h>
                             ^
                    1 error generated.
                    In file included from netcam_ftp.c:11:
                    In file included from ./motion.h:194:
                    ./netcam.h:19:10: fatal error: 'jpeglib.h' file not found
                    #include <jpeglib.h>
                             ^
                    1 error generated.
                    In file included from netcam_jpeg.c:15:
                    In file included from ./rotate.h:14:
                    In file included from ./motion.h:194:
                    ./netcam.h:19:10: fatal error: 'jpeglib.h' file not found
                    #include <jpeglib.h>
                             ^
                    1 error generated.
                    In file included from netcam_wget.c:26:
                    In file included from ./motion.h:194:
                    ./netcam.h:19:10: fatal error: 'jpeglib.h' file not found
                    #include <jpeglib.h>
                             ^
                    1 error generated.
                    In file included from track.c:11:
                    In file included from ./motion.h:194:
                    ./netcam.h:19:10: fatal error: 'jpeglib.h' file not found
                    #include <jpeglib.h>
                             ^
                    1 error generated.
                    In file included from alg.c:9:
                    In file included from ./motion.h:194:
                    ./netcam.h:19:10: fatal error: 'jpeglib.h' file not found
                    #include <jpeglib.h>
                             ^
                    1 error generated.
                    In file included from event.c:13:
                    In file included from ./picture.h:13:
                    In file included from ./motion.h:194:
                    ./netcam.h:19:10: fatal error: 'jpeglib.h' file not found
                    #include <jpeglib.h>
                             ^
                    1 error generated.
                    In file included from picture.c:11:
                    In file included from ./picture.h:13:
                    In file included from ./motion.h:194:
                    ./netcam.h:19:10: fatal error: 'jpeglib.h' file not found
                    #include <jpeglib.h>
                             ^
                    1 error generated.
                    In file included from rotate.c:32:
                    In file included from ./rotate.h:14:
                    In file included from ./motion.h:194:
                    ./netcam.h:19:10: fatal error: 'jpeglib.h' file not found
                    #include <jpeglib.h>
                             ^
                    1 error generated.
                    In file included from webhttpd.c:13:
                    In file included from ./webhttpd.h:16:
                    In file included from ./motion.h:194:
                    ./netcam.h:19:10: fatal error: 'jpeglib.h' file not found
                    #include <jpeglib.h>
                             ^
                    1 error generated.
                    In file included from webcam.c:21:
                    In file included from ./picture.h:13:
                    In file included from ./motion.h:194:
                    ./netcam.h:19:10: fatal error: 'jpeglib.h' file not found
                    #include <jpeglib.h>
                             ^
                    1 error generated.
                    make: *** [.depend] Error 1</jpeglib.h></jpeglib.h></jpeglib.h></jpeglib.h></jpeglib.h></jpeglib.h></jpeglib.h></jpeglib.h></jpeglib.h></jpeglib.h></jpeglib.h></jpeglib.h></jpeglib.h></jpeglib.h></jpeglib.h></jpeglib.h>
                    

                    In der Anleitung oben fehlt nur ein VErzeichniswechsel cd .. vor "motion einrichten", daher der Fehler bei # tar zxpf motion-3.2.12.tar.gz

                    Und bei der Installation von libjpeg kam schon dieser Fehler

                    You do not have threads support
                    
                    checking for libjpeg-mmx... skipping
                    checking for libjpeg... 
                    checking for jpeg_set_defaults in -ljpeg... no
                    
                    You do not have libjpeg installed
                    
                    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.
                    

                    Denke, das wird so nix. Schade.

                    Läuft das denn auf einem Raspi2? Würde mir dafür so ein Ding mal anschaffen.

                    Gruß

                    Pix

                    1 Reply Last reply Reply Quote 0
                    • V
                      versteckt last edited by

                      Für Linux gibt es ja glaub ich Pakete.

                      Gesendet von meinem iPhone mit Tapatalk

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post

                      Support us

                      ioBroker
                      Community Adapters
                      Donate

                      601
                      Online

                      31.9k
                      Users

                      80.1k
                      Topics

                      1.3m
                      Posts

                      2
                      9
                      1857
                      Loading More Posts
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes
                      Reply
                      • Reply as topic
                      Log in to reply
                      Community
                      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                      The ioBroker Community 2014-2023
                      logo