[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Problems compiling Qt
From: zoozeet <qeeeeb () yahoo ! de>
Date: 2007-06-07 7:03:21
Message-ID: 11002974.post () talk ! nabble ! com
[Download RAW message or body]
Lukas Kropatschek wrote:
>
> Hi guys,
>
> I've problems compiling Qt:
>
>
> make[1]: Entering directory `/home/kde-devel/qt-copy/src/tools/moc'
> g++ -c -pipe -g -fno-exceptions -g -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/opt/qt4/mkspecs/linux-g++ -I.
> -I../../corelib/arch/generic -I../../../include -I.
> -I../../../include/QtCore -I. -I.uic/debug-shared
> -I../../corelib/arch/generic -I../../../include -I.
> -I../../../include/QtCore -I. -I.uic/debug-shared -o
> debug-shared/qtemporaryfile.o ../../corelib/io/qtemporaryfile.cpp
> ../../corelib/io/qtemporaryfile.cpp: In function ‘int _gettemp(char*,
> int*,
> int, int)':
> ../../corelib/io/qtemporaryfile.cpp:163: error: ‘QT_OPEN_LARGEFILE' was
> not
> declared in this scope
> make[1]: *** [debug-shared/qtemporaryfile.o] Error 1
> make[1]: Leaving directory `/home/kde-devel/qt-copy/src/tools/moc'
> make: *** [sub-moc-sub_src_target_ordered] Error 2
> makeobj[0]: Leaving directory `/home/kde-devel/qt-copy'
>
> I'm using the most recent svn revision:
>
> [kde-devel@notebox qt-copy]$ svn update
> Revision 653119.
>
> I'm going to have a look at the broken
> file "../../corelib/io/qtemporaryfile.cpp" but I haven't svn access and if
> there is someone faster then me making a patch.
> --
> With best regards,
> Lukas Kropatschek
>
>>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
>>> unsubscribe <<
>
>
Hi, I faced the same problem. I guess you also have installed another QT
Version. I removed the environment variables QTDIR and QMAKESPEC by doing:
export QTDIR=
export QMAKESPEC=
After this everything compiled with no error message.
--
View this message in context: http://www.nabble.com/Problems-compiling-Qt-tf3567065.html#a11002974
Sent from the kde-devel mailing list archive at Nabble.com.
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic