<div dir="ltr">forrest@beefurr:~$ qmake --version<br>QMake version 3.1<br><div>Using Qt version 5.12.8 in /usr/lib/x86_64-linux-gnu</div><div>...</div><div>forrest@beefurr:~/s7/s7webserver$ make<br>rm -fr qhttpserver-master.tar.gz qhttpserver-master<br>wget <a href="https://github.com/kmatheussen/qhttpserver/archive/master.tar.gz">https://github.com/kmatheussen/qhttpserver/archive/master.tar.gz</a><br>--2021-03-30 06:58:11--  <a href="https://github.com/kmatheussen/qhttpserver/archive/master.tar.gz">https://github.com/kmatheussen/qhttpserver/archive/master.tar.gz</a></div><div>...</div><div>echo &quot;CONFIG += staticlib&quot; &gt;&gt; qhttpserver-master/src/<a href="http://src.pro">src.pro</a><br>cd qhttpserver-master &amp;&amp; qmake-qt5<br>/bin/sh: 1: qmake-qt5: not found<br>make: *** [Makefile:41: qhttpserver-master/lib/libqhttpserver.a] Error 127</div><div><br></div><div>forrest@beefurr:~/s7/s7webserver$ cd qhttpserver-master &amp;&amp; qmake -qt5         (note space in this line)</div><div>Info: creating stash file /home/forrest/s7/s7webserver/qhttpserver-master/.qmake.stash<br>forrest@beefurr:~/s7/s7webserver/qhttpserver-master$ make<br>cd src/ &amp;&amp; ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /home/forrest/s7/s7webserver/qhttpserver-master/src/<a href="http://src.pro">src.pro</a> ) &amp;&amp; make -f Makefile <br>make[1]: Entering directory &#39;/home/forrest/s7/s7webserver/qhttpserver-master/src&#39;<br>make -f Makefile.Release<br>make[2]: Entering directory &#39;/home/forrest/s7/s7webserver/qhttpserver-master/src&#39;</div><div><br></div><div></div><div>...</div><div>forrest@beefurr:~/s7/s7webserver$ ./s7webserver_repl.py<br>s7&gt; (+ 4 4)<br>&lt;Unable to contact Radium&gt;<br>...<br>forrest@beefurr:~/s7/s7webserver$ firefox s7webserver_repl.html<br></div><div>[no output to terminal.]</div><div>[firefox window, localhost 6080]:<br></div><div><pre class="gmail-jqconsole gmail-jqconsole-blurred" style="margin:0px;min-height:100%;box-sizing:border-box"><span class="gmail-jqconsole-header"><span class="gmail-">S7 scheme
</span></span><span class="gmail-jqconsole-old-prompt"><span class="gmail-">&gt;&gt;&gt; (+ 3 5)
</span></span><span><span class="gmail-">Not connected.
Please verify your network connection.
</span></span><span class="gmail-jqconsole-prompt"><span></span><span><span>&gt;&gt;&gt; </span></span></span></pre></div><div>===========================</div><div>Finally -- reverting to new s7 folder and then altering the makefile to read :<br></div><div>        &quot;cd qhttpserver-master &amp;&amp; qmake -qt5<br>        cd qhttpserver-master &amp;&amp; make&quot;</div><div><br></div><div>I get much further but end with:</div><div><br></div><div>make[3]: Leaving directory &#39;/home/forrest/s7/s7webserver/qhttpserver-master/examples/bodydata&#39;<br>make[2]: Leaving directory &#39;/home/forrest/s7/s7webserver/qhttpserver-master/examples&#39;<br>make[1]: Leaving directory &#39;/home/forrest/s7/s7webserver/qhttpserver-master&#39;<br>touch mus-config.h<br>moc-qt5 -DCOMPILING_S7WEBSERVER s7webserver.h -o moc_s7webserver.cpp<br>make: moc-qt5: Command not found<br>make: *** [Makefile:27: moc_s7webserver.cpp] Error 127<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 29, 2021 at 11:25 PM Kjetil Matheussen &lt;<a href="mailto:k.s.matheussen@gmail.com">k.s.matheussen@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, Mar 30, 2021 at 12:54 AM Forrest Curo &lt;<a href="mailto:treegestalt@gmail.com" target="_blank">treegestalt@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Everything goes happily to<br>
&gt; cd qhttpserver-master &amp;&amp; qmake-qt5<br>
&gt; /bin/sh: 1: qmake-qt5: not found<br>
&gt;<br>
&gt; Okay, the line the &#39;makefile&#39; is # 41:<br>
&gt; cd qhttpserver-master &amp;&amp; $(QMAKE)<br>
&gt;<br>
&gt; and the way that&#39;s carried out: cd qhttpserver-master &amp;&amp; qmake-qt5<br>
&gt; is missing a needed space between qmake and -qt5<br>
&gt;<br>
<br>
&quot;qmake-qt5&quot; means qmake for qt5. If you only have a program called<br>
&quot;qmake&quot;, you should make sure first that it&#39;s for qt5, not qt4 or qt6.<br>
<br>
<br>
&gt; I do that manually. Doing this I get<br>
&gt;<br>
&gt; &#39;Info: creating stash file /home/forrest/s7/s7webserver/qhttpserver-master/.qmake.stash&#39;<br>
&gt;<br>
&gt; and make (from there) makes lines&amp;lines<br>
&gt; with a warning:<br>
&gt; QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I../build -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o ../build/http_parser.o ../http-parser/http_parser.c<br>
&gt; ../http-parser/http_parser.c: In function ‘http_parser_parse_url’:<br>
&gt; ../http-parser/http_parser.c:2340:18: warning: this statement may fall through [-Wimplicit-fallthrough=]<br>
&gt;  2340 |         found_at = 1;<br>
&gt;       |         ~~~~~~~~~^~~<br>
&gt; ../http-parser/http_parser.c:2343:7: note: here<br>
&gt;  2343 |       case s_req_server:<br>
&gt;       |       ^~~~<br>
&gt;<br>
<br>
Looks fine. Those are innocent warnings.<br>
<br>
<br>
&gt; but the end result is a repl at localhost 6080 that responds with &quot;Not connected&quot;<br>
<br>
What exactly is happening? Can you post the output of the terminal<br>
when you run the program?<br>
<br>
<br>
&gt; and a python s7webserver_repl that just says: &quot;Unable to contact Radium&quot;<br>
&gt;<br>
<br>
That&#39;s expected if the server is not running.<br>
</blockquote></div>