Bug 62466 - kdevelop c project template is broken
Summary: kdevelop c project template is broken
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: appwizard (show other bugs)
Version: 1.0.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-10 22:54 UTC by tnagy
Modified: 2009-01-22 23:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tnagy 2003-08-10 22:54:29 UTC
Version:           cvs 20030803 (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 
OS:          Linux

The template "c->simple hello world" looks broken

Build projects stops with this error message :

* cd /home/user/test && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" gmake -f Makefile.cvs 
* autoconf 
* aclocal-1.7 
* aclocal: configure.in: 8: macro `AM_PROG_LIBTOOL' not found in library 
* gmake: *** [all] Error 1 
* *** Exited with status: 2 ***

The magic line "make -f Makefile.cvs" doesn't work either.

It looks like the auto-tools scripts for this template are obsolete, aren't they ?

this bug was seen with gideon cvs 20030803 on redhat
automake 1.7.5
autoconf 2.57

and also with gideon alpha 5 on debian
automake 1.7.6
autoconf 2.13
Comment 1 Thiago Macieira 2003-08-10 23:16:08 UTC
Do you have libtool installed? 
Comment 2 tnagy 2003-08-10 23:24:42 UTC
Yes. By the way the c++ kde template "simple application framework" works fine,
and it uses libtool.

concerning my libtool installation, I have the following redhat rpms :
libtool-1.4.3-5
libtool-libs13-1.3.5-7
libtool-libs-1.4.3-5
Comment 3 Thiago Macieira 2003-08-11 03:07:41 UTC
AM_PROG_LIBTOOL and AC_PROG_LIBTOOL are the correct ways to instantiate libtool. Is 
the file libtool.m4 inside your aclocal's (aclocal-1.7) directory? 
Comment 4 tnagy 2003-08-14 23:12:11 UTC
Your are right, I don't have the file libtool.m4 in my aclocal-1.7 directory.

It looks like I have to reinstall libtool, then ? (why does my config work for
compiling other programs and not this template ?)
Comment 5 Amilcar do Carmo Lucas 2003-09-05 13:33:56 UTC
It looks like the problem was found. 
Closing.