[Scribus] Having trouble compiling Scribus on RedHat 9
Garth Wallace
gwalla
Mon Jun 2 01:01:36 CEST 2003
I've downloaded the Scribus tarball and am trying to compile it.
However, I'm getting hung up on the ./configure stage. After a mess of
normal configure output, I get this error message:
| checking for Qt... configure: error: Qt (>= Qt 3.0.2) (headers and
| libraries) not found. Please check your installation!
| For more details about this problem, look at the end of config.log.
Checking config.log, I find this:
| configure:6824: checking for Qt
| configure: 6888: /usr/lib/qt3/include/qstyle.h
| configure: 6888: /usr/lib/qt3/qstyle.h
| configure: 6888: /usr/lib/qt/include/qstyle.h
| configure: 6888: /usr/lib/qt/qstyle.h
| configure: 6888: /usr/local/qt/include/qstyle.h
| configure: 6888: /usr/include/qt/qstyle.h
| configure: 6888: /usr/include/qstyle.h
| configure: 6888: /usr/X11R6/include/X11/qt/qstyle.h
| configure: 6888: /usr/X11R6/include/qt/qstyle.h
| configure: 6888: /usr/X11R6/include/qt2/qstyle.h
| configure: 6888: /usr/X11R6/include/qstyle.h
| tried NO
| tried /usr/lib/qt3/lib
| tried /usr/lib/qt3
| tried /usr/lib/qt/lib
| tried /usr/lib/qt
| tried /usr/X11R6/lib
| tried /usr/lib
| tried /usr/local/qt/lib
| tried /usr/X11R6/lib
| configure:7000: rm -rf SunWS_cache; c++ -o conftest -O2
| -fno-exceptions -fno-check-new -INO -I/usr/X11R6/include
| -DQT_THREAD_SUPPORT -D_REENTRANT -LNONE -L/usr/X11R6/lib
| conftest.C -lqt-mt -lpng -lz -lm -ljpeg -ldl -lXext -lX11 -lSM -lICE
| -lresolv -lpthread 1>&5
| conftest.C:2:21: qglobal.h: No such file or directory
| conftest.C:3:26: qapplication.h: No such file or directory
| conftest.C:4:21: qcursor.h: No such file or directory
| conftest.C:5:27: qstylefactory.h: No such file or directory
| conftest.C:6:34: private/qucomextra_p.h: No such file or directory
| conftest.C:8:2: #error 1
| conftest.C: In function `int main()':
| conftest.C:12: `QStyleFactory' undeclared (first use this function)
| conftest.C:12: (Each undeclared identifier is reported only once for
| each
| function it appears in.)
| conftest.C:12: parse error before `::' token
| conftest.C:13: `QCursor' undeclared (first use this function)
| configure: failed program was:
| #include "confdefs.h"
| #include <qglobal.h>
| #include <qapplication.h>
| #include <qcursor.h>
| #include <qstylefactory.h>
| #include <private/qucomextra_p.h>
| #if ! (QT_VERSION >= 302)
| #error 1
| #endif
|
| int main() {
| (void)QStyleFactory::create(QString::null);
| QCursor c(Qt::WhatsThisCursor);
| return 0;
| }
Doing an RPM query for qt tells me that package qt-3.1.1-6 is installed.
Checking around for the listed directories, I find that I have a
/usr/lib/qt-1.3, but none of the ones listed. I tried creating a
/usr/lib/qt3 symlink to /usr/lib/qt-1.3, but it didn't do much. Running
./configure gets me the same error, and config.log says the same thing
(except it doesn't have any of those "tried" lines after "tried NO").
What am I missing? I'm a newbie to this sort of thing.
More information about the scribus
mailing list