PDA

View Full Version : automake/make woes



johneboy
November 11th, 2005, 05:27 PM
Hi Folks,

I'm having trouble getting a project I was working on under Hoary (C++ and GTKMM) to build at all under Breezy. I did a complete reinstall to Breezy and I believe I have installed the correct bits to actually restart development.

I have installed the following:


build-essential
automake v1.4
autoconf v2.59
Required GTKMM development libraries
Anjuta 1.2.4


When I open the existing Anjuta project it refuses to build. It just moans with the make error "make: *** No targets specified and no makefile found. Stop.
". I have auto generated the scripts, both in Anjuta and from the command line successfully.

From the command line the process is as follows:


./autogen.sh

succeeds and says use make.

makes says:

make: *** No targets specified and no makefile found. Stop.

automake --verbose says:

automake: reading configure.in
automake: reading aclocal.m4
automake: reading Makefile.am
automake: creating Makefile.in
automake: reading macros/Makefile.am
automake: creating macros/Makefile.in
automake: reading src/Makefile.am
automake: creating src/Makefile.in

Nothing actually builds, as in even starts to compile let alone give compilation errors. This all used to work under Hoary and I'm not sure what I've done that is stupid.

Any ideas anyone?

Many thanks

John

David Marrs
November 11th, 2005, 06:23 PM
Have you changed your targets and not realised it? eg. ../path/to/file.c should now be, ../../path/to/file.c - something like that?

teaker1s
November 11th, 2005, 06:26 PM
first check any readme files to see if you need anything else
./configure look to see if any library is missing as any missing dependence=no make file

make
make install

johneboy
November 13th, 2005, 11:43 AM
Hi teaker1s,

thanks, there was an error sitting in the configure output that I'd missed. Funny thing is it wasn't a missing dependency it just looks like the configure.in generated by Anjuta (actually more likely differences between versions of automake or autoconf) is slightly different in the version between Hoary and Breezy. Problem now solved.

Thanks once again for the pointer.

Regards

John