LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-17-2020, 10:43 PM   #1
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 542

Rep: Reputation: 54
unable to full compile PyQt5_gpl-5.9.2 on -current


been trying to get PyQt5 5.9.2 compiled and packaged for my system running -current using the build scripts from both SBo and from ponce's fork, but it keeps crapping out with the following

Code:
Generating the C++ source for the QtCore module...
/usr/bin/sip -w -x VendorID -t WS_X11 -t Qt_5_13_2 -x Py_v3 -f -B Qt_6_0_0 -P -o -c /tmp/SBo/PyQt5_gpl-5.9.2/QtCore -I sip -I /tmp/SBo/PyQt5_gpl-5.9.2/sip /tmp/SBo/PyQt5_gpl-5.9.2/sip/QtCore/QtCoremod.sip
sip: Deprecation warning: the -B flag is deprecated
Error: Unable to create the C++ code.
from my understanding, the requirements for PyQt5 seem to only be enum where sip and qt5-webkit is already part of -current. anyone able to get this going on their end and have any advice?
 
Old 03-18-2020, 01:59 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,063

Rep: Reputation: 6825Reputation: 6825Reputation: 6825Reputation: 6825Reputation: 6825Reputation: 6825Reputation: 6825Reputation: 6825Reputation: 6825Reputation: 6825Reputation: 6825
You should not be trying to compile/install this ancient version of PyQt5.
You'll have to recompile sip first, so that it picks up Qt5. Then grab the latest PYQt5 source and build it. Scripts can be found on my 'ktown' repository for KDE Plasma5: https://slackware.nl/alien-kde/source/latest/deps/
 
1 members found this post helpful.
Old 03-18-2020, 02:19 AM   #3
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 5,470

Rep: Reputation: Disabled
FWIW, I don't think you have used the version in the unofficial fork of current too, because I updated it to 5.13.2 more than one month ago...

http://cgit.ponce.cc/slackbuilds/commit/?h=PyQt5
 
1 members found this post helpful.
Old 03-18-2020, 12:04 PM   #4
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 542

Original Poster
Rep: Reputation: 54
thanks all, I was able to get the latest version of PyQt5 installed! I had neglected to check what the latest version was and was simply going by what was given at SBo...

definitely out of scope, however now this looks to have created another issue in that the program I was originally attempting to install (Anki) looks to require the older version due to PyQt5.QtWebEngineWidgets being removed/replaced from my limited understanding of PyQt5.

{~}$ anki
Traceback (most recent call last):
File "/usr/X11R6/bin/anki", line 6, in <module>
import aqt
File "/usr/share/anki/aqt/__init__.py", line 14, in <module>
from aqt.qt import *
File "/usr/share/anki/aqt/qt.py", line 17, in <module>
from PyQt5.QtWebEngineWidgets import *
ModuleNotFoundError: No module named 'PyQt5.QtWebEngineWidgets'

if anyone has any suggestions on this...
 
Old 03-18-2020, 12:32 PM   #5
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 5,470

Rep: Reputation: Disabled
maybe you need just this (that actually depends only on the newer PyQt5 that you should have just installed)

https://slackbuilds.org/repository/1...PyQtWebEngine/

obviously with the fixes needed for current that you should already be able to find in the latest version of the unofficial repository

http://cgit.ponce.cc/slackbuilds/com...-PyQtWebEngine

Last edited by ponce; 03-18-2020 at 12:34 PM.
 
1 members found this post helpful.
Old 03-18-2020, 01:15 PM   #6
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 542

Original Poster
Rep: Reputation: 54
Quote:
Originally Posted by ponce View Post
maybe you need just this (that actually depends only on the newer PyQt5 that you should have just installed)

https://slackbuilds.org/repository/1...PyQtWebEngine/

obviously with the fixes needed for current that you should already be able to find in the latest version of the unofficial repository

http://cgit.ponce.cc/slackbuilds/com...-PyQtWebEngine
this was exactly what I was missing! thank you!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Unable to connect to OpenVPN server on current. Also, unable to build NetworkManager-openvpn The_Dark_Passenger Slackware 2 07-19-2019 05:51 PM
[SOLVED] Unable to compile after upgrade to current (gcc-5.3) drudox Slackware 40 03-18-2016 11:33 AM
General Partitioning Limits: How full is too full to partition? orangesky Linux - Hardware 1 12-05-2009 06:27 PM
RHEL4 root directory says full but sum of use is nowhere near full. Why? SteveInTallyFL Linux - Server 11 02-05-2009 05:45 AM
Which distributions do not support --full-time for ls (ls --full-time)? GCS Linux - Distributions 0 07-28-2004 01:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration