Man, I don't know if this is the problem... But I use this to compile qt here...

./configure -qdbus -prefix /opt/qt
make

Just this, nothing more...

So, Merry Christmas.

2007/12/24, David Jarvie <djarvie@kde.org>:
I'm getting an error building qt-copy from trunk which I can't work out how to
fix. I've started with a clean checkout, and am building on a new install of
Debian testing. I've previously built earlier versions successfully on Ubuntu
and Debian. The commands used are:

export QTDIR=$PWD
export PATH=$QTDIR/bin:$PATH
./configure -qt-gif -no-exceptions -fast -system-libpng -system-libjpeg -system-zlib -qdbus -nomake
examples -nomake demos -prefix /opt/qt- 4.3
make

The (truncated) error output - there is more similar stuff - is:

$ make
cd src/tools/moc/ && make -f Makefile
make[1]: Entering directory `/home/david/src/qt-copy-4.3.2/src/tools/moc'
g++ -c -pipe -g -fno-exceptions -O2 -Wall -W -DQT_BOOTSTRAPPED -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_LIBRARY -DQT_NO_STL -DQT_NO_COMPRESS -DQT_NO_DATASTREAM -DQT_NO_TEXTSTREAM -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_THREAD -DQT_NO_REGEXP -DQT_NO_QOBJECT -DQT_NO_SYSTEMLOCALE -DQT_NO_GEOM_VARIANT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../mkspecs/linux-g++ -I. -I../../corelib/arch/generic -I../../../include -I. -I../../../include/QtCore -I. - I.uic/release-shared -o
release-shared/moc.o moc.cpp
In file included from ../../../include/QtCore/qglobal.h:1,

from ../../../include/QtCore/../../src/corelib/tools/qiterator.h:40,
                 from ../../../include/QtCore/qiterator.h:1,

from ../../../include/QtCore/../../src/corelib/tools/qvector.h:40,
                 from ../../../include/QtCore/qvector.h:1,

from ../../../include/QtCore/../../src/corelib/tools/qstack.h:40,
                 from ../../../include/QtCore/qstack.h:1,
                 from ../../../include/QtCore/QStack:1,
                 from parser.h:40,
                 from moc.h:40,
                 from moc.cpp:37:
../../../include/QtCore/../../src/corelib/global/qglobal.h:1137:4: error:
#error "Qt not configured correctly, please run configure"
../../../include/QtCore/../../src/corelib/global/qglobal.h:2026:6: error:
#error "Qt not configured correctly, please run configure"
In file included from ../../../include/QtCore/qiterator.h:1,

from ../../../include/QtCore/../../src/corelib/tools/qvector.h:40,
                 from ../../../include/QtCore/qvector.h:1,

from ../../../include/QtCore/../../src/corelib/tools/qstack.h:40,
                 from ../../../include/QtCore/qstack.h:1,
                 from ../../../include/QtCore/QStack:1,
                 from parser.h:40,
                 from moc.h:40,
                 from moc.cpp :37:
../../../include/QtCore/../../src/corelib/tools/qiterator.h:44:
error: 'QtValidLicenseForCoreModule' does not name a type

--
David Jarvie.
KAlarm author and maintainer.
http://www.astrojar.org.uk/kalarm

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<



--

Otávio Souza
* KinuX Linux Creator <http://kinux.codigolivre.org.br>
* Representante Fedora-SE
* Participante Linux-SE
* Criador do MSLC-SE
* Criador dos lunatiKos (Grupo de usuários KDE do Nordeste)
* Linux User #415774