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.
|
|
09-27-2014, 08:38 AM
|
#1
|
Member
Registered: Jan 2008
Location: North Carolina
Distribution: Slackware 14.1
Posts: 211
Rep:
|
Help finding path to qt-dev on slackware 14.1
I'm trying to compile and install a game from source and its only dependency is qt-dev. the readme says to check with my distros docs to see what it's called in my distro and the path to it.
Anyone have any idea?
The game I'm trying to install is mahjongg3d.
http://www.lgdb.org/game/mahjongg_solitaire_3d
|
|
|
09-27-2014, 08:58 AM
|
#2
|
Senior Member
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Rep:
|
Many distributions split up their packages. They make a package for the libraries, and another package for the documentation, and another package for development headers, etc etc.
This is what the Slackware community would call "a stupid way of making extra work and confusing everybody". In fact, it even makes extra work for *us*, because we need to keep telling people that we don't do it.
Anyway, in Slackware, there is no such package as "qt-dev". There is just qt, and if you have qt, you already have everything that would be in "qt-dev".
|
|
|
09-27-2014, 08:58 AM
|
#3
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,774
|
Slackware doesn't come with -libs or -devs or -headers.
All you got is everything on that library/applications, so the package you need is qt which is available on Slackware or qt5 which is available through SlackBuilds project
|
|
|
09-27-2014, 09:08 AM
|
#4
|
Member
Registered: Dec 2013
Location: Moscow, Russia
Distribution: Slackware, EndeavourOS
Posts: 91
Rep:
|
I just tried to compile it, and it didn't work. This game has one shitty configure script. It asks (yes, you are promted to enter) for Qt installation path, but it doesn't use it. Solution here is to define QTDIR variable during `./configure` and `make` stages.
But then there's another problem:
Code:
/usr/lib64/qt/bin/uic MainDialogBase.ui -o ui_MainDialogBase.h
uic: File generated with too old version of Qt Designer (3.2)
File 'MainDialogBase.ui' is not valid
And it fails with an error. Basically Qt complains that the sources are too old. I think you need Qt-3.x to be able to compile this game.
|
|
|
09-27-2014, 09:16 AM
|
#5
|
Member
Registered: Jan 2008
Location: North Carolina
Distribution: Slackware 14.1
Posts: 211
Original Poster
Rep:
|
Thanks for the replies.
Can you point me in the right direction of where I should set the path?
I did a locate for qt and got around 50+ results but none looked right so I looked in /usr and found /usr/bin/qt3to4 which was a link rather than an actual bin, and the make script was unable to find qt so I imagine that wasn't it.
I've been a long time user of Slackware but have never had much experience compiling from source other than using Slackbuilds.
|
|
|
09-27-2014, 09:25 AM
|
#6
|
Member
Registered: Jan 2008
Location: North Carolina
Distribution: Slackware 14.1
Posts: 211
Original Poster
Rep:
|
Well thanks anyway guys I guess I'll give up on it then. I know a couple other distros that have it but I guess they had to do some serious reworking to get it running and I'm just not experienced or knowledgeable enough to attempt it.
Pity it is probably my favorite solitaire game, I'll just have to get by without it.
Thank you very much for the replies and the attempt to solve this for me.
|
|
|
09-27-2014, 09:32 AM
|
#7
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,774
|
It was released in 2004, so definitely it requires an older version of Qt and i think it does requires Qt3
|
|
|
All times are GMT -5. The time now is 07:04 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
|
|