[CM] s7 repl for linux?

Kjetil Matheussen k.s.matheussen at gmail.com
Mon Mar 29 23:24:59 PDT 2021


On Tue, Mar 30, 2021 at 12:54 AM Forrest Curo <treegestalt at gmail.com> wrote:
>
> Everything goes happily to
> cd qhttpserver-master && qmake-qt5
> /bin/sh: 1: qmake-qt5: not found
>
> Okay, the line the 'makefile' is # 41:
> cd qhttpserver-master && $(QMAKE)
>
> and the way that's carried out: cd qhttpserver-master && qmake-qt5
> is missing a needed space between qmake and -qt5
>

"qmake-qt5" means qmake for qt5. If you only have a program called
"qmake", you should make sure first that it's for qt5, not qt4 or qt6.


> I do that manually. Doing this I get
>
> 'Info: creating stash file /home/forrest/s7/s7webserver/qhttpserver-master/.qmake.stash'
>
> and make (from there) makes lines&lines
> with a warning:
> 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
> ../http-parser/http_parser.c: In function ‘http_parser_parse_url’:
> ../http-parser/http_parser.c:2340:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
>  2340 |         found_at = 1;
>       |         ~~~~~~~~~^~~
> ../http-parser/http_parser.c:2343:7: note: here
>  2343 |       case s_req_server:
>       |       ^~~~
>

Looks fine. Those are innocent warnings.


> but the end result is a repl at localhost 6080 that responds with "Not connected"

What exactly is happening? Can you post the output of the terminal
when you run the program?


> and a python s7webserver_repl that just says: "Unable to contact Radium"
>

That's expected if the server is not running.



More information about the Cmdist mailing list