GNOME Bugzilla – Bug 495144
Hasn't got C Standard Library or build facilities
Last modified: 2008-12-14 20:47:52 UTC
Please describe the problem: (I'm not even sure if I'm correct in my assumptions as to what caused my problem, but I have suspicions that I may be right) When I first installed anjuta via "apt-get install anjuta", it installed just fine. The only problem was that when I went to compile a simple C program, it complained that it couldn't find stdio.h. I had to do "apt-get install gcc" to remedy this. After that though, the Build command was still greyed out in the menu. I believe the problem is to do with whether the machine has an internet connection at the time when the user creates their first project in Anjuta. The reason I think this is, is that when I wiped Anjuta and reinstalled it, it downloaded some files (including C header files) when I went to create a project. Steps to reproduce: Install Anjuta, but severe the internet connection before creating your first project. Then try to compile the project. Actual results: Can't include Standard C header files, can't build. Expected results: Same thing. (if I'm right) Does this happen every time? Only did it the once. Other information: As I mentioned above, I'm not even sure if this is definitely the bug; I only have my suspicions as to what may have caused the problem. Anyway, to remedy the problem, here's what I did: apt-get purge anjuta apt-get autoremove I then went to Applications -> Add/Remove and installed Anjuta from there. I opened up Anjuta (while I still had an internet connection) and I made a C project. Now it was fine, I could compile and build :) Thanks for listening!
Hmm, part of your project is that debian obviously did not set "gcc" as a depency of anjuta though anjuta is not of much use if gcc is installed. We cannot do much about that - complain in some debian bug tracker about it. The "Build" command is grayed out if no Makefile exists in the directory of the current open file. Anjuta does never download anything from the net on it's own though your internet connection has nothing to do with your problem.
(In reply to comment #1) > Hmm, part of your project is that debian obviously did not set "gcc" as a > depency of anjuta though anjuta is not of much use if gcc is installed. We > cannot do much about that - complain in some debian bug tracker about it. NOTGNOME -> bugs.debian.org