Qt4: Help, can not install or update any QT lib/app anymore!

Dima Panov fluffy at fluffy.khv.ru
Tue Jan 5 13:30:25 UTC 2010


On Tuesday 05 January 2010 23:02:25 O. Hartmann wrote:
> Dear Sirs,
> on a very 'production'-sensitive box I get an error whenever I try to
> install any qt4-related application or library. After deinstalling every
> qt4-lib/-app, and deleting every /usr/local/*/qt4 directory, I'm
> incapable of installing anything related to Qt4, even qt4-corelib fails.
> 
> I need those qt4-stuff for several applications and would appreciate any
> help. Please email, I'm not subscriber of the -question'-mailinglist.
> 
> Thanks in advance,
> 
> Oliver
> thusnelda# make install clean
> ===>   qt4-corelib-4.5.3 depends on package: qt4-qmake>=4.5.3 - found
> ===>   qt4-corelib-4.5.3 depends on package: qt4-moc>=4.5.3 - not found
> ===>    Verifying install for qt4-moc>=4.5.3 in /usr/ports/devel/qt4-moc
> ===>  Building for qt4-moc-4.5.3
> [...]
> 
> c++ -c -O2 -pipe -march=nocona -fno-strict-aliasing -O2 -pipe
> -march=nocona -fno-strict-aliasing -Wall -W -DQT_BOOTSTRAPPED
> -DQT_LITE_UNICODE -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII
> -DQT_NO_CODECS -DQT_NO_DATASTREAM -DQT_NO_GEOM_VARIANT -DQT_NO_LIBRARY
> -DQT_NO_QOBJECT -DQT_NO_STL -DQT_NO_SYSTEMLOCALE -DQT_NO_TEXTSTREAM
> -DQT_NO_THREAD -DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE
> -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
> -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I../../../include
> -I../../../include/QtCore -I../../../include/QtXml -I/usr/local/include
> -o .obj/release-static/qfsfileengine.o ../../corelib/io/qfsfileengine.cpp
> ../../corelib/io/qfsfileengine.cpp: In member function 'bool
> QFSFileEnginePrivate::openFh(QFlags<QIODevice::OpenModeFlag>, FILE*)':
> ../../corelib/io/qfsfileengine.cpp:309: error: 'QT_FSEEK' was not
> declared in this scope
> ../../corelib/io/qfsfileengine.cpp: In member function 'qint64
> QFSFileEnginePrivate::posFdFh() const':
> ../../corelib/io/qfsfileengine.cpp:531: error: 'QT_FTELL' was not
> declared in this scope
> ../../corelib/io/qfsfileengine.cpp: In member function 'bool
> QFSFileEnginePrivate::seekFdFh(qint64)':
> ../../corelib/io/qfsfileengine.cpp:561: error: 'QT_OFF_T' was not
> declared in this scope
> ../../corelib/io/qfsfileengine.cpp:561: error: 'QT_FSEEK' was not
> declared in this scope
> ../../corelib/io/qfsfileengine.cpp: In member function 'qint64
> QFSFileEnginePrivate::readFdFh(char*, qint64)':
> ../../corelib/io/qfsfileengine.cpp:636: error: 'QT_FTELL' was not
> declared in this scope
> ../../corelib/io/qfsfileengine.cpp:636: error: 'QT_FSEEK' was not
> declared in this scope
> ../../corelib/io/qfsfileengine.cpp: In member function 'qint64
> QFSFileEnginePrivate::readLineFdFh(char*, qint64)':
> ../../corelib/io/qfsfileengine.cpp:707: error: 'QT_OFF_T' was not
> declared in this scope
> ../../corelib/io/qfsfileengine.cpp:707: error: expected `;' before 'oldPos'
> ../../corelib/io/qfsfileengine.cpp:712: error: 'oldPos' was not declared
> in this scope
> ../../corelib/io/qfsfileengine.cpp:712: error: 'QT_FTELL' was not
> declared in this scope
> *** Error code 1
> 
> Stop in
> /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/src/tools/bootstr
> ap. *** Error code 1
> 
> Stop in /usr/ports/devel/qt4-moc.
> *** Error code 1
> 
> Stop in /usr/ports/devel/qt4-corelib.
> 
According to this log, your system uses qmake from qt33 package, not qmake-qt4, 
so your system is polluted. At first, please update your portstree, try to deinstall qt33 
also and reistall qt4 apps again

-- 
Dima "Red Fox" Panov @ Home | C73E 2B72 1FFD 61BD E206 1234 A626 76ED 93E3 B018
Khabarovsk, Russia          | 2D30 2CCB 9984 130C 6F87 BAFC FB8B A09D D539 8F29
KDE at FreeBSD Team | FreeBSD committer since 10.08.2009 | FreeBSD since Sept 1995
Twitter.com:fluffy_khv | Skype:dima.panov | Jabber.org:fluffy.khv | ICQ:1745024
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100105/9c30cc11/attachment.pgp


More information about the freebsd-questions mailing list