By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 2310 - tdevelop C++ Autotools Hello World project does not build
Summary: tdevelop C++ Autotools Hello World project does not build
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: non-core programs (show other bugs)
Version: R14.0.0 [Trinity]
Hardware: Other Linux
: P5 normal
Assignee: Michele Calgaro
URL:
Depends on:
Blocks: R14.0.1
  Show dependency treegraph
 
Reported: 2015-01-11 17:28 CST by Timothy Pearson
Modified: 2015-06-26 19:02 CDT (History)
4 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Pearson 2015-01-11 17:28:23 CST
The C++ Autotools Hello World project template from tdevelop does not build.

Two failures are seen:
1.) On newer systems the build fails at the autotools stage complaining about a missing required ./compile file.  Manually generating that file with the appropriate command (automake --add-missing) allows the build to proceed until it hits the second failure detailed below.

2.) On older systems the project appears to build but the resultant executable is never actually built, only the object file is built but remains unlinked even though libtool is called to link the file and appears to succeed.
Comment 1 Michele Calgaro 2015-06-25 17:57:19 CDT
After a lot of search and a very good autotools tutorial, I have finally been able to build the tdevelop C++ Autotools Hello World project from command line in Debian Stretch using the following sequence of commands:

autoreconf --install
./configure
make

The same thing works in KDE 3.5.10 using Debian Lenny, although in such environment the Hello World project also builds correctly from KDevelop.

Now it is just a matter to find the right way to integrate all this in TDevelop.
Comment 2 Michele Calgaro 2015-06-26 00:07:55 CDT
> Now it is just a matter to find the right way to integrate all this in 
> TDevelop.

This solution actually creates problem for other projects that otherwise would build properly. So back to the study board again.
Comment 3 Michele Calgaro 2015-06-26 19:02:55 CDT
Fixed in commit 98b2e20 (master) and d7b04cf (r14.0.x) and tested in Debian Stretch and Debian Lenny.