Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] X and QT3 arent getting along
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
kerbie
n00b
n00b


Joined: 09 Jun 2008
Posts: 3
Location: Virginia Beach, Va

PostPosted: Thu Nov 20, 2008 5:03 pm    Post subject: [solved] X and QT3 arent getting along Reply with quote

Have a MythTV Frontend/Backend running media-tv/mythtv-0.21_p18314-r1 been working fine for quite a while. Trying to add another Frontend hooked up to another TV in the house but running into some compile errors when trying to emerge MythTV. Installed Gentoo on the system, updated, installed X, ALSA, MySQL, QT3 w/ MySQL/OpenGL support, etc. Add the ~x86 keyword for mythtv and themes-mythtv because I've run into compatibility errors in the past with other Frontends not matching the Backend version. Emerge MythTV and it compiles for a while and then fails. I googled around with the errors and found a few people with similar errors, including some bug reports, but of the two fixes mentioned (updating inputproto to the latest release and adding -DQT_CLEAN_NAMESPACE to the QT3 ebuild and recompiling) neither worked. Trying to get this box up by next weekend for all the family coming in for the holiday, anything to keep them out of my hair :lol: . Any input would be greatly appreciated. Thanks guys and girls. Posting info below, let me know if you want to see anything else.

The last bit of output right before it fails.
Code:

g++ -c -pipe -march=i686 -fomit-frame-pointer -O3 -DNDEBUG -g -Wall -Wno-switch
-Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -D__STDC_CONSTANT_MACROS
 -I/usr/include/freetype2 -D_REENTRANT -DPIC -fPIC  -DMMX -Di386 -D_GNU_SOURCE -
D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUSING_OSS -DUSING_H264TOOLS -DUSING_
X11 -DUSING_XV -DUSING_XVMC -DUSING_XVMCW -DUSING_OPENGL -DUSING_OPENGL_VSYNC -D
USING_GLX_PROC_ADDR_ARB -DUSING_FRONTEND -DUSING_FFMPEG_THREADS -DUSING_V4L -DUS
ING_DBOX2 -DUSING_IPTV -DUSING_HDHOMERUN -DUSING_IVTV -DUSING_DVB -DUSING_BACKEN
D -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -I/usr/qt/3/
mkspecs/linux-g++ -I/var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/work/mythtv-
0.21/libs/libmythtv -I/usr/include -I/usr/include -I/usr/X11R6/include -I../.. -
I.. -I. -I../libmyth -I../libavcodec -I../libavutil -I../libmythmpeg2 -Idvbdev -
Impeg -Iiptv -I../libmythlivemedia/BasicUsageEnvironment/include -I../libmythliv
emedia/groupsock/include -I../libmythlivemedia/liveMedia/include -I../libmythliv
emedia/UsageEnvironment/include -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/
X11R6/include -o vsync.o vsync.cpp
/usr/include/X11/Xmd.h:137: error: conflicting declaration 'typedef long int INT
32'
/usr/qt/3/include/qglobal.h:706: error: 'INT32' has a previous declaration as 't
ypedef int INT32'
util-opengl.h:132: error: '__GLXextFuncPtr' does not name a type
util-opengl.h:169: error: 'PFNGLXGETVIDEOSYNCSGIPROC' does not name a type
util-opengl.h:170: error: 'PFNGLXWAITVIDEOSYNCSGIPROC' does not name a type
vsync.cpp: In member function 'virtual bool OpenGLVideoSync::TryInit()':
vsync.cpp:566: error: 'gMythGLXGetVideoSyncSGI' was not declared in this scope
vsync.cpp: In member function 'virtual void OpenGLVideoSync::Start()'
vsync.cpp:647: error: 'gMythGLXGetVideoSyncSGI' was not declared in this scope
vsync.cpp:649: error: 'gMythGLXWaitVideoSyncSGI' was not declared in this scope
vsync.cpp: In member function 'virtual void OpenGLVideoSync::WaitForFrame(int)':
vsync.cpp:674: error: 'gMythGLXGetVideoSyncSGI' was not declared in this scope
vsync.cpp:680: error: 'gMythGLXWaitVideoSyncSGI' was not declared in this scope
vsync.cpp:689: error: 'gMythGLXWaitVideoSyncSGI' was not declared in this scope
make[2]: *** [vsync.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/work
/mythtv-0.21/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/work
/mythtv-0.21/libs'
make: *** [sub-libs] Error 2
 *
 * ERROR: media-tv/mythtv-0.21_p18314-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3404:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed";
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if rele
vant.
 * A complete build log is located at '/var/tmp/portage/media-tv/mythtv-0.21_p18
314-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-tv/mythtv-0
.21_p18314-r1/temp/environment'.
 *


Output from emerge --info
Code:

Portage 2.1.4.5 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r9 i686)
=================================================================
System uname: 2.6.25-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Timestamp of tree: Thu, 20 Nov 2008 14:15:02 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://mirrors.cs.wmich.edu/gentoo ftp://gentoo.cites.uiuc.edu/pub/gentoo/ "
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl alsa automount bindist bzip2 caps cdb cddb cdr cli cracklib crypt cups curl dbus dri dts dvb dvd encode ffmpeg firefox fortran gdbm gif gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog java javascript joystick jpeg lm_sensors mad mailwrapper midi mikmod mmx mp3 mpeg mudflap mysql ncurses nls nptl nptlonly nsplugin ntponly nxclient ogg opengl openmp pam pcre perl png pppd python qt3 quicktime readline reflection session spell spl ssl startup-notification sysfs tcpd threads transcode truetype type1 unicode usb v4l vcd vorbis wifi win32codecs x86 xcomposite xine xml xorg xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Current version of inputproto
Code:

showtime ~ # emerge -pv inputproto

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-proto/inputproto-1.4.4  0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 k


Current version of qt
Code:
showtime ~ # emerge -pv qt       

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-libs/qt-3.3.8-r4  USE="cups gif ipv6 mysql opengl -debug -doc -examples -firebird -immqt -immqt-bc -nas -nis -odbc -postgres -sqlite -xinerama" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB


Complete Build Log

Thanks for looking. Let me know if you need anything else.


Last edited by kerbie on Mon Nov 24, 2008 6:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
kerbie
n00b
n00b


Joined: 09 Jun 2008
Posts: 3
Location: Virginia Beach, Va

PostPosted: Fri Nov 21, 2008 5:05 pm    Post subject: Reply with quote

bumpage.
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Fri Nov 21, 2008 5:08 pm    Post subject: Reply with quote

Does it help if you switch eselect opengl to nvidia or xorg-x11?
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
kerbie
n00b
n00b


Joined: 09 Jun 2008
Posts: 3
Location: Virginia Beach, Va

PostPosted: Mon Nov 24, 2008 6:53 pm    Post subject: Reply with quote

Thank you sir. Was using opengl, when I switched it to xorg-X11 the compilation was successful. Switched back to opengl afterwards and now mythtv is running. Thank you again.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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