Hello!
I had PureBasic 5.11 x86 in a VM with Ubuntu 12.10 with the sudo apt-get install gcc g++ libc6-dev libsdl1.2-dev libgtk2.0-dev libgnomeprint2.2-dev unixodbc-dev libgnome2-dev libxine-dev libgnomeprintui2.2-dev libxxf86vm-dev
I created a Linux executable and double-clicking in it, it makes it run.
I created another VM, this time with a clean Ubuntu 13.04 and tried to run the executable there (file: proofingtoolgui_linux) but it gives an error:
"
Could not display "proofingtoolgui_linux"
There is no application installed for "executable" files.
Do you want to search for an application to open this file?
"
I tried the above sudo again and it installed lots of things, but, it still gives the error above.
How can I do to make the executable work?
Thanks!
Kind regards,
>Marco A.G.Pinto
---------------
Compiled executable doesn't work on a clean Ubuntu 13.04
- marcoagpinto
- Addict
- Posts: 1055
- Joined: Sun Mar 10, 2013 3:01 pm
- Location: Portugal
- Contact:
Re: Compiled executable doesn't work on a clean Ubuntu 13.04
Hello,
The executable bit is probably not set for your file. Move to the directory where the file resides (cd) and try:
You'll need to be either the owner of the file or root for this to work.
The executable bit is probably not set for your file. Move to the directory where the file resides (cd) and try:
Code: Select all
chmod +x proofingtoolgui_linux
- marcoagpinto
- Addict
- Posts: 1055
- Joined: Sun Mar 10, 2013 3:01 pm
- Location: Portugal
- Contact:
Re: Compiled executable doesn't work on a clean Ubuntu 13.04
Thanks, it worked!Lush wrote:Hello,
The executable bit is probably not set for your file. Move to the directory where the file resides (cd) and try:You'll need to be either the owner of the file or root for this to work.Code: Select all
chmod +x proofingtoolgui_linux
Kind regards from Marco A.G.Pinto,