I have successfully installed Anjuta, defined a project using existing source files, and successfully compiled and linked it using the 'default' configuration.
When I try to build the 'debug' configuration (and any other configuration), the build fails. The first message that I think is relevant is:
/home/dave/Code/ww_index/configure CFLAGS=-g -O0 CXXFLAGS=-g -O0 JFLAGS=-g -O0 FFLAGS=-g -O0"
I then get a few 'checking' messages (all responses look OK - no errors are reported) but the build fails with this message:
configure: error: source directory already configured; run "make distclean" there first
I have tried the make distclean
in the ww_index/src
directory and this is successful but wipes out the executable and the 'Make...' files.
There are no other directories defined under 'Debug'. I only see a config.log
file there with expanded messages that were also shown in the console as a result of my action.
What do I need to do to Anjuta to have it successfully build other configurations?
Doing a
make distclean
will delete the executable and theMakefile
andMakefile.in
, both in thesrc
and in the root directory of your project. That's fine. If you do a./configure
in the root directory, theMakefile*
files should be re-generated.I think there should be ' (single quotes) around each of the option groups like this:
but that might be a problem of posting it here. Check for the quotes in Build | Configure Project window.
Try typing
autoreconf
, and thenautomake
in the terminal window while in the project's root directory, and report any strange messages.