[Scribus] problem configuring for Debian

Bill Carini crisbill
Thu Jun 5 14:00:59 CEST 2003


On Tue, May 27, 2003 at 10:43:57AM +0200, intrigeri wrote:
> Bill Carini a dit (03/05/26 22:04) :
> > I'm trying to install 0.9.10 on a Debian (PPC) system. It's a mixed
> > stable/unstable system; I have installed gcc3.3.
> > 
> > configure failed even though I have libqt3-mt-dev. Can someone tell me what 
> > I'm doing wrong? Here's an excerpt from my config.log
> 
> 
> 
> This is working for me (debian sid) :
> 
> export QTDIR=/usr/lib
> ./configure --with-qt-libraries=/usr/lib/qt3 \
> --with-qt-includes=/usr/include/qt3 --prefix=/usr/local/stow/scribus-cvs
> 

Thanks for the reply. This is still not working for me. 

Until now I have always used precompiled .deb packages. Compiling is new
to me and I may be missing something basic. Here again is the relevant
portion of my config.log.

--Bill Carini

-------------------------------------------------------------------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.57.  Invocation command line was

  $ ./configure --with-qt-libraries=/usr/lib/qt3 --with-qt-includes=/usr/include/qt3 --prefix=/usr/local/stow/scribus-0.9.10

## --------- ##
## Platform. ##
## --------- ##

hostname = epigaea
uname -m = ppc
uname -r = 2.4.20
uname -s = Linux
uname -v = #1 Mon May 12 06:44:29 EST 2003

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = ppc


-------SNIP------

configure:13334: checking for Qt
configure: 13402: /usr/include/qt3/qstyle.h
taking that
configure:13511: rm -rf SunWS_cache; g++ -o conftest -O2 -fno-exceptions -fno-check-new -I/usr/include/qt3 -I/usr/X11R6/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -L/usr/lib/qt3 -L/usr/X11R6/lib   conftest.cc -lnsl  -lqt-mt -lpng -lz -lm -ljpeg -ldl  -lXext -lX11 -lSM -lICE  -lresolv -lpthread 1>&5
/tmp/ccrOZW3P.o(.text+0xe): In function `main':
: undefined reference to `QString::null'
/tmp/ccrOZW3P.o(.text+0x12): In function `main':
: undefined reference to `QString::null'
/tmp/ccrOZW3P.o(.text+0x14): In function `main':
: undefined reference to `QStyleFactory::create(QString const &)'
/tmp/ccrOZW3P.o(.text+0x14): In function `main':
: relocation truncated to fit: R_PPC_REL24 QStyleFactory::create(QString const &)
/tmp/ccrOZW3P.o(.text+0x20): In function `main':
: undefined reference to `QCursor::QCursor(int)'
/tmp/ccrOZW3P.o(.text+0x20): In function `main':
: relocation truncated to fit: R_PPC_REL24 QCursor::QCursor(int)
/tmp/ccrOZW3P.o(.text+0x2c): In function `main':
: undefined reference to `QCursor::~QCursor(void)'
/tmp/ccrOZW3P.o(.text+0x2c): In function `main':
: relocation truncated to fit: R_PPC_REL24 QCursor::~QCursor(void)
/tmp/ccrOZW3P.o(.sdata+0x4): undefined reference to `QTextStream::width(int)'
/tmp/ccrOZW3P.o(.sdata+0xc): undefined reference to `QTextStream::fill(int)'
/tmp/ccrOZW3P.o(.sdata+0x14): undefined reference to `QTextStream::precision(int)'
/tmp/ccrOZW3P.o(.QValueListPrivate<QString>::gnu.linkonce.t.(void)+0x2e): In function `QValueListPrivate<QString>::QValueListPrivate(void)':
: undefined reference to `QString::shared_null'
/tmp/ccrOZW3P.o(.QValueListPrivate<QString>::gnu.linkonce.t.(void)+0x32): In function `QValueListPrivate<QString>::QValueListPrivate(void)':
: undefined reference to `QString::shared_null'
/tmp/ccrOZW3P.o(.QValueListPrivate<QString>::gnu.linkonce.t.(void)+0x3c): In function `QValueListPrivate<QString>::QValueListPrivate(void)':
: undefined reference to `QString::makeSharedNull(void)'
/tmp/ccrOZW3P.o(.QValueListPrivate<QString>::gnu.linkonce.t.(void)+0x3c): In function `QValueListPrivate<QString>::QValueListPrivate(void)':
: relocation truncated to fit: R_PPC_REL24 QString::makeSharedNull(void)
/tmp/ccrOZW3P.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0x3a): In function `QValueListPrivate<QString>::~QValueListPrivate(void)':
: undefined reference to `QString::shared_null'
/tmp/ccrOZW3P.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0x66): In function `QValueListPrivate<QString>::~QValueListPrivate(void)':
: undefined reference to `QString::shared_null'
/tmp/ccrOZW3P.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0x70): In function `QValueListPrivate<QString>::~QValueListPrivate(void)':
: undefined reference to `QStringData::deleteSelf(void)'
/tmp/ccrOZW3P.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0x70): In function `QValueListPrivate<QString>::~QValueListPrivate(void)':
: relocation truncated to fit: R_PPC_REL24 QStringData::deleteSelf(void)
/tmp/ccrOZW3P.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0xb2): In function `QValueListPrivate<QString>::~QValueListPrivate(void)':
: undefined reference to `QString::shared_null'
/tmp/ccrOZW3P.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0xb6): In function `QValueListPrivate<QString>::~QValueListPrivate(void)':
: undefined reference to `QString::shared_null'
/tmp/ccrOZW3P.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0xc4): In function `QValueListPrivate<QString>::~QValueListPrivate(void)':
: undefined reference to `QStringData::deleteSelf(void)'
/tmp/ccrOZW3P.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0xc4): In function `QValueListPrivate<QString>::~QValueListPrivate(void)':
: relocation truncated to fit: R_PPC_REL24 QStringData::deleteSelf(void)
/tmp/ccrOZW3P.o(.QValueListPrivate<QString>::gnu.linkonce.t.insert(QValueListIterator<QString>, QString const &)+0x4c): In function `QValueListPrivate<QString>::insert(QValueListIterator<QString>, QString const &)':
: undefined reference to `QString::QString(QString const &)'
/tmp/ccrOZW3P.o(.QValueListPrivate<QString>::gnu.linkonce.t.insert(QValueListIterator<QString>, QString const &)+0x4c): In function `QValueListPrivate<QString>::insert(QValueListIterator<QString>, QString const &)':
: relocation truncated to fit: R_PPC_REL24 QString::QString(QString const &)
/tmp/ccrOZW3P.o(.QValueListPrivate<QString>::gnu.linkonce.t.(QValueListPrivate<QString> const &)+0x36): In function `QValueListPrivate<QString>::QValueListPrivate(QValueListPrivate<QString> const &)':
: undefined reference to `QString::shared_null'
/tmp/ccrOZW3P.o(.QValueListPrivate<QString>::gnu.linkonce.t.(QValueListPrivate<QString> const &)+0x3a): In function `QValueListPrivate<QString>::QValueListPrivate(QValueListPrivate<QString> const &)':
: undefined reference to `QString::shared_null'
/tmp/ccrOZW3P.o(.QValueListPrivate<QString>::gnu.linkonce.t.(QValueListPrivate<QString> const &)+0x44): In function `QValueListPrivate<QString>::QValueListPrivate(QValueListPrivate<QString> const &)':
: undefined reference to `QString::makeSharedNull(void)'
/tmp/ccrOZW3P.o(.QValueListPrivate<QString>::gnu.linkonce.t.(QValueListPrivate<QString> const &)+0x44): In function `QValueListPrivate<QString>::QValueListPrivate(QValueListPrivate<QString> const &)':
: relocation truncated to fit: R_PPC_REL24 QString::makeSharedNull(void)
collect2: ld returned 1 exit status
configure:13514: $? = 1
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;
}
configure:13554: error: Qt (>= Qt 3.0.2) (library qt-mt) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!

-------SNIP--------



More information about the scribus mailing list