<div dir="ltr">Hi,<br><div class="gmail_extra"><br><div class="gmail_quote">2015-12-14 10:15 GMT+01:00 Rudolf Reuter <span dir="ltr"><<a href="mailto:reuterru@arcor.de" target="_blank">reuterru@arcor.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Hallo Andreas,<br>
      <br>
      jetzt bin ich doch etwas verwirrt.<br>
      Ich hatte die Datei install.sh von <a href="http://volkszaehler.org" target="_blank">volkszaehler.org</a> gemeint. Das
      war dann falsch.<br>
      <br>
      Ich habe mir angesehen: <a href="https://github.com/volkszaehler/vzlogger" target="_blank">https://github.com/volkszaehler/vzlogger</a><br>
      Dort wird im README geschrieben:
      
      <pre>sudo bash install.sh

Es gibt mit git pull aber nur eine Datei: install-sh ("-" statt ".").
Das wird im File selbst auch begründet, Zitat:
"# Calling this script install-sh is preferred over install.sh, to prevent
# `make' implicit rules from creating a file called install from it
# when there is no Makefile."
"
Wenn  ich die aufrufe, kommt nur:
$ sudo bash install-sh
install-sh: no input file specified.

In der Anleitung:
<a href="http://wiki.volkszaehler.org/software/controller/vzlogger/installation_cpp-version" target="_blank">http://wiki.volkszaehler.org/software/controller/vzlogger/installation_cpp-version</a>
ist weder von einer "install.sh" noch "install-sh" die Rede.
</pre>
      Was muss denn bei "install-sh" angegeben werden?<br></div></div></blockquote><div><br></div><div>Also erstmal steht unter <a href="https://github.com/volkszaehler/vzlogger">https://github.com/volkszaehler/vzlogger</a> folgendes zur Anleitung:<br><br><pre>    wget --no-check-certificate <a href="https://raw.github.com/volkszaehler/vzlogger/master/install.sh">https://raw.github.com/volkszaehler/vzlogger/master/install.sh</a>
    sudo bash install.sh<br><br></pre>Das heisst dann auch dass die install.sh existiert wenn Du sie runter geladen hast.<br><br></div><div>Keine Ahnung was Du da tust. Im Zeifel vzlogger Ordner löschen und von vorne anfangen...<br><br></div><div>Sorry,<br></div><div>Andreas<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><div>
      Grüße, Rudolf<br>
      <br>
      Am 14.12.15 um 09:24 schrieb Andreas Goetz:<br>
    </div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">Moin Rudolf,<br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">2015-12-14 9:16 GMT+01:00 Rudolf
            Reuter <span dir="ltr"><<a href="mailto:reuterru@arcor.de" target="_blank">reuterru@arcor.de</a>></span>:<br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
              <div bgcolor="#FFFFFF" text="#000000">
                <div>Hallo Andreas,<br>
                  <br>
                  ich habe zuerst install.sh verwendet, und danach
                  versucht vzlogger zu compilieren.<br>
                  Das Frontend von <a href="http://volkszaehler.org" target="_blank">volkszaehler.org</a>
                  funktioniert.<br>
                </div>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>Reden wir von derselben install.sh? vzlogger hat mit
              Frontend und dessen Installation erstmal nichts zu tun.<br>
              <br>
              vzlogger hat seine eigene install.sh die auch alle
              Bibliotheken mit compiliert. Verwendest Du wirklich die
              Anleitung und install.sh von <a href="https://github.com/volkszaehler/vzlogger" target="_blank">https://github.com/volkszaehler/vzlogger</a>?<br>
              <br>
            </div>
            <div>Viele Grüße,<br>
            </div>
            <div>Andreas<br>
              <br>
            </div>
            <div><br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
              <div bgcolor="#FFFFFF" text="#000000">
                <div> <br>
                  Wenn das mit meinem NodeMCU (ESP-12, ESP8266)
                  funktioniert,<br>
                  dann kann ich auf vzlogger erst einmal verzichten, da
                  ich zur Zeit<br>
                  nur Temperaturen messe.<br>
                  <br>
                  Der vzlogger scheint ja schwierig zu compilieren zu
                  sein.<br>
                  <br>
                  Grüße, Rudolf<br>
                  <br>
                  Am 14.12.15 um 08:01 schrieb Andreas Götz:<br>
                </div>
                <div>
                  <div>
                    <blockquote type="cite">
                      <div>Moin,</div>
                      <div><br>
                      </div>
                      <div>Ohne das Problem diagnostizieren zu können:
                        compilierst Du alles einzeln oder verwendest Du
                        install.sh?</div>
                      <div><br>
                      </div>
                      <div>Viele Grüße, Andreas </div>
                      <div><br>
                        Am 14.12.2015 um 06:47 schrieb Rudolf Reuter
                        <<a href="mailto:reuterru@arcor.de" target="_blank">reuterru@arcor.de</a>>:<br>
                        <br>
                      </div>
                      <blockquote type="cite">
                        <div>
                          <div>@Udo1<br>
                            Mit dem Image hatte ich ein Problem, es kann
                            aber auch an <br>
                            einer defekten SD-Karte gelegen haben.
                            Deshalb habe ich den<br>
                            Weg mit dem Compiler gewählt, was ja nach
                            aktueller Anleitung<br>
                            auch funktionieren sollte ;-)<br>
                            <br>
                            @Andreas<br>
                            Ja, es gibt /usr/include/json-c/json.h, aber
                            nicht die Environment<br>
                            Variable JSON_HOME, wenn ich aufrufe:<br>
                            $ env<br>
                            <br>
                            Ich habe dann in ~/.bashrc exportiert:<br>
                            export JSON_HOME=/usr/include/json-c/json.h<br>
                            und nach logout/login geprüft mit:<br>
                            $ env<br>
                            <br>
                            Aber das hat leider den Compiler Fehler
                            nicht behoben:<br>
                            -- FindJson check<br>
                            -- checking for module 'json>=0.9'<br>
                            --   package 'json>=0.9' not found<br>
                            -- JSON_HOME is not empty: "/usr/local/lib/"<br>
                            -- Looking for json in /usr/local/lib/<br>
                            Jsoon search:
'/usr/local/lib//include;/usr/local/lib//include;/usr/local/include;/usr/include'<br>
                            CMake Error at CMakeLists.txt:74 (message):<br>
                              libjson ist required.<br>
                            <br>
                              Install json or call cmake
                            -DJSON_HOME=path_to_json_install<br>
                            <br>
                            Ich habe gesehen, im File
                            vzlogger/include/json.hpp ist:<br>
                            #include <json/json.h><br>
                            <br>
                            Das habe ich zum Versuch geändert in:<br>
                            #include <json-c/json.h><br>
                            Das hat den Compiler Fehler auch nicht
                            behoben.<br>
                            <br>
                            Grüße, Rudolf<br>
                            <br>
                            Am 13.12.15 um 23:27 schrieb Matthias Behr:<br>
                          </div>
                          <blockquote type="cite"> Gibt es unter
                            <div><br>
                            </div>
                            <div>JSON_HOME /include/json-c/json.h ?</div>
                            <div><br>
                            </div>
                            <div><br>
                              <div>
                                <blockquote type="cite">
                                  <div>Am 13.12.2015 um 23:13 schrieb
                                    Rudolf Reuter <<a href="mailto:reuterru@arcor.de" target="_blank"></a><a href="mailto:reuterru@arcor.de" target="_blank">reuterru@arcor.de</a>>:</div>
                                  <br>
                                  <div>
                                    <div bgcolor="#FFFFFF" text="#000000">
                                      <div>Vielen Dank für die
                                        Hilfestellung.<br>
                                        <br>
                                        @Udo1<br>
                                        Das Jessie ist von 2015-11-21,
                                        also denke ich, dass es noch
                                        aktuell ist<br>
                                        <br>
                                        @Andreas<br>
                                        $ make clean<br>
                                        make: *** No rule to make target
                                        'clean'.  Schluss.<br>
                                        <br>
                                        $ cmake clean<br>
                                        CMake Error: The source
                                        directory
                                        "/home/pi/Install/vzlogger/clean"
                                        does not exist.<br>
                                        Specify --help for usage, or
                                        press the help button on the
                                        CMake GUI.<br>
                                        <br>
                                        CMakeCache.txt 15989 bytes -
                                        gelöscht<br>
                                        <br>
                                        Leider hat alles nicht geholfen.<br>
                                        <br>
                                        Grüße, Rudolf<br>
                                        <br>
                                        Am 13.12.15 um 22:12 schrieb
                                        Andreas Götz:<br>
                                      </div>
                                      <blockquote type="cite">
                                        <pre>Sicherheitshalber mal make clean versuchen oder cmakecache entfernen.

Viele Grüße, Andreas 

</pre>
                                        <blockquote type="cite">
                                          <pre>Am 13.12.2015 um 20:31 schrieb Udo1 <a href="mailto:udo1@gmx.net" target="_blank"><udo1@gmx.net></a>:

</pre>
                                          <blockquote type="cite">
                                            <pre>Am 13.12.2015 um 20:18 schrieb Rudolf Reuter:
libjson ist required.
</pre>
                                          </blockquote>
                                          <pre>Hattest du vorher ein sudo apt get update gemacht und die dependencies entsprechend Wheezy oder Jessie installiert.
Ansonsten noch mal den Abschnitt 'Building libjson' komplett durchführen.

Gruß
Udo
</pre>
                                        </blockquote>
                                      </blockquote>
                                      <br>
                                    </div>
                                  </div>
                                </blockquote>
                              </div>
                              <br>
                              <div> <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;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px">
                                  <div style="word-wrap:break-word">
                                    <div>Gruß</div>
                                    <div><br>
                                    </div>
                                    <div>Matthias</div>
                                  </div>
                                </span> </div>
                              <br>
                            </div>
                          </blockquote>
                          <br>
                        </div>
                      </blockquote>
                    </blockquote>
                    <br>
                  </div>
                </div>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div></div>