LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-23-2008, 03:11 PM   #1
PrathuD
LQ Newbie
 
Registered: Oct 2008
Location: India
Distribution: Fedora9
Posts: 7

Rep: Reputation: 0
Question 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.
 
Old 10-23-2008, 03:20 PM   #2
Total-MAdMaN
Member
 
Registered: May 2008
Distribution: Gentoo
Posts: 306

Rep: Reputation: 34
Quote:
Originally Posted by PrathuD View Post
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.

Last edited by Total-MAdMaN; 10-23-2008 at 03:21 PM.
 
Old 10-24-2008, 10:36 AM   #3
PrathuD
LQ Newbie
 
Registered: Oct 2008
Location: India
Distribution: Fedora9
Posts: 7

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what file is the source code usually located? jouvert Linux - Newbie 6 05-24-2008 09:01 PM
Source code file transfer shiv84_verma Linux - Networking 3 09-01-2006 03:14 PM
How to let source code know where the header file is? ArthurHuang Programming 3 06-13-2006 12:01 PM
source code for file(1) dombrowsky Linux - Software 2 02-11-2006 02:38 PM
source code of others.h header file cynthia_thomas Linux - General 1 02-01-2006 08:29 AM


All times are GMT -5. The time now is 06:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration