You are not logged in.
Pages: 1
Topic closed
I am trying to configure node for CWM Tether and I cannot even get it to configure. When I execute ./confgure, I get
./configure
File "./configure", line 224 ''' ^
SyntaxError: Missing parentheses in call to 'print'
Which I have figured out means there is not an acceptable C compiler. It is no longer in AUR so that is out, anyone know how to get it to install?
Last edited by smccloud (2016-06-06 20:16:32)
Offline
Welcome to the Arch Linux forums. First, tell us a bit more. For example, what (specifically) are you trying to configure? I did check, and did not find anything in the AUR. You might also provide us a link.
Also, if you could pastebin your config.log and provide a link.
Last edited by ewaller (2016-06-06 20:40:25)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Online
Have you installed android-sdk?
Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703
/ is the root of all problems.
Offline
I have downloaded tether-linux.tgz from http://download.clockworkmod.com/tether … -linux.tgz
Extracted it.
Changed to Tether/node and executed ./configure
Get
Node.js configure error: No acceptable C compiler found!
Please make sure you have a C compiler installed on your system and/or
consider adjusting the CC environment variable if you installed
it in a non-standard prefix.
Offline
Have you installed android-sdk?
I have Android Studio and its SDK installed, but android-sdk shouldn't prevent node from compiling.
Offline
After editing the configure file more and more, it appears that Clockworkmod is a horrible developer when it comes to Linux apps. Most recent error is
File "./configure", line 453, in <module>
configure_node(output)
File "./configure", line 348, in configure_node
host_arch = host_arch_win() if os.name == 'nt' else host_arch_cc()
File "./configure", line 275, in host_arch_cc
k = cc_macros()
File "./configure", line 222, in cc_macros
p.stdin.write('\n')
TypeError: a bytes-like object is required, not 'str'
I should not have to fix his mistakes to get it to compile.
Offline
Yeah. Edit the first line of that .configure file and change it to python2 from python. That should help.
Edit: With that one change, .configure ran to completion.
Last edited by ewaller (2016-06-06 20:43:31)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Online
Yeah. Edit the first line of that .configure file and change it to python2 from python. That should help.
That along with the changes I made fixed it. Seriously considering adding something to AUR myself so others don't suffer like I did.
Offline
ewaller wrote:Yeah. Edit the first line of that .configure file and change it to python2 from python. That should help.
That along with the changes I made fixed it. Seriously considering adding something to AUR myself so others don't suffer like I did.
Please, do
Note that I made an edit as you were posting. On my system, that was the only change necessary.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Online
smccloud wrote:ewaller wrote:Yeah. Edit the first line of that .configure file and change it to python2 from python. That should help.
That along with the changes I made fixed it. Seriously considering adding something to AUR myself so others don't suffer like I did.
Please, do
Note that I made an edit as you were posting. On my system, that was the only change necessary.
I will try just that one change and then work on figuring out how to make an AUR package.
Offline
And even though configure completes, node still won't compile. Not sure Koush will actually be much help (developer for CWM).
Offline
Did it fail complaining that the left operand of shift expression is negative?
That may be due to resent changes in gcc that cause what used to be warnings to now be errors. Use the -fpermissive switch as a workaround
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Online
Did it fail complaining that the left operand of shift expression is negative?
That may be due to resent changes in gcc that cause what used to be warnings to now be errors. Use the -fpermissive switch as a workaround
Yep, that is where it failed. Still trying to figure out where to install it for an AUR package.
Offline
Getting closer to a working AUR package. It is configuring and compiling. Just need to figure out how to package & install it.
Offline
Checked aur but was unable to locate your package *had fingers crossed* I too am going do this exact same path, any tips would be fantastic as the dev is not responding (I've the paid version of app)
Offline
Please do not necrobump.
Closing.
Offline
Pages: 1
Topic closed