Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-23-2008, 04:11 PM   #1
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.


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)

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.

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.
Old 10-23-2008, 04:20 PM   #2
Registered: May 2008
Distribution: Gentoo
Posts: 306

Rep: Reputation: 34
Originally Posted by PrathuD View Post
Below is the screenshot of the pop-up F3(Execute)

Below is the screenshot of the pop-up containing the error message.
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 04:21 PM.
Old 10-24-2008, 11:36 AM   #3
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.


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 10:01 PM
Source code file transfer shiv84_verma Linux - Networking 3 09-01-2006 04:14 PM
How to let source code know where the header file is? ArthurHuang Programming 3 06-13-2006 01:01 PM
source code for file(1) dombrowsky Linux - Software 2 02-11-2006 03:38 PM
source code of others.h header file cynthia_thomas Linux - General 1 02-01-2006 09:29 AM > Forums > Linux Forums > Linux - Newbie

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

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