View previous topic :: View next topic |
Author |
Message |
FcukThisGame l33t
Joined: 20 Apr 2005 Posts: 776 Location: /lost+found
|
Posted: Sat Nov 10, 2007 7:43 am Post subject: PyQt fails trying to install amarok |
|
|
I'm currently trying to install amarok. PyQt fails as so:
Code: | >>> Unpacking source...
>>> Unpacking PyQt-x11-gpl-3.17.tar.gz to /var/tmp/portage/dev-python/PyQt-3.17/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-python/PyQt-3.17/work/PyQt-x11-gpl-3.17 ...
QScintilla 1.7.1 is being used.
Checking to see if the qtcanvas module should be built...
Checking to see if the qtnetwork module should be built...
Checking to see if the qttable module should be built...
Checking to see if the qtxml module should be built...
Checking to see if the qtgl module should be built...
Checking to see if the qtui module should be built...
Checking to see if the qtsql module should be built...
Checking to see if the qtext module should be built...
Checking to see if the QAssistantClient class is available...
Creating features file...
Checking to see if the QCDEStyle class is built in...
Checking to see if the QInterlaceStyle class is built in...
cfgtest.cpp: In function 'int main(int, char**)':
cfgtest.cpp:5: error: expected type-specifier before 'QInterlaceStyle'
cfgtest.cpp:5: error: expected `;' before 'QInterlaceStyle'
Checking to see if the QMotifStyle class is built in...
Checking to see if the QMotifPlusStyle class is built in...
Checking to see if the QPlatinumStyle class is built in...
Checking to see if the QSGIStyle class is built in...
Checking to see if the QWindowsXPStyle class is built in...
cfgtest.cpp:1:29: error: qwindowsxpstyle.h: No such file or directory
cfgtest.cpp: In function 'int main(int, char**)':
cfgtest.cpp:5: error: expected type-specifier before 'QWindowsXPStyle'
cfgtest.cpp:5: error: expected `;' before 'QWindowsXPStyle'
Checking to see if the QWindowsStyle class is built in...
Qt v3.3.8 free edition is being used.
SIP 4.7.1 is being used.
These PyQt modules will be built: qt qtcanvas qtnetwork qttable qtxml qtgl qtui
qtsql qtext.
Support for these Qt classes has been disabled: QInterlaceStyle
QWindowsXPStyle.
The PyQt modules will be installed in /usr/lib/python2.4/site-packages.
The PyQt .sip files will be installed in /usr/share/sip.
The Qt header files are in /usr/qt/3/include.
The qt-mt Qt library is in /usr/qt/3/lib.
pyuic will be installed in /usr/bin.
pylupdate will be installed in /usr/bin.
Generating the C++ source for the qt module...
Creating the Makefile for the qt module...
Generating the C++ source for the qtext module...
Creating the Makefile for the qtext module...
Generating the C++ source for the qtgl module...
Creating the Makefile for the qtgl module...
Generating the C++ source for the qtui module...
Creating the Makefile for the qtui module...
Generating the C++ source for the qtcanvas module...
Creating the Makefile for the qtcanvas module...
Generating the C++ source for the qtnetwork module...
Creating the Makefile for the qtnetwork module...
Generating the C++ source for the qtsql module...
Creating the Makefile for the qtsql module...
Generating the C++ source for the qttable module...
Creating the Makefile for the qttable module...
Generating the C++ source for the qtxml module...
Creating the Makefile for the qtxml module...
Creating top level Makefile...
Creating pyuic Makefile...
Creating pylupdate Makefile...
Creating pyqtconfig.py...
make[1]: Entering directory `/var/tmp/portage/dev-python/PyQt-3.17/work/PyQt-x11-gpl-3.17/qt'
i486-pc-linux-gnu-g++ -c -pipe -fPIC -march=pentium3m -O2 -pipe -fno-strict-aliasing -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtcmodule.o sipqtcmodule.cpp
i486-pc-linux-gnu-g++ -c -pipe -fPIC -march=pentium3m -O2 -pipe -fno-strict-aliasing -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtQPtrList.o sipqtQPtrList.cpp
sip/qt/qdir.sip:47:28: error: sipqtQFileInfo.h: No such file or directory
i486-pc-linux-gnu-g++ -c -pipe -fPIC -march=pentium3m -O2 -pipe -fno-strict-aliasing -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtQWorkspace.o sipqtQWorkspace.cpp
sipqtcmodule.cpp:13422: error: 'sipQtFindConnection' was not declared in this scope
make[1]: *** [sipqtcmodule.o] Error 1
make[1]: *** Waiting for unfinished jobs....
sip/qt/qwidgetlist.sip:38:26: error: sipqtQWidget.h: No such file or directory
sip/qt/qobjectlist.sip:38:26: error: sipqtQObject.h: No such file or directory
make[1]: *** [sipqtQWorkspace.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-python/PyQt-3.17/work/PyQt-x11-gpl-3.17/qt'
make: *** [all] Error 2
*
* ERROR: dev-python/PyQt-3.17 failed.
* Call stack:
* ebuild.sh, line 1695: Called dyn_compile
* ebuild.sh, line 1033: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* PyQt-3.17.ebuild, line 45: 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 relevant.
* A complete build log is located at '/var/tmp/portage/dev-python/PyQt-3.17/temp/build.log'.
|
emerge --info: Code: | Portage 2.1.3.16 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r9 i686)
=================================================================
System uname: 2.6.22-gentoo-r9 i686 Mobile Intel(R) Pentium(R) III CPU - M 800MHz
Timestamp of tree: Wed, 07 Nov 2007 22:31:01 +0000
app-shells/bash: 3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-march=pentium3m -O2 -pipe"
CHOST="i486-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=pentium3m -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="PyQt X acl alsa berkdb bitmap-fonts cli cracklib crypt cups dbus dri elotouch firefox fortran gdbm gpm hal iconv ipv6 isdnlog java kde madwifi microtouch midi mudflap ncurses nls nptl nptlonly opengl openmp oss pam pcre perl pppd python qt readline reflection session sound spl ssl tcpd truetype-fonts type1-fonts unicode x86 xorg 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="radeon ati mach64 vesa"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY |
Any other output needed? Thanks in advance. _________________ Sysadmin by trade, geek by choice
DESKTOP:
i7-3770K|8800GTS-512|32GB|1x256GB SSD|4x1TB|HD/BDROM|1920x1200+1680x1050
Win8 Pro w/ Hyper-V|Server 2012 VM|Ubuntu VM|Gentoo VM
TABLET: Samsung Ativ 700t
i5-3317U|4GB|128GB SSD|1920x1080 Touch
Win8 |
|
Back to top |
|
|
muhsinzubeir l33t
Joined: 29 Sep 2007 Posts: 948 Location: /home/muhsin
|
Posted: Sun Nov 11, 2007 1:26 pm Post subject: hey |
|
|
facing the same problem here... |
|
Back to top |
|
|
muhsinzubeir l33t
Joined: 29 Sep 2007 Posts: 948 Location: /home/muhsin
|
Posted: Sun Nov 11, 2007 2:04 pm Post subject: Re: PyQt fails trying to install amarok |
|
|
FcukThisGame wrote: | I'm currently trying to install amarok. PyQt fails as so:
Code: | >>> Unpacking source...
>>> Unpacking PyQt-x11-gpl-3.17.tar.gz to /var/tmp/portage/dev-python/PyQt-3.17/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-python/PyQt-3.17/work/PyQt-x11-gpl-3.17 ...
QScintilla 1.7.1 is being used.
Checking to see if the qtcanvas module should be built...
Checking to see if the qtnetwork module should be built...
Checking to see if the qttable module should be built...
Checking to see if the qtxml module should be built...
Checking to see if the qtgl module should be built...
Checking to see if the qtui module should be built...
Checking to see if the qtsql module should be built...
Checking to see if the qtext module should be built...
Checking to see if the QAssistantClient class is available...
Creating features file...
Checking to see if the QCDEStyle class is built in...
Checking to see if the QInterlaceStyle class is built in...
cfgtest.cpp: In function 'int main(int, char**)':
cfgtest.cpp:5: error: expected type-specifier before 'QInterlaceStyle'
cfgtest.cpp:5: error: expected `;' before 'QInterlaceStyle'
Checking to see if the QMotifStyle class is built in...
Checking to see if the QMotifPlusStyle class is built in...
Checking to see if the QPlatinumStyle class is built in...
Checking to see if the QSGIStyle class is built in...
Checking to see if the QWindowsXPStyle class is built in...
cfgtest.cpp:1:29: error: qwindowsxpstyle.h: No such file or directory
cfgtest.cpp: In function 'int main(int, char**)':
cfgtest.cpp:5: error: expected type-specifier before 'QWindowsXPStyle'
cfgtest.cpp:5: error: expected `;' before 'QWindowsXPStyle'
Checking to see if the QWindowsStyle class is built in...
Qt v3.3.8 free edition is being used.
SIP 4.7.1 is being used.
These PyQt modules will be built: qt qtcanvas qtnetwork qttable qtxml qtgl qtui
qtsql qtext.
Support for these Qt classes has been disabled: QInterlaceStyle
QWindowsXPStyle.
The PyQt modules will be installed in /usr/lib/python2.4/site-packages.
The PyQt .sip files will be installed in /usr/share/sip.
The Qt header files are in /usr/qt/3/include.
The qt-mt Qt library is in /usr/qt/3/lib.
pyuic will be installed in /usr/bin.
pylupdate will be installed in /usr/bin.
Generating the C++ source for the qt module...
Creating the Makefile for the qt module...
Generating the C++ source for the qtext module...
Creating the Makefile for the qtext module...
Generating the C++ source for the qtgl module...
Creating the Makefile for the qtgl module...
Generating the C++ source for the qtui module...
Creating the Makefile for the qtui module...
Generating the C++ source for the qtcanvas module...
Creating the Makefile for the qtcanvas module...
Generating the C++ source for the qtnetwork module...
Creating the Makefile for the qtnetwork module...
Generating the C++ source for the qtsql module...
Creating the Makefile for the qtsql module...
Generating the C++ source for the qttable module...
Creating the Makefile for the qttable module...
Generating the C++ source for the qtxml module...
Creating the Makefile for the qtxml module...
Creating top level Makefile...
Creating pyuic Makefile...
Creating pylupdate Makefile...
Creating pyqtconfig.py...
make[1]: Entering directory `/var/tmp/portage/dev-python/PyQt-3.17/work/PyQt-x11-gpl-3.17/qt'
i486-pc-linux-gnu-g++ -c -pipe -fPIC -march=pentium3m -O2 -pipe -fno-strict-aliasing -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtcmodule.o sipqtcmodule.cpp
i486-pc-linux-gnu-g++ -c -pipe -fPIC -march=pentium3m -O2 -pipe -fno-strict-aliasing -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtQPtrList.o sipqtQPtrList.cpp
sip/qt/qdir.sip:47:28: error: sipqtQFileInfo.h: No such file or directory
i486-pc-linux-gnu-g++ -c -pipe -fPIC -march=pentium3m -O2 -pipe -fno-strict-aliasing -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o sipqtQWorkspace.o sipqtQWorkspace.cpp
sipqtcmodule.cpp:13422: error: 'sipQtFindConnection' was not declared in this scope
make[1]: *** [sipqtcmodule.o] Error 1
make[1]: *** Waiting for unfinished jobs....
sip/qt/qwidgetlist.sip:38:26: error: sipqtQWidget.h: No such file or directory
sip/qt/qobjectlist.sip:38:26: error: sipqtQObject.h: No such file or directory
make[1]: *** [sipqtQWorkspace.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-python/PyQt-3.17/work/PyQt-x11-gpl-3.17/qt'
make: *** [all] Error 2
*
* ERROR: dev-python/PyQt-3.17 failed.
* Call stack:
* ebuild.sh, line 1695: Called dyn_compile
* ebuild.sh, line 1033: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* PyQt-3.17.ebuild, line 45: 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 relevant.
* A complete build log is located at '/var/tmp/portage/dev-python/PyQt-3.17/temp/build.log'.
|
emerge --info: Code: | Portage 2.1.3.16 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r9 i686)
=================================================================
System uname: 2.6.22-gentoo-r9 i686 Mobile Intel(R) Pentium(R) III CPU - M 800MHz
Timestamp of tree: Wed, 07 Nov 2007 22:31:01 +0000
app-shells/bash: 3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-march=pentium3m -O2 -pipe"
CHOST="i486-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=pentium3m -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="PyQt X acl alsa berkdb bitmap-fonts cli cracklib crypt cups dbus dri elotouch firefox fortran gdbm gpm hal iconv ipv6 isdnlog java kde madwifi microtouch midi mudflap ncurses nls nptl nptlonly opengl openmp oss pam pcre perl pppd python qt readline reflection session sound spl ssl tcpd truetype-fonts type1-fonts unicode x86 xorg 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="radeon ati mach64 vesa"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY |
Any other output needed? Thanks in advance. |
hey...i was trying to get amarok and it fails as its trying to pull python support.My mambo jambo tech is to just get rid of that feature as I dont want it anyway.So just removing python solves the problem...got amarok now life goes on...
File: /etc/portage/package.use
Code: | #amarok
media-sound/amarok -python
|
|
|
Back to top |
|
|
entox n00b
Joined: 19 Jun 2005 Posts: 36
|
|
Back to top |
|
|
FcukThisGame l33t
Joined: 20 Apr 2005 Posts: 776 Location: /lost+found
|
Posted: Sun Nov 11, 2007 3:45 pm Post subject: |
|
|
I actually just added it to package.keywords and installed x.y.3 instead of just x.y. seems to be working just fine. _________________ Sysadmin by trade, geek by choice
DESKTOP:
i7-3770K|8800GTS-512|32GB|1x256GB SSD|4x1TB|HD/BDROM|1920x1200+1680x1050
Win8 Pro w/ Hyper-V|Server 2012 VM|Ubuntu VM|Gentoo VM
TABLET: Samsung Ativ 700t
i5-3317U|4GB|128GB SSD|1920x1080 Touch
Win8 |
|
Back to top |
|
|
|
|
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
|
|