LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 04-09-2016, 10:38 AM   #1
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Error installing QT5 from SBo


Hi,

I'm a new Slackware user. Actually, I'm evaluating 14.1 in a VM right now and really love how it works, so I plan to install it for good once 14.2 comes out. Anyway, I was trying to build QT5 using the SBo script and ran into this error:

Code:
/tmp/SBo/qt-everywhere-opensource-src-5.5.1/qtwebengine/src/3rdparty/chromium/net/third_party/nss
/ssl/ssl3con.c: In function 'ssl3_ChaCha20Poly1305':
/tmp/SBo/qt-everywhere-opensource-src-5.5.1/qtwebengine/src/3rdparty/chromium/net/third_party/nss
/ssl/ssl3con.c:2091:15: error: 'CK_NSS_AEAD_PARAMS' has no member named 'pIv'
     aeadParams.pIv = (unsigned char *) additionalData;
               ^
/tmp/SBo/qt-everywhere-opensource-src-5.5.1/qtwebengine/src/3rdparty/chromium/net/third_party/nss
/ssl/ssl3con.c:2092:15: error: 'CK_NSS_AEAD_PARAMS' has no member named 'ulIvLen'
     aeadParams.ulIvLen = 8;
               ^
I tracked down the issue to the included file /usr/include/nss/pkcs11n.h, which defines CK_NSS_AEAD_PARAMS but doesn't have the members needed in ssl3con.c. This struct is redefined in ssl3con.c, but it is inside a conditional compile block that gets ignored on my system to prevent a redefinition error. I ended up working around the problem by moving it out of the block and renaming it slightly both in the definition and the one place where it's used in ssl3con.c. Here is the diff between the original file and the fixed one:

Code:
46a47
> #endif   
48c49
< typedef struct CK_NSS_AEAD_PARAMS {
---
> typedef struct CK_NSS_AEAD_PARAMS_FIX {
54,56c55
< } CK_NSS_AEAD_PARAMS;
< 
< #endif   
---
> } CK_NSS_AEAD_PARAMS_FIX;
2084c2083
<     CK_NSS_AEAD_PARAMS aeadParams;
---
>     CK_NSS_AEAD_PARAMS_FIX aeadParams;
After the fix, QT5 compiled and installed without issue. My question is, does this constitute a bug that should be reported on SBo? I don't think my system is unusual at all, because I've only installed things using slackpkg and SBo after the initial system installation. So I would think that anyone trying to use the SlackBuild script would run into the same problem, but maybe I did something wrong. I didn't install any of the optional dependencies, unless some of them came in the initial Slackware installation.
 
Old 04-09-2016, 01:01 PM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
hi montagdude, welcome to LQ!

that's an issue that came up with the mozilla-nss update: Larry submitted a patch to SBo's git that fixes it

https://lists.slackbuilds.org/piperm...ch/015859.html

https://slackbuilds.org/cgit/slackbu...06f00ce815de05

as mozilla-nss has also been updated in 14.1 maybe that patch will go also on the dedicated repository in the near future...
 
1 members found this post helpful.
Old 04-09-2016, 01:18 PM   #3
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,220

Rep: Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319
Alien Bob has a prebuilt Qt 5 package. That's an option if you just want to install Qt 5.

http://www.slackware.com/~alien/slackbuilds/qt5/
 
1 members found this post helpful.
Old 04-09-2016, 03:54 PM   #4
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,405
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Error installing QT5 from SBo

He also provides his slackbuilds

;-)
 
1 members found this post helpful.
Old 04-09-2016, 04:54 PM   #5
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Original Poster
Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Quote:
Originally Posted by ponce View Post
hi montagdude, welcome to LQ!

that's an issue that came up with the mozilla-nss update: Larry submitted a patch to SBo's git that fixes it

https://lists.slackbuilds.org/piperm...ch/015859.html

https://slackbuilds.org/cgit/slackbu...06f00ce815de05

as mozilla-nss has also been updated in 14.1 maybe that patch will go also on the dedicated repository in the near future...
Ok, that's good to know. No use reporting it then. (It's also good to know I didn't set up something wrong on my system.)

Quote:
Originally Posted by dugan View Post
Alien Bob has a prebuilt Qt 5 package. That's an option if you just want to install Qt 5.

http://www.slackware.com/~alien/slackbuilds/qt5/
Quote:
Originally Posted by Tonus View Post
He also provides his slackbuilds

;-)
Thanks, guys. I'll keep that in mind next time. I'll mark this solved, then.

Last edited by montagdude; 04-09-2016 at 04:55 PM.
 
Old 05-08-2016, 05:44 AM   #6
dwnthk
Member
 
Registered: May 2016
Location: Hong Kong
Distribution: Slackware 14.1 + Fluxbox
Posts: 68

Rep: Reputation: Disabled
Hi guys,

I am trying to install qt5 using SlackBuilds script, and I come across the same problem.

I am not very technical, so I don't understand how to fix it. Can you tell me how to do?

Thanks.
 
Old 05-08-2016, 05:50 AM   #7
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
have you grab the latest one from master branch?
it has been fixed there
 
Old 05-08-2016, 06:57 AM   #8
dwnthk
Member
 
Registered: May 2016
Location: Hong Kong
Distribution: Slackware 14.1 + Fluxbox
Posts: 68

Rep: Reputation: Disabled
Quote:
Originally Posted by willysr View Post
have you grab the latest one from master branch?
it has been fixed there
I think I do. It is where I downloaded. Is it updated?

https://slackbuilds.org/slackbuilds/14.1/libraries/qt5/

I might have something messed up, I guess. I will try to install again tomorrow.

Thanks.

Last edited by dwnthk; 05-08-2016 at 07:11 AM.
 
Old 05-08-2016, 08:22 AM   #9
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,900

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050
From here:

https://slackbuilds.org/cgit/slackbuilds/tree/libraries/qt5
 
Old 05-08-2016, 10:47 AM   #10
dwnthk
Member
 
Registered: May 2016
Location: Hong Kong
Distribution: Slackware 14.1 + Fluxbox
Posts: 68

Rep: Reputation: Disabled
Quote:
Originally Posted by mralk3 View Post

Thank dude. So mine is not updated? They are both at the same website though. I will try again tomorrow. Thanks.

Last edited by dwnthk; 05-08-2016 at 10:51 AM.
 
Old 05-08-2016, 10:57 AM   #11
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
No, the sbo website still based on 14.1 branch which is no longer frequently updated like before as we are preparing for 14.2.

Development goes to master branch only, so you will need to switch to git in order to get the latest version of the scripts
 
  


Reply



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
QT5 won't build, don't understand error message Ook Slackware 2 10-26-2015 02:21 PM
Error while installing webkitgtk from SBO l0rddarkf0rce Slackware 3 06-09-2015 02:42 PM
[SOLVED] SBo + sbopkg, qt5 build parallel a4z Slackware 3 10-12-2014 11:54 AM
[SOLVED] Installing Qt5 StevenXL Slackware 14 01-26-2014 10:38 AM

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

All times are GMT -5. The time now is 04:33 AM.

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
Open Source Consulting | Domain Registration