Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-24-2014, 08:27 PM
|
#1
|
Member
Registered: Jan 2014
Posts: 81
Rep: 
|
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!
|
|
|
01-24-2014, 09:32 PM
|
#2
|
Member
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 875
|
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 ....
|
|
|
01-24-2014, 09:40 PM
|
#3
|
Member
Registered: Jan 2014
Posts: 81
Original Poster
Rep: 
|
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!
|
|
|
01-24-2014, 09:41 PM
|
#4
|
Member
Registered: Jan 2014
Posts: 81
Original Poster
Rep: 
|
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.
|
|
|
01-24-2014, 09:47 PM
|
#5
|
Member
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 875
|
LOL
Decompressed it comes to just under 700MB so yes it takes ages to compile.
|
|
|
01-24-2014, 11:10 PM
|
#6
|
Member
Registered: Jan 2014
Posts: 81
Original Poster
Rep: 
|
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.
|
|
|
01-25-2014, 12:02 AM
|
#7
|
Member
Registered: Jan 2014
Posts: 81
Original Poster
Rep: 
|
It has finished compiling!!!
Should I be worried about this:
WARNING: zero length file usr/lib64/qt5/imports/QtWebKit/plugins.qmltypes
|
|
|
01-25-2014, 12:12 AM
|
#8
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,510
|
Quote:
Originally Posted by StevenXL
Should I be worried about this:
WARNING: zero length file usr/lib64/qt5/imports/QtWebKit/plugins.qmltypes
|
no, it's just a warning.
|
|
|
01-25-2014, 06:15 AM
|
#9
|
Member
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 383
Rep:
|
Hijack!! (sorry)...Can I do a qt5 'upgrade' on my 14.0 system? Just a plain, simple 'build it' and then 'upgrade qt5*.txz'?
|
|
|
01-25-2014, 06:27 AM
|
#10
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
Quote:
Originally Posted by irgunII
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.
|
01-25-2014, 12:11 PM
|
#11
|
Member
Registered: Jan 2014
Posts: 81
Original Poster
Rep: 
|
Quote:
Originally Posted by Alien Bob
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
|
|
|
01-25-2014, 12:47 PM
|
#12
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,510
|
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.
|
01-25-2014, 11:29 PM
|
#13
|
Member
Registered: Jan 2014
Posts: 81
Original Poster
Rep: 
|
@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?
|
|
|
01-26-2014, 02:55 AM
|
#14
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,871
|
Use slackpkg file-search or the online version at http://packages.slackware.com for slackware packages
|
|
1 members found this post helpful.
|
01-26-2014, 10:38 AM
|
#15
|
Member
Registered: Jan 2014
Posts: 81
Original Poster
Rep: 
|
@willysr
A huge thank you for this. I didn't know this tool existed. It will make things much easier.
|
|
|
All times are GMT -5. The time now is 09:47 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|