-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiling Errors #1
Comments
Looks like you're running the compilation steps from outside of your cloned Git repository. The compilation steps must be run from the root of your influx-mysql Git working directory. So in this instance, try cd'ing to /usr/local/influx-mysql and rerunning steps 1-5. Let me know if that works. |
Thanks Philip for your reply. As suggested, I ran the steps1-2 from /usr/local/influx-mysql but the step2 has failed with below error though nimble was already installed. [root@grafana influx-mysql]# nimble install -d # 2 Nimble installation directory: [root@grafana local]# cd nimble/ Can you please suggest on this. |
What is in ~/.nimble/bin? |
Hi Philip, There is nothing in ~/.nimble/bin for now. |
It looks like you compiled nimble but forgot to install it. |
Thanks Philip for your continuous support. I have re-installed the nimble and can see the binary file now. I ran the steps1-5 again but got the below error at step4. Error: [root@grafana influx-mysql]# nimble cpp --out:bin/influx_mysql influx_mysql/src/influx_mysql # 4 Can you kindly suggest on this. |
Looks like Nimble 0.8.* changed the "cpp" command slightly. Try specifying "influx_mysql.nim" instead of "influx_mysql/src/influx_mysql". |
it starts compiling but never finished in my case , looks like it waiting on something
|
I'm having the same behavior. When running strace, It seems a problem after influx_line_protocol_to_sql.nim:
Then is just keep repeating the last line <wait4...> Any ideas??? |
Using:
Error on CLI:
Below the full trace until the "No child process". |
Dear Philip,
I am trying to create a "influx-mysql" daemon using the this github repo. I have installed all dependencies such as qt5, snappy, Nim and nimble on centos 7 server.
When i tried to compile using the below instructions, i am getting the compile error as below.
Instructions followed:
nimble cpp --out:bin/influx_mysql influx_mysql/src/influx_mysql # 4
Compile time error:
[root@grafana nimble]# src/nimble cpp --out:bin/influx_mysql /usr/local/influx-mysql/influx_mysql/src/influx_mysql.nim # 4
Verifying dependencies for nimble@0.8.0
Info: Dependency on compiler@#head already satisfied
Verifying dependencies for compiler@#head
Compiling /usr/local/influx-mysql/influx_mysql/src/influx_mysql.nim (from package nimble) using cpp backend
Output: 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: influx_mysql [Processing]
... Hint: future [Processing]
... Hint: macros [Processing]
... Hint: strtabs [Processing]
... Hint: hashes [Processing]
... Hint: strutils [Processing]
... Hint: parseutils [Processing]
... Hint: math [Processing]
... Hint: algorithm [Processing]
... Hint: etcpriv [Processing]
... Hint: os [Processing]
... Hint: times [Processing]
... Hint: posix [Processing]
... Hint: asyncdispatch [Processing]
... Hint: oids [Processing]
... Hint: endians [Processing]
... Hint: tables [Processing]
... Hint: heapqueue [Processing]
... Hint: nativesockets [Processing]
... Hint: net [Processing]
... Hint: sets [Processing]
... Hint: deques [Processing]
... Hint: selectors [Processing]
... Hint: epoll [Processing]
... Hint: asyncnet [Processing]
... Hint: httpcore [Processing]
... Hint: asynchttpserver [Processing]
... Hint: uri [Processing]
... Hint: lists [Processing]
... Hint: json [Processing]
... Hint: lexbase [Processing]
... Hint: streams [Processing]
... Hint: unicode [Processing]
... Hint: base64 [Processing]
... Hint: cgi [Processing]
... Hint: cookies [Processing]
... influx_mysql.nim(32, 8) Error: cannot open 'qt5_qtsql'
Tip: 2 messages have been suppressed, use --verbose to show them.
Error: Traceback (most recent call last)
... nimble.nim(1068) nimble
... nimble.nim(1016) doAction
... nimble.nim(659) execBackend
... tools.nim(33) doCmd
... Execution failed with exit code 1
... Command: "/usr/local/Nim/bin/nim" cpp --noNimblePath --path:"/root/.nimble/pkgs/compiler-#head" --out:bin/influx_mysql "/usr/local/influx-mysql/influx_mysql/src/influx_mysql.nim"
... Output: 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: influx_mysql [Processing]
... Hint: future [Processing]
... Hint: macros [Processing]
... Hint: strtabs [Processing]
... Hint: hashes [Processing]
... Hint: strutils [Processing]
... Hint: parseutils [Processing]
... Hint: math [Processing]
... Hint: algorithm [Processing]
... Hint: etcpriv [Processing]
... Hint: os [Processing]
... Hint: times [Processing]
... Hint: posix [Processing]
... Hint: asyncdispatch [Processing]
... Hint: oids [Processing]
... Hint: endians [Processing]
... Hint: tables [Processing]
... Hint: heapqueue [Processing]
... Hint: nativesockets [Processing]
... Hint: net [Processing]
... Hint: sets [Processing]
... Hint: deques [Processing]
... Hint: selectors [Processing]
... Hint: epoll [Processing]
... Hint: asyncnet [Processing]
... Hint: httpcore [Processing]
... Hint: asynchttpserver [Processing]
... Hint: uri [Processing]
... Hint: lists [Processing]
... Hint: json [Processing]
... Hint: lexbase [Processing]
... Hint: streams [Processing]
... Hint: unicode [Processing]
... Hint: base64 [Processing]
... Hint: cgi [Processing]
... Hint: cookies [Processing]
... influx_mysql.nim(32, 8) Error: cannot open 'qt5_qtsql'
Can you kindly help me to fix this error and proceed further.
Thanks
Venki
The text was updated successfully, but these errors were encountered: