kdevelop & automake problem

Iztok Kobal iztok.kobal at iskrasistemi.si
Wed Nov 19 08:32:06 UTC 2003


jmorrow wrote:

> Is there anyone who can help me with this problem with kdevelop?
>  
> I am running Red Hat Linux 9 and Kdevelop 2.1.5 (with KDE 3.1-10 R H).
> The version of automake on the system is  1.6.3.
> All of these systems are as Red Hat delivers them. I did not make any 
> modifications.
>  
> I created a new C++ terminal  project under kdevelop. As kdevelop goes 
> through the creation process it produces
> the following error:
>  
> aclocalm4:3009 your implementation of AM_INIT_AUTOMAKE comes from an
> aclocalm4:3009 old Automake version. You should recreate aclocal.m4
> aclocalm4:3009 with aclocal and run automake again 
>  
> and the build fails
>  

The template for the admin subdirectory shipped with the KDevelop-2 is 
rather outdated. Take the admin directory which you can get from the KDE 
CVS (see instructions on

http://www.kdevelop.org/index.html?filename=kdevelop-2.x.html

Since you use the KDE-3.1 you should take the

cvs -z3 -d :pserver:anonymous at anoncvs.kde.org:/home/kde co -r KDE_3_1_BRANCH kde-common 

though the HEAD or KDevelop-3 version should work also.

Now, just replace your project admin directory's content with the new one.

How to generalize the behaviour ?

If you take a look into the $KDEDIR/share/apps/kdevelop/templates you will find the admin.tar.gz file there. 
If the new admin worked for you, just package it the same way as the old one is and place it instead of the old one.

I hope it helps - it is the way it worked for me.

Iztok




cvs: 

> I canget around this problem by opening a separate console window and 
> running aclocal (outside of kdevelop) in the project directory
> Then I return to kdevelop and slect the Build menu item and then the 
> Autoconf & Automake option on the drop down menu.
> After this I can run make and build the project.
> However, each time I change something in the project (add a file to 
> the project, change an option in the compiler, etc.)
> I have to repeat these manual steps to get it to build properly.
>  
> How can I eliminate these manual steps?
>  
> J. Morrow
> jmorrow at cypressdata.com <mailto:jmorrow at cypressdata.com>
>  
>  


-- 
Iztok Kobal
Iskra SISTEMI, d.d.
Stegne 21
1000 Ljubljana
Tel.: +386 (0)1 5004368
Fax.: +386 (0)1 5111283
E-mail: iztok.kobal at iskrasistemi.si
WWW: www.iskrasistemi.si






More information about the KDevelop-devel mailing list