<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 "CONFIG += staticlib" >> qhttpserver-master/src/<a href="http://src.pro">src.pro</a><br>cd qhttpserver-master && 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 && 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/ && ( 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> ) && make -f Makefile <br>make[1]: Entering directory '/home/forrest/s7/s7webserver/qhttpserver-master/src'<br>make -f Makefile.Release<br>make[2]: Entering directory '/home/forrest/s7/s7webserver/qhttpserver-master/src'</div><div><br></div><div></div><div>...</div><div>forrest@beefurr:~/s7/s7webserver$ ./s7webserver_repl.py<br>s7> (+ 4 4)<br><Unable to contact Radium><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-">>>> (+ 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>>>> </span></span></span></pre></div><div>===========================</div><div>Finally -- reverting to new s7 folder and then altering the makefile to read :<br></div><div>        "cd qhttpserver-master && qmake -qt5<br>        cd qhttpserver-master && make"</div><div><br></div><div>I get much further but end with:</div><div><br></div><div>make[3]: Leaving directory '/home/forrest/s7/s7webserver/qhttpserver-master/examples/bodydata'<br>make[2]: Leaving directory '/home/forrest/s7/s7webserver/qhttpserver-master/examples'<br>make[1]: Leaving directory '/home/forrest/s7/s7webserver/qhttpserver-master'<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 <<a href="mailto:k.s.matheussen@gmail.com">k.s.matheussen@gmail.com</a>> 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 <<a href="mailto:treegestalt@gmail.com" target="_blank">treegestalt@gmail.com</a>> wrote:<br>
><br>
> Everything goes happily to<br>
> cd qhttpserver-master && qmake-qt5<br>
> /bin/sh: 1: qmake-qt5: not found<br>
><br>
> Okay, the line the 'makefile' is # 41:<br>
> cd qhttpserver-master && $(QMAKE)<br>
><br>
> and the way that's carried out: cd qhttpserver-master && qmake-qt5<br>
> is missing a needed space between qmake and -qt5<br>
><br>
<br>
"qmake-qt5" means qmake for qt5. If you only have a program called<br>
"qmake", you should make sure first that it's for qt5, not qt4 or qt6.<br>
<br>
<br>
> I do that manually. Doing this I get<br>
><br>
> 'Info: creating stash file /home/forrest/s7/s7webserver/qhttpserver-master/.qmake.stash'<br>
><br>
> and make (from there) makes lines&lines<br>
> with a warning:<br>
> 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>
> ../http-parser/http_parser.c: In function ‘http_parser_parse_url’:<br>
> ../http-parser/http_parser.c:2340:18: warning: this statement may fall through [-Wimplicit-fallthrough=]<br>
> 2340 | found_at = 1;<br>
> | ~~~~~~~~~^~~<br>
> ../http-parser/http_parser.c:2343:7: note: here<br>
> 2343 | case s_req_server:<br>
> | ^~~~<br>
><br>
<br>
Looks fine. Those are innocent warnings.<br>
<br>
<br>
> but the end result is a repl at localhost 6080 that responds with "Not connected"<br>
<br>
What exactly is happening? Can you post the output of the terminal<br>
when you run the program?<br>
<br>
<br>
> and a python s7webserver_repl that just says: "Unable to contact Radium"<br>
><br>
<br>
That's expected if the server is not running.<br>
</blockquote></div>