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 945 - Build issue: kpilot can't find tqt headers
Summary: Build issue: kpilot can't find tqt headers
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: other (any) (show other bugs)
Version: R14.0.0 [Trinity]
Hardware: Other Other
: P5 major
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2012-03-27 18:46 CDT by Darrell
Modified: 2013-04-05 09:14 CDT (History)
3 users (show)

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


Attachments
Patch to fix various configure errors and warnings (2.19 KB, patch)
2012-11-02 13:00 CDT, Darrell
Details | Diff
Updated patch for latest renaming rampage (2.19 KB, patch)
2013-03-03 20:08 CST, Darrell
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Darrell 2012-03-27 18:46:21 CDT
The build failure:

configure: WARNING: pi-file.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: pi-version.h: accepted by the compiler, rejected by the preprocessor!

The configure.log shows:

====================================================
configure:25479: checking pi-file.h usability
configure:25479: g++ -c -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -O2 -march=i486 -mtune=i686 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -I/usr/include/tqt -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -DQT_THREAD_SUPPORT  -D_REENTRANT -I/opt/trinity/include -I. -include tqt.h  conftest.cpp >&5
configure:25479: $? = 0
configure:25479: result: yes
configure:25479: checking pi-file.h presence
configure:25479: g++ -E  -DQT_THREAD_SUPPORT  -D_REENTRANT -I/opt/trinity/include -I. -include tqt.h  conftest.cpp
cc1plus: error: tqt.h: No such file or directory
====================================================

The configure process knows about the tqt headers, and the package builds despite the error, yet seems the following configure option solves that particular configure error:

--with-extra-includes=/usr/include/tqt
Comment 1 Darrell 2012-11-02 13:00:01 CDT
Created attachment 952 [details]
Patch to fix various configure errors and warnings

Proposed patch attached. Works for me on Slackware but somebody with a different distro should test.
Comment 2 Darrell 2013-03-03 20:08:17 CST
Created attachment 1119 [details]
Updated patch for latest renaming rampage
Comment 3 Timothy Pearson 2013-04-05 09:14:16 CDT
(In reply to comment #2)
> Created attachment 1119 [details]
> Updated patch for latest renaming rampage

Patch looks sane; pushed to GIT in hash 294bbfd.

Thanks for reporting, and for the patch!