Launching an app in LINUX
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 4
- Joined: Mon Mar 19, 2012 3:21 pm
Launching an app in LINUX
I have a demo app.I could compile a standalone and run it successfully on windows and MAC.
How do I launch the app in LINUX??(double clicking it doesnot open??).I am using CentOS.
Thanks in advance.
How do I launch the app in LINUX??(double clicking it doesnot open??).I am using CentOS.
Thanks in advance.
-
- VIP Livecode Opensource Backer
- Posts: 9867
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Launching an app in LINUX
Did you build the app on Linux, or on another platform and then copied it to Linux?
If the latter, you may need to set the executable bit in the app file's permissions. I'm not familiar with CentOS' UI, but in Ubuntu you can right-click on the file and select "Properties".
If the latter, you may need to set the executable bit in the app file's permissions. I'm not familiar with CentOS' UI, but in Ubuntu you can right-click on the file and select "Properties".
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- VIP Livecode Opensource Backer
- Posts: 3581
- Joined: Mon Jan 22, 2007 7:36 am
- Location: Berkeley, CA, US
- Contact:
Re: Launching an app in LINUX
...and if that fails, open a terminal prompt and type
Code: Select all
chmod 777 nameOfYourProgram
PowerDebug http://powerdebug.ahsoftware.net
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
Re: Launching an app in LINUX
a bit more secure:
chmod 755 nameOfYourProgram
Thierry
chmod 755 nameOfYourProgram
Thierry
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
Re: Launching an app in LINUX
Don't do this, 777 will allow anyone to overwrite your appz.mwieder wrote:...and if that fails, open a terminal prompt and type
Code: Select all
chmod 777 nameOfYourProgram
You should use
chmod 755 nameOfYourProgram
and make sure the owner of nameOfYourProgram is not apache
Regards,
-
- Posts: 4
- Joined: Mon Mar 19, 2012 3:21 pm
Re: Launching an app in LINUX
Thankyou all.
It throws "cannot execute binary file" error.
doing chmod did not fix it:(
I am trying to implement this app on a raspberry pi(Debian OS).
It throws "cannot execute binary file" error.
doing chmod did not fix it:(
I am trying to implement this app on a raspberry pi(Debian OS).
-
- VIP Livecode Opensource Backer
- Posts: 3581
- Joined: Mon Jan 22, 2007 7:36 am
- Location: Berkeley, CA, US
- Contact:
Re: Launching an app in LINUX
My Raspberry Pi is still backordered
But I doubt that will work for you. The Pi uses an ARM processor and the linux build is for Intel.
But I doubt that will work for you. The Pi uses an ARM processor and the linux build is for Intel.
PowerDebug http://powerdebug.ahsoftware.net
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
-
- Posts: 4
- Joined: Mon Mar 19, 2012 3:21 pm
Re: Launching an app in LINUX
Figured it..
had to yum install ld-linux.so.2 (and other dependencies)
Thankyou all for your suggestions.
had to yum install ld-linux.so.2 (and other dependencies)
Thankyou all for your suggestions.
-
- Livecode Opensource Backer
- Posts: 89
- Joined: Mon Jul 19, 2010 6:59 am
- Location: Illinois, USA
Re: Launching an app in LINUX
I am using CentOS
I am trying to implement this app on a raspberry pi(Debian OS)
By "figured it" did you mean you got it to execute on CentOS or did you actually get it to run on a Raspberry Pi?Figured it
Re: Launching an app in LINUX
You can't run on ARM Linux... unless you are emulating x86 Linux...
http://www.andregarzia.com
-
- Posts: 4
- Joined: Mon Mar 19, 2012 3:21 pm
Re: Launching an app in LINUX
I wanted to run my App on Rarspberry Pi.I could not.
But could only get it working on Cent OS.
Thanks SoapDog and AndreGarcia for the suggestions.
But could only get it working on Cent OS.
Thanks SoapDog and AndreGarcia for the suggestions.
-
- Posts: 38
- Joined: Mon May 20, 2013 3:14 pm
Re: Launching an app in LINUX
Just wanted to add my voice... The ability to have an ARM Linux build would be AWESOME!!!
-
- VIP Livecode Opensource Backer
- Posts: 9867
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Launching an app in LINUX
An early test build of the ARM compile for Linux is linked to from this article:
http://livecode.com/blog/2013/02/20/liv ... pberry-pi/
http://livecode.com/blog/2013/02/20/liv ... pberry-pi/
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn