LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-24-2014, 09:27 PM   #1
StevenXL
Member
 
Registered: Jan 2014
Posts: 76

Rep: Reputation: Disabled
Installing Qt5


Hi Everyone.

I am trying to install Qt5, but I get the following error when I run "make ./qt5.SlackBuild":

/qt5.SlackBuild: line 102: /home/steven/tmp/qtreinstall/patches/qt5.mysql.h.diff: No such file or directory

I made sure to make the SlackBuild file executable, and I am have all the files in the same directory.

Can someone help me out?

Thanks!
 
Old 01-24-2014, 10:32 PM   #2
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 755

Rep: Reputation: 227Reputation: 227Reputation: 227
Looks like the qt5 SlackBuild from Slackbuilds.org.

You don't put everything in the same directory as you can see from the error message the location the patch should be in is easy to see.

Though that wont be the only file in the wrong spot so just fixing that one wont help much.

My suggestion is to download http://slackbuilds.org/slackbuilds/1...ies/qt5.tar.gz
then decompress that in your working directory and drop the qt5 source package in the same directory as the SlackBuild that way you'll have everything in the right spot.

Mind you that patch is a waste of time but I won't go into details ....
 
Old 01-24-2014, 10:40 PM   #3
StevenXL
Member
 
Registered: Jan 2014
Posts: 76

Original Poster
Rep: Reputation: Disabled
Thank you wildwizard!


What happened was that I used the ftp site and the following command:

wget --passive-ftp ftp://slackbuilds.org/14.1/libraries/qt5/*

Unfortunately, that won't recurse into other directories, so I will now add the -r command.

Thank you!
 
Old 01-24-2014, 10:41 PM   #4
StevenXL
Member
 
Registered: Jan 2014
Posts: 76

Original Poster
Rep: Reputation: Disabled
P.S. It is taking forever for Qt5 to compile. It has been at least 60 minutes. I wonder if I am downloading the internet instead of installing Qt.
 
Old 01-24-2014, 10:47 PM   #5
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 755

Rep: Reputation: 227Reputation: 227Reputation: 227
LOL

Decompressed it comes to just under 700MB so yes it takes ages to compile.
 
Old 01-25-2014, 12:10 AM   #6
StevenXL
Member
 
Registered: Jan 2014
Posts: 76

Original Poster
Rep: Reputation: Disabled
yeeezus -

I went to dinner hoping it would be done when I came back.....

I looked at the disk usage and it doesn't seem to be filling up my HDD, so I will keep it going - although I might not able to hold out much longer. I have work to do in Excel.
 
Old 01-25-2014, 01:02 AM   #7
StevenXL
Member
 
Registered: Jan 2014
Posts: 76

Original Poster
Rep: Reputation: Disabled
It has finished compiling!!!

Should I be worried about this:

WARNING: zero length file usr/lib64/qt5/imports/QtWebKit/plugins.qmltypes
 
Old 01-25-2014, 01:12 AM   #8
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,498

Rep: Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912
Quote:
Originally Posted by StevenXL View Post
Should I be worried about this:

WARNING: zero length file usr/lib64/qt5/imports/QtWebKit/plugins.qmltypes
no, it's just a warning.
 
Old 01-25-2014, 07:15 AM   #9
irgunII
Member
 
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 383

Rep: Reputation: 71
Hijack!! (sorry)...Can I do a qt5 'upgrade' on my 14.0 system? Just a plain, simple 'build it' and then 'upgrade qt5*.txz'?
 
Old 01-25-2014, 07:27 AM   #10
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,384

Rep: Reputation: Disabled
Quote:
Originally Posted by irgunII View Post
Hijack!! (sorry)...Can I do a qt5 'upgrade' on my 14.0 system? Just a plain, simple 'build it' and then 'upgrade qt5*.txz'?
Hijacking a thread is bad ethics. Upgrading Qt4 with Qt5 on Slackware is just plain stupid. What did you think you would gain by it? Lots of Qt4-dependent things will probably stop working. Keep the original Slackware DVD close so that you can revert the upgrade.
Some people have done a lot of effort to make it possible to install Qt5 alongside Qt4 as long as Slackware does not provide Qt5. Just follow that.

Eric
 
3 members found this post helpful.
Old 01-25-2014, 01:11 PM   #11
StevenXL
Member
 
Registered: Jan 2014
Posts: 76

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Alien Bob View Post
Hijacking a thread is bad ethics. Upgrading Qt4 with Qt5 on Slackware is just plain stupid. What did you think you would gain by it? Lots of Qt4-dependent things will probably stop working. Keep the original Slackware DVD close so that you can revert the upgrade.
Some people have done a lot of effort to make it possible to install Qt5 alongside Qt4 as long as Slackware does not provide Qt5. Just follow that.

Eric
Alien Bob - thanks for your input.

I installed Qt5 because I couldn't get ktorrent to work with 'sudo make install'. (It turns out that Qt wasn't the issue, but that's not relevant).

I didn't see Qt (4 or otherwise) installed as part of the default configuration of Slackware 14.1 64.

I looked at this file and didn't find it: http://slackblog.com/slackware/slack...1/PACKAGES.TXT
 
Old 01-25-2014, 01:47 PM   #12
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,498

Rep: Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912
in this link you posted
Code:
PACKAGE NAME:  qt-4.8.5-x86_64-2.txz
PACKAGE LOCATION:  ./slackware64/l
PACKAGE SIZE (compressed):  28204 K
PACKAGE SIZE (uncompressed):  121330 K
PACKAGE DESCRIPTION:
qt: Qt (a multi-platform C++ graphical user interface toolkit)
qt:
qt: Qt is a complete and well-developed object-oriented framework for
qt: developing graphical user interface (GUI) applications using C++.
qt:
qt: Homepage:  http://qt-project.org/
qt:
and also
Code:
PACKAGE NAME:  ktorrent-4.3.1-x86_64-1.txz
PACKAGE LOCATION:  ./slackware64/kde
PACKAGE SIZE (compressed):  2404 K
PACKAGE SIZE (uncompressed):  11080 K
PACKAGE DESCRIPTION:
ktorrent: ktorrent (KDE BitTorrent program)
ktorrent:
ktorrent: KTorrent is a BitTorrent program with many features:
ktorrent: Download torrent files (of course :-), upload and download speed
ktorrent: capping, Internet searching, UDP trackers, port forwarding with UPnP,
ktorrent: IP blocking, importing of partially or fully downloaded files,
ktorrent: support for distributed hash tables, protocol encryption,
ktorrent: bandwidth scheduling, and much more.
ktorrent:
ktorrent: KTorrent's developers are Joris Guisson and Ivan Vasic.
ktorrent:
maybe it's better if you do a full installation (the only one supported).
 
1 members found this post helpful.
Old 01-26-2014, 12:29 AM   #13
StevenXL
Member
 
Registered: Jan 2014
Posts: 76

Original Poster
Rep: Reputation: Disabled
@ponce,

Thanks! I'm an idiot. 1) I didn't search for qt-4; I search for qt4, and 2) I didn't search at all for ktorrent, and just assumed it wasn't installed...

How do I search for programs so I can avoid this error on my part?
 
Old 01-26-2014, 03:55 AM   #14
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,621

Rep: Reputation: 445Reputation: 445Reputation: 445Reputation: 445Reputation: 445
Use slackpkg file-search or the online version at http://packages.slackware.com for slackware packages
 
1 members found this post helpful.
Old 01-26-2014, 11:38 AM   #15
StevenXL
Member
 
Registered: Jan 2014
Posts: 76

Original Poster
Rep: Reputation: Disabled
@willysr

A huge thank you for this. I didn't know this tool existed. It will make things much easier.
 
  


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
Qt5 on Slackware-14.1 Clementine Jam Slackware 10 12-21-2013 06:34 PM
[SOLVED] Having issue with qt4/qt5 coexisting larryhaja Slackware 4 12-13-2013 12:14 AM
LXer: VLC 2.1 Is Now Available: Qt5 Happy, Audio Improvements LXer Syndicated Linux News 0 09-26-2013 01:10 AM
LXer: Playing With GTK/Qt5/SDL/EFL On Wayland 1.2 LXer Syndicated Linux News 0 07-14-2013 02:50 PM


All times are GMT -5. The time now is 07:57 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration