Hi, thanks for the project.
I have an Oracle Linux 7.5 system that I am trying to compile this code on. After installing dependencies and patching the code, I executed the compiling steps. I get an error that I can't get passed;
/root/.nimble/pkgs/qt5_qtsql-1.1.1/qt5_qtsql/src/immutablecstring.nim(31, 37) Error: undeclared identifier: 'expr'
Error: Execution failed with exit code 1
... Command: "/usr/local/nim/bin/nim" cpp --noNimblePath -d:NimblePkgVersion=1.0.0 --path:"/root/.nimble/pkgs/qt5_qtsql-1.1.1" --path:"/root/.nimble/pkgs/microasynchttpserver-0.10.2" --path:"/root/.nimble/pkgs/picohttpparser-0.10.0" "--out:bin/influx_mysql" "influx_mysql/src/influx_mysql"
# pwd
/usr/local/influx-mysql
# git submodule update --init
#
# nimble install -d
Verifying dependencies for [email protected]
Info: Dependency on qt5_qtsql@>= 1.0.1 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on microasynchttpserver@>= 0.10.0 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on picohttpparser@>= 0.10.0 already satisfied
Warning: Package 'picohttpparser' has an incorrect structure. The top level of the package source directory should contain at most one module, named 'picohttpparser.nim', but a file named 'picohttpparser_api.nim' was found. This will be an error in the future.
Hint: If this is the primary source file in the package, rename it to 'picohttpparser.nim'. If it's a source file required by the main module, or if it is one of several modules exposed by 'picohttpparser', then move it into a 'picohttpparser/' subdirectory. If it's a test file or otherwise not required to build the the package 'picohttpparser.nim', prevent its installation by adding `skipFiles = @["picohttpparser_api.nim"]` to the .nimble file. See https://github.com/nim-lang/nimble#libraries for more info.
Verifying dependencies for [email protected]
Warning: The .nimble file for this project could make use of additional features, if converted into the new NimScript format.
... For more details see:https://github.com/nim-lang/nimble#creating-packages
# nimble cpp --out:bin/influx_mysql influx_mysql/src/influx_mysql
Warning: The .nimble file for this project could make use of additional features, if converted into the new NimScript format.
... For more details see:https://github.com/nim-lang/nimble#creating-packages
Verifying dependencies for [email protected]
Info: Dependency on qt5_qtsql@>= 1.0.1 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on microasynchttpserver@>= 0.10.0 already satisfied
Verifying dependencies for [email protected]
Info: Dependency on picohttpparser@>= 0.10.0 already satisfied
Verifying dependencies for [email protected]
Compiling influx_mysql/src/influx_mysql (from package influx_mysql) using cpp backend
Hint: used config file '/usr/local/nim/config/nim.cfg' [Conf]
Hint: used config file '/usr/local/influx-mysql/influx_mysql/src/nim.cfg' [Conf]
Hint: system [Processing]
Hint: widestrs [Processing]
Hint: io [Processing]
Hint: influx_mysql [Processing]
Hint: future [Processing]
Hint: macros [Processing]
/usr/local/influx-mysql/influx_mysql/src/influx_mysql.nim(15, 8) Warning: Use the new 'sugar' module instead; future is deprecated [Deprecated]
Hint: strtabs [Processing]
Hint: hashes [Processing]
Hint: strutils [Processing]
Hint: parseutils [Processing]
Hint: math [Processing]
Hint: bitops [Processing]
Hint: algorithm [Processing]
Hint: unicode [Processing]
Hint: os [Processing]
Hint: pathnorm [Processing]
Hint: osseps [Processing]
Hint: posix [Processing]
Hint: times [Processing]
Hint: options [Processing]
Hint: typetraits [Processing]
Hint: asyncdispatch [Processing]
Hint: tables [Processing]
Hint: heapqueue [Processing]
Hint: lists [Processing]
Hint: asyncstreams [Processing]
Hint: asyncfutures [Processing]
Hint: deques [Processing]
Hint: cstrutils [Processing]
Hint: monotimes [Processing]
Hint: nativesockets [Processing]
Hint: net [Processing]
Hint: sets [Processing]
Hint: selectors [Processing]
Hint: epoll [Processing]
Hint: asyncnet [Processing]
Hint: httpcore [Processing]
Hint: asynchttpserver [Processing]
Hint: uri [Processing]
Hint: json [Processing]
Hint: lexbase [Processing]
Hint: streams [Processing]
Hint: parsejson [Processing]
Hint: base64 [Processing]
Hint: cgi [Processing]
Hint: cookies [Processing]
Hint: qt5_qtsql [Processing]
Hint: immutablecstring [Processing]
/root/.nimble/pkgs/qt5_qtsql-1.1.1/qt5_qtsql/src/immutablecstring.nim(31, 37) Error: undeclared identifier: 'expr'
Tip: 6 messages have been suppressed, use --verbose to show them.
Error: Execution failed with exit code 1
... Command: "/usr/local/nim/bin/nim" cpp --noNimblePath -d:NimblePkgVersion=1.0.0 --path:"/root/.nimble/pkgs/qt5_qtsql-1.1.1" --path:"/root/.nimble/pkgs/microasynchttpserver-0.10.2" --path:"/root/.nimble/pkgs/picohttpparser-0.10.0" "--out:bin/influx_mysql" "influx_mysql/src/influx_mysql"