After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 495144 - Hasn't got C Standard Library or build facilities
Hasn't got C Standard Library or build facilities
Status: RESOLVED NOTGNOME
Product: anjuta
Classification: Applications
Component: unknown
2.2.0
Other All
: Normal major
: ---
Assigned To: Anjuta maintainers
Anjuta maintainers
Depends on:
Blocks:
 
 
Reported: 2007-11-08 22:45 UTC by Tomás Ó hÉilidhe
Modified: 2008-12-14 20:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tomás Ó hÉilidhe 2007-11-08 22:45:30 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!
Comment 1 Johannes Schmid 2007-11-08 23:54:35 UTC
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.
Comment 2 André Klapper 2008-12-14 20:47:52 UTC
(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