Tim, Darrell, all,
I have been working to get tdeutils building tonight without any luck. The primary error I receive is:
conftest.cpp:2:24: fatal error: Qt/qglobal.h: No such file or directory
(full error below) I have tried passing every combination of configure flags, but it still crashes. I am attempting to compile it as follows:
## Generate config files and update with autoreconf cd ${srcdir}/${pkgname#*-} make -f admin/Makefile.common autoreconf
## configure msg "Configuring - ${pkgname}..." ./configure \ --prefix=${TDEDIR} \ --with-qt-dir=${QTDIR} \ --with-qt-includes=${QTDIR}/include \ --with-extra-includes=${TDEDIR}/include/tqt \ --with-qt-libraries=${QTDIR}/lib \ --with-extra-libs=${TDEDIR}/lib/trinity \ --sysconfdir=/etc \ --localstatedir=/var \ --enable-closure
I have also tried --with-extra-includes=${TDEDIR}/include/tqt/Qt and it doesn't help.
I am obviously missing a trick or patch to make tdeutils work with TQt3. What's the trick? The full error I get is:
configure: 22363: /usr/include/tqt3/Qt/qstyle.h configure: 22363: /usr/include/qt3/Qt/qstyle.h configure: 22363: ./Qt/qstyle.h configure:22598: rm -rf SunWS_cache; g++ -o conftest -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE - Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector - -param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno- exceptions -fno-check-new -fno-common -I/usr/include/tqt -INO -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wl,-O1,--sort- common,--as-needed,-z,relro,--hash-style=gnu -L/opt/tqt3/lib -L/opt/trinity/lib/trinity conftest.cpp -lQtCore - lQtGui -lQtNetwork -ltqt -lpng -lz -lm -ljpeg -ldl -lXext -lX11 -lSM -lICE -lpthread 1>&5 conftest.cpp:2:24: fatal error: Qt/qglobal.h: No such file or directory compilation terminated. configure:22601: $? = 1 configure: failed program was: #include "confdefs.h" #include <Qt/qglobal.h> #include <Qt/qapplication.h> #include <Qt/qcursor.h> #include <Qt/qstylefactory.h> #if ! (TQT_VERSION >= 0x040300 && TQT_VERSION < 0x050000) #error 1 #endif
int main() { (void)QStyleFactory::create(QString::null); QCursor c(Qt::WhatsThisCursor); return 0; } configure:22640: error: Qt (>= Qt 4.3 and < 5.0) (headers and libraries) not found. Please check your installation! For more details about this problem, look at the end of config.log.