LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   source code file 'Not a local file' error with anjuta 2.4.2 (https://www.linuxquestions.org/questions/linux-newbie-8/source-code-file-not-a-local-file-error-with-anjuta-2-4-2-a-678623/)

PrathuD 10-23-2008 03:11 PM

source code file 'Not a local file' error with anjuta 2.4.2
 
I installed anjuta 2.4.2 on my Fedora9.
For getting familiar with anjuta,I created a simple hello program.
vv

#include<stdio.h>

int main()
{
printf("\nHello Anjuta");
}


I could compile it,build it and the object code was created.
But I couldnt execute it.

Below is the screenshot of the pop-up F3(Execute)
/home/prathamesh/Desktop/Screenshot.png

Is the argument that I gave correct?(It's the name of my program)

I got this error.
Below is the screenshot of the pop-up containing the error message.
/home/prathamesh/Desktop/Screenshot-1.png

Program '/home/prathamesh/testing-anjuta' is not a local file


I think this error has got to something to do with permissions and that stuff(I could gather only so much from my searches on other forums, Anjuta webpage and google).
But I could not figure out any way of executing the code.
Any help would be greatly appreciated.
Thanks.:newbie:

Total-MAdMaN 10-23-2008 03:20 PM

Quote:

Originally Posted by PrathuD (Post 3320047)
Below is the screenshot of the pop-up F3(Execute)
/home/prathamesh/Desktop/Screenshot.png

Below is the screenshot of the pop-up containing the error message.
/home/prathamesh/Desktop/Screenshot-1.png

We can't see those pictures as they're stored on your computer. If you want to show them you need to upload them somewhere on the Internet and provide a link to them.

To make your program executable, you should run the command "chmod +x <file name>", which will add the executable bit to the file's properties.

PrathuD 10-24-2008 10:36 AM

I am still unable to execute in the Anjuta IDE..
I am able to do it using the terminal and gcc(without the chmod commands just ./testing-anjuta) but not in the anjuta IDE....
What does the error "<filename> is not a local file" mean???Why does it occur..?what will rectify it?

I'll post the screenshots soon.


All times are GMT -5. The time now is 12:17 AM.