Bug 46704

Summary: Running automake and friends fails for C++ program
Product: [Applications] kdevelop Reporter: G Clay <g.clay>
Component: generalAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 0.2.2   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description G Clay 2002-08-20 19:58:50 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           gideon
Version:           0.2_2.x (using KDE 3.0.2 )
Severity:          normal
Installed from:    compiled sources
Compiler:          gcc version 3.1
OS:                Linux (i686) release 2.4.19
OS/Compiler notes: 

Hi there

I made a new C++ project (Hello world program) using the create new project wizard. I then clicked the "Build project" button on the main toolbar. After being told that automake and friends had to be run (as expected) I selected yes to run them. This process fails due to a missing depcomp file. Selecting "Run automake and friends" from the Build menu yields the same results. The log in the messages window is as follows:

 cd /home/gareth/test && make -f Makefile.cvs
 aclocal
 autoheader
 WARNING: Using auxiliary files such as `acconfig.h' `config.h.bot'
 WARNING: and `config.h.top' to define templates for `config.h.in'
 WARNING: is deprecated and discouraged.
 
 WARNING: Using the third argument of `AC_DEFINE' and
 WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
 WARNING: `acconfig.h':
 
 WARNING: AC_DEFINE([NEED_MAIN] 1
 WARNING: [Define if a function `main' is needed.])
 
 WARNING: More sophisticated templates can also be produced see the
 WARNING: documentation.
 automake
 autoheader: `config.h.in' is created
 src/Makefile.am: required file `./depcomp' not found
 make: *** [all] Error 1
 *** Exited with status: 2 ***

Am I missing something or is this a bug? I hope this helps you guys - you're doing a fantastic job with this new IDE :)



(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
Comment 1 G Clay 2002-08-21 17:08:36 UTC
Sorry when I made the original bug report I completely forgot to include
version numbers for automake and autoconf - stupid of me!

Here we go:
Automake: 1.6.3
Autoconf: 2.53

I hope that helps shed some more light on the bug.

Cheers
Gareth
Comment 2 Harald Fernengel 2002-08-21 20:16:02 UTC
Hi

please specify your automake and autoconf version.

You need automake and autoconf >=3D 2.5.

Best regards
Harry
Comment 3 Harald Fernengel 2002-08-21 20:24:22 UTC
Hi

> Sorry when I made the original bug report I completely forgot to include
> version numbers for automake and autoconf - stupid of me!
>
> Here we go:
> Automake: 1.6.3
> Autoconf: 2.53

sorry this is what happens if you read your mail the wrong way round :)

can you try to remove the admin/ subdirectory of your project with the newe=
st=20
one from kde-common module in the main kde CVS? Does the error still appear=
=20
if you rerun automake/autoconf?

Best regards
Harry
Comment 4 G Clay 2002-08-27 20:02:49 UTC
> sorry this is what happens if you read your mail the wrong way round :)
>
> can you try to remove the admin/ subdirectory of your project with the newest
> one from kde-common module in the main kde CVS? Does the error still appear
> if you rerun automake/autoconf?


I'm sorry this is such a late reply. My computer has been down for a few
days because of the gcc3.2 upgrade - I've had to recompile everything on
my system. Because of that I don't have a working version of gideon to
test this with - the latest cvs (as of this morning) doesn't compile.

As soon as I have a working copy of gideon I'll get back to you with the
results of your test.

Cheers
Gareth
Comment 5 John Firebaugh 2002-09-22 09:44:19 UTC
Fixed in CVS