Author Topic: ndless sdk  (Read 60007 times)

0 Members and 1 Guest are viewing this topic.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: ndless sdk
« Reply #45 on: August 17, 2017, 05:48:50 pm »
I am unable to install it. It says, that the package was not found.
After less then a minute of googling I found this: https://unix.stackexchange.com/questions/10976/how-do-i-install-a-php-cli-with-a-usable-interactive-prompt-on-debian-wheezy
Try installing php5-cli.
/e

Offline Jonson26

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 118
  • Rating: +1/-0
  • Follow cat! Do what cat! Into tree! Now!
    • View Profile
Re: ndless sdk
« Reply #46 on: August 18, 2017, 04:22:31 am »
Apparently php5-cli was already present. The problem is still there.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: ndless sdk
« Reply #47 on: August 18, 2017, 12:41:51 pm »
Apparently php5-cli was already present. The problem is still there.
Well then you'll need to figure out why php isn't on your path.
/e

Offline Legimet

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +29/-0
    • View Profile
Re: ndless sdk
« Reply #48 on: August 18, 2017, 06:47:33 pm »
Are you sure you have it? Post the output of
Code: [Select]
dpkg -l | grep php.

Offline Jonson26

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 118
  • Rating: +1/-0
  • Follow cat! Do what cat! Into tree! Now!
    • View Profile
Re: ndless sdk
« Reply #49 on: August 20, 2017, 05:53:52 am »
Here it is:
Code: [Select]
ii  libapache2-mod-php5                                   5.5.9+dfsg-1ubuntu4.22                              amd64        server-side, HTML-embedded scripting language (Apache 2 module)
ii  php5                                                  5.5.9+dfsg-1ubuntu4.22                              all          server-side, HTML-embedded scripting language (metapackage)
ii  php5-cli                                              5.5.9+dfsg-1ubuntu4.22                              amd64        command-line interpreter for the php5 scripting language
ii  php5-common                                           5.5.9+dfsg-1ubuntu4.22                              amd64        Common files for packages built from the php5 source
ii  php5-json                                             1.3.2-2build1                                       amd64        JSON module for php5
ii  php5-readline                                         5.5.9+dfsg-1ubuntu4.22                              amd64        Readline module for php5
Besides, why did that compiler become so complicated? I saw an old tutorial, in which the installation process was far more simple than now!

Offline Legimet

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +29/-0
    • View Profile
Re: ndless sdk
« Reply #50 on: August 20, 2017, 01:33:45 pm »
@Jonson26: What happens if you run
Code: [Select]
which php and
Code: [Select]
which php5?
« Last Edit: August 20, 2017, 03:09:55 pm by Legimet »

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: ndless sdk
« Reply #51 on: August 20, 2017, 02:34:10 pm »
Besides, why did that compiler become so complicated? I saw an old tutorial, in which the installation process was far more simple than now!
Well if you were on Ubuntu instead of a Ubuntu based system it would be easier. The installation process hasn't really changed much.
/e

Offline Jonson26

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 118
  • Rating: +1/-0
  • Follow cat! Do what cat! Into tree! Now!
    • View Profile
Re: ndless sdk
« Reply #52 on: August 20, 2017, 03:46:14 pm »
1./usr/bin/php
2./usr/bin/php5

Offline Legimet

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +29/-0
    • View Profile
Re: ndless sdk
« Reply #53 on: August 20, 2017, 04:47:10 pm »
@Jonson26 Then it should work. Try building Ndless?

Offline Jonson26

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 118
  • Rating: +1/-0
  • Follow cat! Do what cat! Into tree! Now!
    • View Profile
Re: ndless sdk
« Reply #54 on: August 21, 2017, 10:59:01 am »
...

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: ndless sdk
« Reply #55 on: August 21, 2017, 07:59:10 pm »
...
What does your path look like? It seems that php is not the problem and that you haven't updated your path as per the instructions
/e

Offline Jonson26

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 118
  • Rating: +1/-0
  • Follow cat! Do what cat! Into tree! Now!
    • View Profile
Re: ndless sdk
« Reply #56 on: August 28, 2017, 09:29:58 am »
Tried to update my path. Didn't work.  :(
Here it is: (the path)
home/jamroga/Ndless/ndless-sdk/toolchain/install/bin:/home/jamroga/Ndless/ndless-sdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: ndless sdk
« Reply #57 on: August 28, 2017, 11:04:15 am »
Tried to update my path. Didn't work.  :(
Here it is: (the path)
home/jamroga/Ndless/ndless-sdk/toolchain/install/bin:/home/jamroga/Ndless/ndless-sdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin
And by didn't work you mean it threw the same error or a new error?
Also, check /home/jamroga/Ndless/ndless-sdk/bin to make sure the nspire-gcc executable exists.
/e

Offline Jonson26

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 118
  • Rating: +1/-0
  • Follow cat! Do what cat! Into tree! Now!
    • View Profile
Re: ndless sdk
« Reply #58 on: August 28, 2017, 01:20:09 pm »
I think it's the same error.
The file is in there, but i don't seem to be able to run it...

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: ndless sdk
« Reply #59 on: August 28, 2017, 01:45:24 pm »
I think it's the same error.
The file is in there, but i don't seem to be able to run it...
Have you checked it's flags to see if it's executable? Can you verify that it is the same error so that we don't have to spin in circles on something that isn't the actual issue.
/e