Ok, things are clearer now, like mud. Ok, not mud --- dirty water. :)
* I can build tdelibs when I use qt3 but not with tqt3. Unless this is fixable here
I'll submit another bug report.
* When I use qt3 and build tdelibs, I cannot use the silence_tdelfeditor.diff patch. The
build fails almost immediately:
cd /opt/trinity/bin && if [[ -e tdelfeditor ]]; then ./tdelfeditor -m
/dev/shm/tdelibs.build/dcop/dcopserver "dcopserver" "" ""
"" "" "Trinity Desktop Environment" ""
"" "01/16/2012 19:38:48" "dcopserver" "" || true
fi
/bin/sh: -c: line 1: syntax error: unexpected end of file
make[2]: *** [dcop/dcopserver] Error 1
make[2]: Leaving directory `/dev/shm/tdelibs.build'
make[1]: *** [dcop/CMakeFiles/dcopserver.dir/all] Error 2
make[1]: Leaving directory `/dev/shm/tdelibs.build'
make: *** [all] Error 2
Notice the missing semi-colon between true and fi. This is a strange error because the
patch has a semi-colon before the last "fi." I viewed the affected
TDEMacros.cmake after the build script applied the patch and the semi-colons all were
there. Something else stripped that missing semi-colon.
That patch is not hugely important because the messages seem harmless despite cluttering
many "No such file or directory" statements throughout the build log. :(
* Those weird tdelfeditor messages appear with arts, dbus-1-tqt, and kdebase too, but not
with dbus-tqt. If those messages are going to be quashed in tdelibs then those packages
need a similar patch. Plus whatever other packages generate those messages. :)
* I cannot build tqca-tls with qt3. I presume then I will have to build the old qca
packages. If we are going to support both tqt3 and qt3 in dependencies then perhaps we
should support qca-tls as well as tqca-tls. But before grappling with that issue we should
learn why tdelibs won't build with tqt3.
Regarding bug report 581: I still need the sym link to qglobal.h and I still need the
TQT_INCLUDEDIR patch. Without the sym link or patch I receive the following error:
cc1: error: tqt.h: No such file or directory
Without the sym link but with the patch I receive the following error:
In file included from <command-line>:0:
/usr/include/tqt/tqt.h:51:21: error: qglobal.h: No such file or directory
With the sym link but without the patch I receive the following error:
cc1: error: tqt.h: No such file or directory
In tqt.h I can see the preprocessor directive #include <qglobal.h>.
Here are my build environment variables for include headers:
CMAKE_INCLUDE_PATH: /opt/trinity:/opt/trinity/lib/qt3-R14.0.0/include:/usr/include/tqt
CPLUS_INCLUDE_PATH:
/opt/trinity/lib/qt3-R14.0.0/include:/opt/trinity/include:/usr/include:/usr/include/tqt
On my system qglobal.h is installed in /opt/trinity/lib/qt3-R14.0.0/include.
I had been creating a link to qglobal.h in /usr/include/tqt. I tried another experiment
and linked qglobal.h in /usr/include. That got past the build failure too, but I still
needed the patch.
A few posts ago I said I had removed the Qt4 package. After successfully building tdelibs
and tdebase, although tdelibs still needs the patches, I restored Qt4 to my build system.
I rebuilt the core packages again and remained with qt3 rather than tqt3. I again was able
to build the core packages.
My apologies for the long post, but I'm hoping the information might help. In
summary:
First, tqt3 seems to be part of my tdelibs build problems. My build script for tqt3 and
qt3 are identical except for the 't'.
Second, to build tdelibs I need both the the sym link (in either /usr/include or
/usr/include/tqt) and the patch.
Darrell