View Full Version : something about aclocal.m4 is outdated

02-04-2005, 01:46 PM
I'm using KDevelop under gnome, and i'll start a new console c++ project. But when I go to compile it, it gives me a message about having to remake aclocal.m4 and I'm not sure how to go about doing that.
I did go to terminal though and compile the same file using
g++ filename.cpp -o filename.o
and then i could run it fine by doing

any thoughts? maybe i should just use the terminal for now while I'm still learning c++

02-04-2005, 01:53 PM
Thats something in the KDE project, I believe, the KDevelop tries to use autoconf to create the makefile for your project before compiling it. If I remember right aclocal.m4 is a set of macros for autoconf.

Its not a problem with your code (obviously, since it compiled outside of KDevelop). Its possibly something that is expected in the KDE environment, thats missing in Gnome.

You may want to try using Anjuta, a fairly good C IDE for Gnome, since it won't have the KDE dependencies.

Personally speaking I use jEdit (http://jedit.sourceforge.net/) and compile from the command line. Makefiles aren't terribly hard to write so I haven't seen much real need for an IDE to handle those for me.

02-04-2005, 02:14 PM
aclocal.m4 isn't KDevelop-specific, though. It's a part of the GNU autoconf system.
The problem must lie in the settings of KDevelop.

02-04-2005, 11:56 PM
thanks for the comments, I think I'll just stay away from KDevelop, at least for now, since I don't even know what a makefile is...
all i know is how to program in C and C++ and sometimes get it to compile and run :)
for right now I'm just doing console stuff anyway so it doesn't matter if I have to use the terminal to compile and run
plus KDevelop doesn't seem to be everyone's favorite IDE anyway... ;)