dbankier / tisdk

Install GA, RC, Beta, Alpha titanium sdk builds. Works also for v4+.
48 stars 7 forks source link

Error: spawn scons ENOENT #13

Closed abada closed 7 years ago

abada commented 8 years ago
abada-2:~ abdellatifhenno$ tisdk install 5.1.2.GA
Build not available. Try the `tisdk build` command to build the sdk from source.
abada-2:~ abdellatifhenno$ sudo tisdk install 5.1.2.GA
Password:
Build not available. Try the `tisdk build` command to build the sdk from source.
abada-2:~ abdellatifhenno$ sudo tisdk build  5.1.2.GA
Cloning into '/tmp/tisdk_182931CzAUP0McGA'...
remote: Counting objects: 8308, done.
remote: Compressing objects: 100% (6510/6510), done.
remote: Total 8308 (delta 1511), reused 5714 (delta 970), pack-reused 0
Receiving objects: 100% (8308/8308), 117.43 MiB | 98.00 KiB/s, done.
Resolving deltas: 100% (1511/1511), done.
Checking connectivity... done.
Note: checking out 'ca822b28239d333fdc274f81df426f07e2861268'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

Checking out files: 100% (8852/8852), done.
{ [Error: spawn scons ENOENT]
  code: 'ENOENT',
  errno: 'ENOENT',
  syscall: 'spawn scons',
  path: 'scons',
  spawnargs: [ '-C', '/tmp/tisdk_182931CzAUP0McGA' ] }
HazemKhaled commented 8 years ago

tisdk install download the sdk from Appc website, which not open source anymore, you need to build it yourself, use tisdk build

Happy to see you there :)

abada commented 8 years ago

Thank you @HazemKhaled Actually i used sudo tisdk build 5.1.2.GA you can see it in line 6

dbankier commented 8 years ago

Hi @HazemKhaled - good to see you around. Thanks for jumping in. @abada, have you followed all the steps in the readme from manual builds? Is scons installed?

isseium commented 8 years ago

I had a same problem.

I have installed scons on my mac.

brew install scons

Then it works. Thanks @dbankier .