<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">bei Andreas geht es.<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">Am 03.11.2015 um 21:35 schrieb Karlheinz <<a href="mailto:karlheinz.es@gmx.de" class="">karlheinz.es@gmx.de</a>>:</div><br class="Apple-interchange-newline"><div class="">
  
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type" class="">
  
  <div smarttemplateinserted="true" text="#000000" bgcolor="#FFFFFF" class="">
    <div id="smartTemplate4-template" class="">lt. <br class="">
      <a class="moz-txt-link-freetext" href="https://packages.debian.org/search?keywords=gcc-4.8">https://packages.debian.org/search?keywords=gcc-4.8</a><br class="">
      wird gcc-package > 4.7 für wheezy nicht unterstützt. :-(<br class="">
      <br class="">
      Gruß<br class="">
      Karlheinz<br class="">
    </div>
    <br class="">
    <blockquote cite="mid:CAD+a8MhWV6AiuQSMesAvJ+USA-UpWU=ZkXtJgpmmQgfgLhWcNg@mail.gmail.com" type="cite" class="">
      <div dir="ltr" class="">
        <div class="">
          <div class="">
            <div class="">Mhm. Es scheint noch zu früh für mich:<br class="">
              <br class="">
              pi@NT-Meter ~/vzlogger $ export CXX=g++-4.8; sudo cmake .<br class="">
              Compiling for target ''<br class="">
              -- using gcc compiler GNU<br class="">
              -- checking if -Wno-ignored-qualifiers works<br class="">
              -- FindSml check<br class="">
              -- checking for module 'sml>=0.9'<br class="">
              --   package 'sml>=0.9' not found<br class="">
              -- SML_HOME env is not set, setting it to /usr/local<br class="">
              -- Looking for sml in /usr/local<br class="">
              -- FindMBus check<br class="">
              -- Looking for libmbus in /usr/local/include<br class="">
              libmbus found: '/usr/local/include'<br class="">
              -- FindMicrohttpd check<br class="">
              -- checking for module 'microhttpd>=0.9'<br class="">
              --   package 'microhttpd>=0.9' not found<br class="">
              -- MICROHTTPD_HOME env is not set, setting it to
              /usr/local<br class="">
              -- Looking for microhttpd in /usr/local<br class="">
              -- FindJson check<br class="">
              -- JSON_HOME env is not set, setting it to /usr/local<br class="">
              -- Looking for json in /usr/local<br class="">
              Json-c search:
              '/usr/local/include;/usr/local/include;/usr/local/include;/usr/include'<br class="">
              Json-c found: '/usr/local/include'<br class="">
              -- FindGnuTls check<br class="">
              -- ==> ''<br class="">
              -- GNUTLS_HOME env is not set, setting it to /usr/local<br class="">
              -- Looking for gnutls in /usr/local<br class="">
              ==>
GNUTLS_LIBRARIES='/usr/lib/arm-linux-gnueabihf/libgnutls.a;/lib/arm-linux-gnueabihf/libgcrypt.a;/usr/lib/arm-linux-gnueabihf/libgpg-error.a;/usr/lib/arm-linux-gnueabihf/libtasn1.a;/usr/lib/arm-linux-gnueabihf/libz.a;-lp11-kit;-lsasl2;/lib/arm-linux-gnueabihf/libgcrypt.a'<br class="">
              -- Could NOT find Subversion (missing: 
              Subversion_SVN_EXECUTABLE)<br class="">
              CMake Warning at CMakeLists.txt:171 (message):<br class="">
                Disabled googlemock/-test tests due to GCC version <
              4.8!<br class="">
              <br class="">
              <br class="">
              <br class="">
                      ***** Configuration parameters *****<br class="">
                           prefix: /usr/local<br class="">
                           json: -L/usr/local/lib/libjson-c.a;-lrt
              -I/usr/local/include<br class="">
                           sml:  -L/usr/lib/libsml.a;-lrt -I/usr/include<br class="">
                           microhttpd:
              -L/usr/lib/arm-linux-gnueabihf/libmicrohttpd.a;-lrt
              -I/usr/include<br class="">
                           libmbus: -L/usr/local/lib/libmbus.so;-lm
              -I/usr/local/include<br class="">
              -- Configuring done<br class="">
              -- Generating done<br class="">
              -- Build files have been written to: /home/pi/vzlogger<br class="">
              <br class="">
              pi@NT-Meter ~/vzlogger $ make<br class="">
              /usr/bin/cmake -H/home/pi/vzlogger -B/home/pi/vzlogger
              --check-build-system CMakeFiles/Makefile.cmake 0<br class="">
              /usr/bin/cmake -E cmake_progress_start
              /home/pi/vzlogger/CMakeFiles
              /home/pi/vzlogger/CMakeFiles/progress.marks<br class="">
              make -f CMakeFiles/Makefile2 all<br class="">
              make[1]: Entering directory '/home/pi/vzlogger'<br class="">
              make -f src/CMakeFiles/vz.dir/build.make
              src/CMakeFiles/vz.dir/depend<br class="">
              make[2]: Entering directory '/home/pi/vzlogger'<br class="">
              cd /home/pi/vzlogger && /usr/bin/cmake -E
              cmake_depends "Unix Makefiles" /home/pi/vzlogger
              /home/pi/vzlogger/src /home/pi/vzlogger
              /home/pi/vzlogger/src
              /home/pi/vzlogger/src/CMakeFiles/vz.dir/DependInfo.cmake
              --color=<br class="">
              make[2]: Leaving directory '/home/pi/vzlogger'<br class="">
              make -f src/CMakeFiles/vz.dir/build.make
              src/CMakeFiles/vz.dir/build<br class="">
              make[2]: Entering directory '/home/pi/vzlogger'<br class="">
              make[2]: Nothing to be done for
              'src/CMakeFiles/vz.dir/build'.<br class="">
              make[2]: Leaving directory '/home/pi/vzlogger'<br class="">
              /usr/bin/cmake -E cmake_progress_report
              /home/pi/vzlogger/CMakeFiles  10 11 12 13 14 15 16 17 18
              19<br class="">
              [100%] Built target vz<br class="">
              make -f src/protocols/CMakeFiles/proto.dir/build.make
              src/protocols/CMakeFiles/proto.dir/depend<br class="">
              make[2]: Entering directory '/home/pi/vzlogger'<br class="">
              cd /home/pi/vzlogger && /usr/bin/cmake -E
              cmake_depends "Unix Makefiles" /home/pi/vzlogger
              /home/pi/vzlogger/src/protocols /home/pi/vzlogger
              /home/pi/vzlogger/src/protocols
              /home/pi/vzlogger/src/protocols/CMakeFiles/proto.dir/DependInfo.cmake
              --color=<br class="">
              make[2]: Leaving directory '/home/pi/vzlogger'<br class="">
              make -f src/protocols/CMakeFiles/proto.dir/build.make
              src/protocols/CMakeFiles/proto.dir/build<br class="">
              make[2]: Entering directory '/home/pi/vzlogger'<br class="">
              make[2]: Nothing to be done for
              'src/protocols/CMakeFiles/proto.dir/build'.<br class="">
              make[2]: Leaving directory '/home/pi/vzlogger'<br class="">
              /usr/bin/cmake -E cmake_progress_report
              /home/pi/vzlogger/CMakeFiles  1 2 3 4 5 6 7 8 9<br class="">
              [100%] Built target proto<br class="">
              make -f src/api/CMakeFiles/vz-api.dir/build.make
              src/api/CMakeFiles/vz-api.dir/depend<br class="">
              make[2]: Entering directory '/home/pi/vzlogger'<br class="">
              cd /home/pi/vzlogger && /usr/bin/cmake -E
              cmake_depends "Unix Makefiles" /home/pi/vzlogger
              /home/pi/vzlogger/src/api /home/pi/vzlogger
              /home/pi/vzlogger/src/api
              /home/pi/vzlogger/src/api/CMakeFiles/vz-api.dir/DependInfo.cmake
              --color=<br class="">
              make[2]: Leaving directory '/home/pi/vzlogger'<br class="">
              make -f src/api/CMakeFiles/vz-api.dir/build.make
              src/api/CMakeFiles/vz-api.dir/build<br class="">
              make[2]: Entering directory '/home/pi/vzlogger'<br class="">
              make[2]: Nothing to be done for
              'src/api/CMakeFiles/vz-api.dir/build'.<br class="">
              make[2]: Leaving directory '/home/pi/vzlogger'<br class="">
              /usr/bin/cmake -E cmake_progress_report
              /home/pi/vzlogger/CMakeFiles  20 21 22 23 24 25<br class="">
              [100%] Built target vz-api<br class="">
              make -f src/CMakeFiles/vzlogger.dir/build.make
              src/CMakeFiles/vzlogger.dir/depend<br class="">
              make[2]: Entering directory '/home/pi/vzlogger'<br class="">
              cd /home/pi/vzlogger && /usr/bin/cmake -E
              cmake_depends "Unix Makefiles" /home/pi/vzlogger
              /home/pi/vzlogger/src /home/pi/vzlogger
              /home/pi/vzlogger/src
              /home/pi/vzlogger/src/CMakeFiles/vzlogger.dir/DependInfo.cmake
              --color=<br class="">
              make[2]: Leaving directory '/home/pi/vzlogger'<br class="">
              make -f src/CMakeFiles/vzlogger.dir/build.make
              src/CMakeFiles/vzlogger.dir/build<br class="">
              make[2]: Entering directory '/home/pi/vzlogger'<br class="">
              Linking CXX executable vzlogger<br class="">
              cd /home/pi/vzlogger/src && /usr/bin/cmake -E
              cmake_link_script CMakeFiles/vzlogger.dir/link.txt
              --verbose=1<br class="">
              /usr/bin/c++    -W -Wall -Wextra -Werror
              -Wnon-virtual-dtor -Wno-system-headers -Winit-self
              -Wmissing-include-dirs -Wno-pragmas -Wredundant-decls
              -Wno-unused-parameter -std=c++11 -fpermissive
              -Wno-error=redundant-decls -Wno-ignored-qualifiers   
              CMakeFiles/vzlogger.dir/vzlogger.cpp.o
              CMakeFiles/vzlogger.dir/ltqnorm.cpp.o
              CMakeFiles/vzlogger.dir/Meter.cpp.o
              CMakeFiles/vzlogger.dir/__/gitSha1.cpp.o
              CMakeFiles/vzlogger.dir/CurlSessionProvider.cpp.o
              CMakeFiles/vzlogger.dir/PushData.cpp.o  -o vzlogger
              -rdynamic protocols/libproto.a libvz.a api/libvz-api.a
              /usr/local/lib/libjson-c.a -lrt -Wl,-Bstatic -lsml
              -Wl,-Bdynamic -lrt /usr/local/lib/libmbus.so -lm
              -Wl,-Bstatic -lmicrohttpd -Wl,-Bdynamic -lrt -lgcrypt
              -lpthread -lm -luuid -ldl -lcurl -Wl,-Bstatic -lgnutls
              -lgcrypt -lgpg-error -ltasn1 -lz -Wl,-Bdynamic -lp11-kit
              -lsasl2 -Wl,-Bstatic -lgcrypt -Wl,-Bdynamic -lssl -lcrypto
              -latomic -Wl,-Bstatic -lsml -Wl,-Bdynamic
              /usr/local/lib/libmbus.so -lm -Wl,-Bstatic -lmicrohttpd
              -Wl,-Bdynamic -lgcrypt -lpthread -lm -luuid -ldl -lcurl
              -Wl,-Bstatic -lgnutls -lgcrypt -lgpg-error -ltasn1 -lz
              -Wl,-Bdynamic -lp11-kit -lsasl2 -Wl,-Bstatic -lgcrypt
              -lgpg-error -ltasn1 -lz -Wl,-Bdynamic -lp11-kit -lsasl2
              -lssl -lcrypto -latomic -Wl,-rpath,/usr/local/lib<br class="">
              /usr/bin/ld: cannot find -latomic<br class="">
              collect2: error: ld returned 1 exit status<br class="">
              src/CMakeFiles/vzlogger.dir/build.make:248: recipe for
              target 'src/vzlogger' failed<br class="">
              make[2]: *** [src/vzlogger] Error 1<br class="">
              make[2]: Leaving directory '/home/pi/vzlogger'<br class="">
              CMakeFiles/Makefile2:1021: recipe for target
              'src/CMakeFiles/vzlogger.dir/all' failed<br class="">
              make[1]: *** [src/CMakeFiles/vzlogger.dir/all] Error 2<br class="">
              make[1]: Leaving directory '/home/pi/vzlogger'<br class="">
              Makefile:146: recipe for target 'all' failed<br class="">
              make: *** [all] Error 2<br class="">
              <br class="">
            </div>
            Irgendwie ist die 4.8 nicht aktiv trotz des exports.
            Gleicher Rechner wie von Matthias getestet.<br class="">
            <br class="">
          </div>
          <div class="">Sollen wir die vzlogger Version aufgrund der anderen
            Build Umgebung evtl. auf 0.5 erhöhen?<br class="">
            <br class="">
          </div>
          Viele Grüße,<br class="">
        </div>
        Andreas<br class="">
        <br class="">
      </div>
      <div class="gmail_extra"><br class="">
        <div class="gmail_quote">2015-11-02 22:44 GMT+01:00 Matthias
          Behr <span dir="ltr" class=""><<a moz-do-not-send="true" href="mailto:mbehr@mcbehr.de" target="_blank" class="">mbehr@mcbehr.de</a>></span>:<br class="">
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div style="word-wrap:break-word" class="">Hi,
              <div class=""><br class="">
              </div>
              <div class="">nach:</div>
              <div class="">
                <div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo" class="">git
                  clone <a moz-do-not-send="true" href="https://github.com/volkszaehler/vzlogger.git" target="_blank" class="">https://github.com/volkszaehler/vzlogger.git</a></div>
              </div>
              <div class="">cd vzlogger</div>
              <div class="">mkdir build</div>
              <div class="">cd build</div>
              <div class="">
                <div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo" class="">sudo
                  apt-get install gcc-4.8 g++-4.8</div>
                <div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo" class="">
                  <div style="margin:0px;line-height:normal" class="">export
                    CXX=g++-4.8; cmake ..</div>
                  <div style="margin:0px;line-height:normal" class="">make</div>
                  <div style="margin:0px;line-height:normal" class="">
                    <div style="margin:0px;line-height:normal" class="">src/vzlogger
                      —version</div>
                    <div style="margin:0px;line-height:normal" class=""><br class="">
                    </div>
                    <div style="margin:0px;line-height:normal" class="">erscheint:</div>
                    <div style="margin:0px;line-height:normal" class="">0.4.7</div>
                    <div style="margin:0px;line-height:normal" class=""> based on
                      git version: heads/master-0-gfb43c53abf</div>
                    <div style="margin:0px;line-height:normal" class=""> last
                      commit date: Sun, 1 Nov 2015 18:43:54 +0100</div>
                    <div style="margin:0px;line-height:normal" class=""><br class="">
                    </div>
                    <div style="margin:0px;line-height:normal" class=""><br class="">
                    </div>
                    <div style="margin:0px;line-height:normal" class="">Aber bei
                      dir war vorher ja schon gcc-4.7 installiert. Das
                      habe ich nicht ganz verfolgt. Dabei kann auch per
                      update alternatives gcc-4.8 als default gesetzt
                      werden, das ist bei dir jetzt noch nicht der Fall.
                      Daher ist das export CXX=… vor dem cmake
                      notwendig. </div>
                    <div style="margin:0px;line-height:normal" class="">Btw: die
                      „out-of-source Builds“ wie oben in ein spez. Build
                      Directory sind bei cmake vorzuziehen. Dann kann
                      man schnell per rm -rf build einfach alles
                      aufräumen ;-)</div>
                    <div style="margin:0px;line-height:normal" class=""><br class="">
                    </div>
                    <div style="margin:0px;line-height:normal" class=""> </div>
                  </div>
                </div>
                <div class="">
                  <div class="h5">
                    <div class="">
                      <blockquote type="cite" class="">
                        <div class="">Am 02.11.2015 um 21:47 schrieb Andreas
                          Goetz <<a moz-do-not-send="true" href="mailto:cpuidle@gmail.com" target="_blank" class="">cpuidle@gmail.com</a>>:</div>
                        <br class="">
                        <div class="">
                          <div dir="ltr" class="">Hallöle,<br class="">
                            <div class="gmail_extra"><br class="">
                              <div class="gmail_quote">2015-11-02 20:07
                                GMT+01:00 Udo1 <span dir="ltr" class=""><<a moz-do-not-send="true" href="mailto:udo1@gmx.net" target="_blank" class=""></a><a class="moz-txt-link-abbreviated" href="mailto:udo1@gmx.net">udo1@gmx.net</a>></span>:<br class="">
                                <blockquote class="gmail_quote" style="margin:0 0 0
                                  .8ex;border-left:1px #ccc
                                  solid;padding-left:1ex">Mhhm, gerade
                                  festgestellt, dass ich ja das neue
                                  Image mit Debian-Jessi habe.<br class="">
                                  Jetzt stellt sich aber mir die Frage,
                                  wieso sollen wir ein alte
                                  Debian-Wheezy-Image updaten?<br class="">
                                  Wäre es nicht einfacher die Datenbank
                                  zu sichern, auf das neue Image
                                  upzudaten und die Datenbank wieder
                                  aufzuspielen?<br class="">
                                </blockquote>
                                <div class=""><br class="">
                                </div>
                                <div class="">Hab Matthias eine upgegradete
                                  Wheezy geschickt- erstmal besser als
                                  nix.<br class="">
                                   <br class="">
                                </div>
                                <blockquote class="gmail_quote" style="margin:0 0 0
                                  .8ex;border-left:1px #ccc
                                  solid;padding-left:1ex">
                                  <br class="">
                                  Gruß<br class="">
                                  Udo</blockquote>
                                <div class=""><br class="">
                                </div>
                                <div class="">Viele Grüße,<br class="">
                                </div>
                                <div class="">Andreas<br class="">
                                   <br class="">
                                </div>
                                <blockquote class="gmail_quote" style="margin:0 0 0
                                  .8ex;border-left:1px #ccc
                                  solid;padding-left:1ex">
                                  <div class="">
                                    <div class=""><br class="">
                                      <br class="">
                                      Am 02.11.2015 um 19:29 schrieb
                                      Matthias Behr:<br class="">
                                      <blockquote class="gmail_quote" style="margin:0 0 0
                                        .8ex;border-left:1px #ccc
                                        solid;padding-left:1ex">
                                        gute Idee.<br class="">
                                        <blockquote class="gmail_quote" style="margin:0 0 0
                                          .8ex;border-left:1px #ccc
                                          solid;padding-left:1ex">
                                          Am 02.11.2015 um 19:24 schrieb
                                          Udo1 <<a moz-do-not-send="true" href="mailto:udo1@gmx.net" target="_blank" class=""></a><a class="moz-txt-link-abbreviated" href="mailto:udo1@gmx.net">udo1@gmx.net</a>>:<br class="">
                                          <br class="">
                                          Am 02.11.2015 um 19:05 schrieb
                                          Andreas Götz:<br class="">
                                          <blockquote class="gmail_quote" style="margin:0 0 0
                                            .8ex;border-left:1px #ccc
                                            solid;padding-left:1ex">
                                            Ich schick Dir ssh auf Raspi
                                            per pm.<br class="">
                                          </blockquote>
                                          Wäre es nicht besser Matthias
                                          würde sich auf meinen Raspi
                                          einloggen? Dann kann ich
                                          hinterher ein neues Image
                                          erstellen.<br class="">
                                          <br class="">
                                          Gruß<br class="">
                                          Udo<br class="">
                                        </blockquote>
                                        Gruß<br class="">
                                        <br class="">
                                        Matthias<br class="">
                                        <br class="">
                                        <br class="">
                                      </blockquote>
                                      <br class="">
                                    </div>
                                  </div>
                                </blockquote>
                              </div>
                              <br class="">
                            </div>
                          </div>
                        </div>
                      </blockquote>
                    </div>
                    <br class="">
                  </div>
                </div>
                <div class="">
                  <span style="border-collapse:separate;line-height:normal;border-spacing:0px" class="">
                    <div style="word-wrap:break-word" class="">
                      <div class="">Gruß</div>
                      <span class="HOEnZb"><font color="#888888" class="">
                          <div class=""><br class="">
                          </div>
                          <div class="">Matthias</div>
                        </font></span></div>
                  </span>
                </div>
                <br class="">
              </div>
            </div>
          </blockquote>
        </div>
        <br class="">
      </div>
    </blockquote>
    <br class="">
  </div>

</div></blockquote></div><br class=""><div class="">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Gruß</div><div class=""><br class=""></div><div class="">Matthias</div></div></span>
</div>
<br class=""></div></body></html>