You are not logged in.

#1 2016-06-06 20:16:01

smccloud
Member
Registered: 2015-08-11
Posts: 11

Clockworkmod Tether problems

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

#2 2016-06-06 20:27:10

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,772

Re: Clockworkmod Tether problems

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

Offline

#3 2016-06-06 20:30:46

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,253

Re: Clockworkmod Tether problems

Have you installed android-sdk?


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (1 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

Offline

#4 2016-06-06 20:34:29

smccloud
Member
Registered: 2015-08-11
Posts: 11

Re: Clockworkmod Tether problems

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

#5 2016-06-06 20:35:39

smccloud
Member
Registered: 2015-08-11
Posts: 11

Re: Clockworkmod Tether problems

Roken wrote:

Have you installed android-sdk?

I have Android Studio and its SDK installed, but android-sdk shouldn't prevent node from compiling.

Offline

#6 2016-06-06 20:39:57

smccloud
Member
Registered: 2015-08-11
Posts: 11

Re: Clockworkmod Tether problems

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

#7 2016-06-06 20:42:06

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,772

Re: Clockworkmod Tether problems

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

Offline

#8 2016-06-06 20:43:12

smccloud
Member
Registered: 2015-08-11
Posts: 11

Re: Clockworkmod Tether problems

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.

Offline

#9 2016-06-06 20:44:43

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,772

Re: Clockworkmod Tether problems

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 smile

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

Offline

#10 2016-06-06 20:48:59

smccloud
Member
Registered: 2015-08-11
Posts: 11

Re: Clockworkmod Tether problems

ewaller wrote:
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 smile

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

#11 2016-06-06 21:43:41

smccloud
Member
Registered: 2015-08-11
Posts: 11

Re: Clockworkmod Tether problems

And even though configure completes, node still won't compile.  Not sure Koush will actually be much help (developer for CWM).

Offline

#12 2016-06-06 22:06:39

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,772

Re: Clockworkmod Tether problems

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

Offline

#13 2016-06-06 22:38:42

smccloud
Member
Registered: 2015-08-11
Posts: 11

Re: Clockworkmod Tether problems

ewaller wrote:

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

#14 2016-06-07 02:26:13

smccloud
Member
Registered: 2015-08-11
Posts: 11

Re: Clockworkmod Tether problems

Getting closer to a working AUR package.  It is configuring and compiling.  Just need to figure out how to package & install it.

Offline

#15 2019-01-31 23:58:06

rootninja
Member
Registered: 2019-01-31
Posts: 1

Re: Clockworkmod Tether problems

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

#16 2019-02-01 00:04:11

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: Clockworkmod Tether problems

Please do not necrobump.

Closing.

Offline

Board footer

Powered by FluxBB