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

Summary: Build issue: kpilot can't find tqt headers
Product: TDE Reporter: Darrell <darrella>
Component: other (any)Assignee: Timothy Pearson <kb9vqf>
Status: RESOLVED FIXED    
Severity: major CC: bugwatch, darrella, kb9vqf
Priority: P5    
Version: R14.0.0 [Trinity]   
Hardware: Other   
OS: Other   
Compiler Version: TDE Version String:
Application Version: Application Name:
Attachments: Patch to fix various configure errors and warnings
Updated patch for latest renaming rampage

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!