Bug 58435 - automake manager: subprojects aren't added to 'configure.in'
Summary: automake manager: subprojects aren't added to 'configure.in'
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: Automake (show other bugs)
Version: 3.0.0a4
Platform: Compiled Sources Solaris
: HI normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-13 19:09 UTC by Daniel Franke
Modified: 2003-07-13 15:27 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
patch for autopart (10.98 KB, patch)
2003-06-20 22:54 UTC, Torben H. Nielsen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Franke 2003-05-13 19:09:07 UTC
Version:           3.0.0a4 (using KDE 3.1.1)
Installed from:    compiled sources
Compiler:          gcc version 3.2.2
OS:          SunOS (sun4u) release 5.8

I don't really know if this a bug or I missed something somewhere else ...

Automake manager:
 - add subproject (say 'lib')
 - add target (say a libtool library 'libmisc')
 - add a file (say 'misc.cpp')
 - make it the active target
 - build active target ( [F7] )

 -> get an error.
* cd <project path> && /bin/bash <project path>/missing --run automake-1.6 --gnu src/lib/Makefile 
* cd ../../.. && /bin/bash ./config.status src/lib/Makefile  
* config.status: error: invalid argument: src/lib/Makefile 
* gmake: *** [Makefile] Error 1 
* gmake: Failed to remake makefile `Makefile'. 
* gmake: *** No rule to make target `libmisc.la'.

Workaround: add 'src/lib/Makefile' to AC_OUTPUT[ ] and try again -> now it works.
Comment 1 Daniel Franke 2003-05-13 19:17:02 UTC
I forgot: 
Sure you have to "Run automake & friends" and "./configure" first ... then it works. 
Comment 2 Amilcar do Carmo Lucas 2003-05-20 20:43:28 UTC
This is a regression against KDevelop 2. 
Changing priority to HI. 
 
Comment 3 Amilcar do Carmo Lucas 2003-05-30 16:00:06 UTC
As a workaround you can add the missing makefiles in the configure.in file manualy. 
They sould be added to the  AC_OUTPUT( ) macro. 
Comment 4 Torben H. Nielsen 2003-06-20 22:54:32 UTC
Created attachment 1856 [details]
patch for autopart

This patch makes the autopart add/delete alter AC_OUTPUT in configure.in when
you create/delete a subproject
Comment 5 Amilcar do Carmo Lucas 2003-06-21 16:05:54 UTC
Subject: kdevelop/parts/autoproject

CVS commit by aclu: 

Fix for: automake manager: subprojects aren't added to 'configure.in'

A sligtly modified version of the patch provided by: 
"Torben H.Nielsen" < torben.nielsen in rocketmail.com >

CCMAIL: 58435-done@bugs.kde.org

Thanks Torben this one was on my nerves for a while now!


  M +16 -0     addsubprojectdlg.cpp   1.17
  M +8 -4      autoprojectpart.cpp   1.96
  M +2 -0      autoprojectpart.h   1.34
  M +28 -1     autosubprojectview.cpp   1.9
  M +82 -0     misc.cpp   1.18
  M +13 -1     misc.h   1.9