Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

qt-3.3.3 emerge fails

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
Gwyd10n
n00b
n00b
User avatar
Posts: 41
Joined: Mon Jun 09, 2003 3:22 pm
Location: Long Beach

qt-3.3.3 emerge fails

  • Quote

Post by Gwyd10n » Wed Feb 09, 2005 7:00 pm

I've got a farily fresh install of gentoo. I am trying to emerge gnome and the problem is it is failing on the QT-3.3.3 emerge.
Here is the error
_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -DQT
_NO_STYLE_POCKETPC -I/var/tmp/portage/qt-3.3.3/work/qt-x11-free-3.3.3/mkspecs/li
nux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11
R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qsvgdevice.o xml/
qsvgdevice.cpp
g++ -c -pipe -fno-exceptions -Wall -W -march=pentium4 -O2 -pipe -D_REENTRANT -fP
IC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD
_SUPPORT -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_NO_XINER
AMA -DQT_DLOPEN_OPENGL -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE
_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -DQT
_NO_STYLE_POCKETPC -I/var/tmp/portage/qt-3.3.3/work/qt-x11-free-3.3.3/mkspecs/li
nux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11
R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qgl.o opengl/qgl.
cpp
g++ -c -pipe -fno-exceptions -Wall -W -march=pentium4 -O2 -pipe -D_REENTRANT -fP
IC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD
_SUPPORT -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_NO_XINER
AMA -DQT_DLOPEN_OPENGL -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE
_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -DQT
_NO_STYLE_POCKETPC -I/var/tmp/portage/qt-3.3.3/work/qt-x11-free-3.3.3/mkspecs/li
nux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11
R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qglcolormap.o ope
ngl/qglcolormap.cpp
In file included from /usr/X11R6/include/GL/glx.h:117,
from opengl/qgl.cpp:52:
/usr/X11R6/include/GL/glxext.h:355:2: invalid preprocessing directive #warn
make[1]: *** [.obj/release-shared-mt/qgl.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/qt-3.3.3/work/qt-x11-free-3.3.3/src
'
make: *** [sub-src] Error 2

!!! ERROR: x11-libs/qt-3.3.3 failed.
!!! Function src_compile, Line 125, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Emerge info
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.16
Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 7 2005, 19:04:27)]
dev-lang/python: 2.3.4-r1
sys-devel/autoconf: 2.59-r6, 2.13
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils: 2.15.92.0.2-r1
sys-devel/libtool: 1.5.10-r4
virtual/os-headers: 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe"
CHOST="i686-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="-march=pentium4 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/dis ... ons/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 16bit S3TC X X509 aac acl acpi activefilter aim amd ansi apache2 apm arts artworkextra audiofile authdaemond avantg
o avi bash-completion bcmath bdf berkdb bidi bitmap-fonts blender-game bluetooth bzip2 bzlib cap cddb cdinstall cdparanoia c
drom cgi chroot cjk clanJavaScript clanVoice client code crypt cups encode esd f77 fam font-server foomaticdb fortran gdbm g
if gnome gpm gtk gtk2 imap imlib ipv6 jpeg jython kadu-modules kadu-voice kakasi kde kerberos krb4 latex lcms ldap leim libc
lamav libdsk libg++ libgd libgda libsamplerate libwww live lua lufsusermount lzo lzw lzw-tiff m17n-lib mad maildir matroska
mbox mcal mdb memlimit migemo mikmod mime mixer mjpeg mls mmap mng monkey motif mozcalendar mozdevelop mozp3p mozsvg mozxmlt
erm mp3 mpeg mpeg4 mpi mplayer msn mule music mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh native ncurses net netcdf
network neural nis nls nowin nptl ntlm nviz oav objc ocaml offensive ofx oggvorbis openal opengl opie oscar ospfapi oss pam
parse-clocks pcap pcntl pcre pdf pdflib perl pg-hier pg-intdatetime pg-vacuumdelay php physfs pic plotutils png portaudio po
six postgresql povray ppds pri print procmail pthreads python qt quicktime quotas quotes readline real resperl rhino rogue r
play sasl sdl servlet-2.3 servlet-2.4 session sftplogging shared sharedmem silc simplexml skk slp smime sndfile snortsam soc
kets socks5 softquota sox spell spl ssl stencil-buffer stroke struts svg svga sysvipc szip t1lib tcpd tcsim tga theora tidy
tiff transcode truetype truetype-fonts type1-fonts uim underscores unicode usb v4l v4l2 vcd vda videos virus-scan wddx winbi
nd wmf wxwindows xanim xatrix xchatdccserver xchattext xemacs xface xgetdefault xine xml2 xmlrpc xmms xosd xpm xprint xrandr
xscreensaver xsl xv xvid xvmc yahoo yaz yp yv12 zaptel zeo zlib zvbi"
Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Any suggestions?
---------------------
AMD 64 +3200
512 MB PC3200
MSI K8TNEO-FIS2R
Geforce FX 5200 128MB
Top
undrwater
Guru
Guru
User avatar
Posts: 319
Joined: Tue Jan 28, 2003 2:25 am
Location: Caucasia

  • Quote

Post by undrwater » Wed Feb 09, 2005 7:09 pm

In file included from /usr/X11R6/include/GL/glx.h:117,
from opengl/qgl.cpp:52:
/usr/X11R6/include/GL/glxext.h:355:2: invalid preprocessing directive #warn
make[1]: *** [.obj/release-shared-mt/qgl.o] Error 1
It looks like you may not have your glx implemented correctly. Are you using nvidia? You might try:

Code: Select all

opengl-update nvidia
and re-emerge. Otherwise check to see that your video drivers are installed correctly.
Open-mindedness is painful...
Top
froke
Apprentice
Apprentice
User avatar
Posts: 174
Joined: Tue Dec 16, 2003 9:37 pm
Location: Westside USA

  • Quote

Post by froke » Wed Feb 09, 2005 9:22 pm

I'm having the exact same problem on a fresh install with an ATi 9800. I think it has something to do with opengl-update not working correctly. I'm going to try some older versions of opengl-update and see if it fixes itself.


[my thread http://forums.gentoo.org/viewtopic.php?t=292879]


UPDATE: I have tried both opengl-update-2.0_pre5 and opengl-update-2.1.0-r1 and I am still having the same problem
Last edited by froke on Wed Feb 09, 2005 9:41 pm, edited 1 time in total.
Top notch image hosting. Great for screen shots! http://www.imagelink.org
Top
Gwyd10n
n00b
n00b
User avatar
Posts: 41
Joined: Mon Jun 09, 2003 3:22 pm
Location: Long Beach

  • Quote

Post by Gwyd10n » Wed Feb 09, 2005 9:24 pm

undrwater wrote:
In file included from /usr/X11R6/include/GL/glx.h:117,
from opengl/qgl.cpp:52:

/usr/X11R6/include/GL/glxext.h:355:2: invalid preprocessing directive #warn
make[1]: *** [.obj/release-shared-mt/qgl.o] Error 1
It looks like you may not have your glx implemented correctly. Are you using nvidia? You might try:

Code: Select all

opengl-update nvidia
and re-emerge. Otherwise check to see that your video drivers are installed correctly.
Ok that was the issue... I emerged nvidia-kernel and nvidia-glx then did an opengl-update nvidia
QT emerged fine at that point...

Thanks for the pointer
---------------------
AMD 64 +3200
512 MB PC3200
MSI K8TNEO-FIS2R
Geforce FX 5200 128MB
Top
Gwyd10n
n00b
n00b
User avatar
Posts: 41
Joined: Mon Jun 09, 2003 3:22 pm
Location: Long Beach

  • Quote

Post by Gwyd10n » Wed Feb 09, 2005 9:24 pm

froke wrote:I'm having the exact same problem on a fresh install with an ATi 9800. I think it has something to do with opengl-update not working correctly. I'm going to try some older versions of opengl-update and see if it fixes itself.

[my thread http://forums.gentoo.org/viewtopic.php?t=292879]
I think reinstalling the drivers is the way to go...
That is what worked for me
---------------------
AMD 64 +3200
512 MB PC3200
MSI K8TNEO-FIS2R
Geforce FX 5200 128MB
Top
froke
Apprentice
Apprentice
User avatar
Posts: 174
Joined: Tue Dec 16, 2003 9:37 pm
Location: Westside USA

  • Quote

Post by froke » Wed Feb 09, 2005 10:06 pm

I was able to successfully compile qt-3.3.3 by editing /usr/sbin/opengl-update according to this bug report:

http://bugs.gentoo.org/show_bug.cgi?id=79774
Top notch image hosting. Great for screen shots! http://www.imagelink.org
Top
Post Reply

6 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic