Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Errors installing QT - moved to Portage & Programming
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
cmulcahy
n00b
n00b


Joined: 03 Aug 2004
Posts: 64
Location: Minneapolis, MN

PostPosted: Fri Oct 21, 2005 4:39 pm    Post subject: Errors installing QT - moved to Portage & Programming Reply with quote

OK, I mentioned in my other post that I was having problems installing certain apps. Here is the error I'm getting installing QT.


Code:

--> MAJOR SNIPPAGE <--
cd designer && make -f Makefile
make[2]: Entering directory `/var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/tools/designer'
cd uic && make -f Makefile
make[3]: Entering directory `/var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/tools/designer/uic'
/var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/bin/qmake  -spec /var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/mkspecs/linux-g++ -o /var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/./tools/designer/uic /var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/tools/designer/uic/uic.pro
cd /var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/./tools/designer/uic
make Makefile
make[4]: Entering directory `/var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/tools/designer/uic'
make[4]: `Makefile' is up to date.
make[4]: Leaving directory `/var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/tools/designer/uic'
make[3]: Leaving directory `/var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/tools/designer/uic'
make[3]: Entering directory `/var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/tools/designer/uic'
g++ -c -pipe -I/usr/include/mysql -I/usr/include/postgresql/server -I/usr/include/postgresql/pgsql -I/usr/include/postgresql/pgsql/server -fno-exceptions -Wall -W -O2 -mcpu=i686 -D_REENTRANT  -DQT_INTERNAL_XML -DUIC -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../shared -I../../../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/main.o main.cpp
In file included from uic.h:31,
                 from main.cpp:27:
../../../include/qstringlist.h:44:22: qstrlist.h: No such file or directory
In file included from uic.h:31,
                 from main.cpp:27:
../../../include/qstringlist.h:69: error: syntax error before `&' token
In file included from main.cpp:27:
uic.h:32:18: qmap.h: No such file or directory
uic.h:34:22: qpalette.h: No such file or directory
uic.h:35:22: qvariant.h: No such file or directory
In file included from main.cpp:27:
uic.h:38: error: syntax error before `{' token
uic.h:72: error: syntax error before `&' token
uic.h:93: error: syntax error before `private'
uic.h:96: error: `out' declared as reference but not initialized
uic.h:97: error: no matching function for call to `QTextOStream::QTextOStream()
   '
../../../include/qtextstream.h:225: error: candidates are:
   QTextOStream::QTextOStream(const QTextOStream&)
../../../include/qtextstream.h:220: error:
   QTextOStream::QTextOStream(FILE*)
../../../include/qtextstream.h:218: error:
   QTextOStream::QTextOStream(QMemArray<char>)
../../../include/qtextstream.h:216: error:
   QTextOStream::QTextOStream(QString*)
uic.h:101: error: 'QMap' is used as a type, but is not defined as a type.
uic.h:129: error: non-member function `bool isLayout(const QString&)' cannot
   have `const' method qualifier
uic.h:131: error: syntax error before `:' token
uic.h:132: error: syntax error before `:' token
uic.h:133: error: syntax error before `:' token
uic.h:134: error: syntax error before `:' token
uic.h:135: error: syntax error before `:' token
uic.h:153: error: 'QMap' is used as a type, but is not defined as a type.
uic.h:154: error: 'QMap' is used as a type, but is not defined as a type.
uic.h:164: error: syntax error before `,' token
uic.h:167: error: syntax error before `}' token
main.cpp:28:21: domtool.h: No such file or directory
main.cpp:32:26: qapplication.h: No such file or directory
main.cpp:33:19: qfile.h: No such file or directory
main.cpp:35:23: qdatetime.h: No such file or directory
main.cpp:36:23: qsettings.h: No such file or directory
main.cpp:38:24: globaldefs.h: No such file or directory
main.cpp: In function `int main(int, char**)':
main.cpp:67: error: `QApplication' undeclared (first use this function)
main.cpp:67: error: (Each undeclared identifier is reported only once for each
   function it appears in.)
main.cpp:67: error: syntax error before `(' token
main.cpp:71: error: `QSettings' undeclared (first use this function)
main.cpp:71: error: syntax error before `;' token
main.cpp:72: error: `config' undeclared (first use this function)
main.cpp:72: error: syntax error before `::' token
main.cpp:75: error: syntax error before `::' token
main.cpp:159: error: `QFile' undeclared (first use this function)
main.cpp:159: error: syntax error before `::' token
main.cpp:161: error: syntax error before `::' token
main.cpp:237: error: syntax error before `(' token
main.cpp:238: error: `ifile' undeclared (first use this function)
main.cpp:257: error: syntax error before `;' token
main.cpp:259: error: `fileOut' undeclared (first use this function)
main.cpp:271: error: incomplete type 'Uic' cannot be used to name a scope
main.cpp:277: error: syntax error before `(' token
main.cpp:278: error: `file' undeclared (first use this function)
main.cpp:298: error: `DomTool' undeclared (first use this function)
main.cpp:298: error: syntax error before `::' token
main.cpp:316: error: `QDateTime' undeclared (first use this function)
main.cpp:316: error: syntax error before `::' token
main.cpp:340: error: invalid use of undefined type `class Uic'
uic.h:37: error: forward declaration of `class Uic'
../../../include/qstringlist.h: At top level:
uic.h:91: warning: `void embed(QTextStream&, const char*, const QStringList&)'
   declared `static' but never defined
uic.h:156: warning: `bool isMainWindow' defined but not used
uic.h:157: warning: `QString mkBool(bool)' declared `static' but never defined
uic.h:158: warning: `QString mkBool(const QString&)' declared `static' but
   never defined
uic.h:160: warning: `QString fixString(const QString&, bool)' declared `static'
   but never defined
uic.h:161: warning: `bool onlyAscii' defined but not used
uic.h:162: warning: `QString mkStdSet(const QString&)' declared `static' but
   never defined
uic.h:163: warning: `QString getComment(const QDomNode&)' declared `static' but
   never defined
make[3]: *** [.obj/release-shared-mt/main.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/tools/designer/uic'
make[2]: *** [sub-uic] Error 2
make[2]: Leaving directory `/var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/tools/designer'
make[1]: *** [sub-designer] Error 2
make[1]: Leaving directory `/var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/tools'
make: *** [sub-tools] Error 2

!!! ERROR: x11-libs/qt-3.3.4-r8 failed.
!!! Function src_compile, Line 178, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.



Here's the output from emerge --info:
Code:

gentoodesktop chris # emerge --info
Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.13-gentoo-r3 i686)
=================================================================
System uname: 2.6.13-gentoo-r3 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts cdr crypt cups dvd eds emboss encode esd foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 java jpeg kde libg++ libwww mad mikmod motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pdflib perl png postgres postgresql ppds python qt quicktime readline samba scanner sdl server spell ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY



Thanks in advance!
_________________
Having a non-smoking section in a restaraunt is as effective as having a non-peeing section in a pool.
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Fri Oct 21, 2005 7:38 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Duplicate Threads.
use this one: https://forums.gentoo.org/viewtopic-t-393942.html

And next time just ask us to move a thread ok. No need to create three threads.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum