LinuxQuestions.org
Help answer threads with 0 replies.
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 09-27-2014, 08:38 AM   #1
itsgregman
Member
 
Registered: Jan 2008
Location: North Carolina
Distribution: Slackware 14.1
Posts: 211

Rep: Reputation: 77
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
 
Old 09-27-2014, 08:58 AM   #2
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
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".
 
Old 09-27-2014, 08:58 AM   #3
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,774

Rep: Reputation: 1873Reputation: 1873Reputation: 1873Reputation: 1873Reputation: 1873Reputation: 1873Reputation: 1873Reputation: 1873Reputation: 1873Reputation: 1873Reputation: 1873
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
 
Old 09-27-2014, 09:08 AM   #4
fsLeg
Member
 
Registered: Dec 2013
Location: Moscow, Russia
Distribution: Slackware, EndeavourOS
Posts: 91

Rep: Reputation: Disabled
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.
 
Old 09-27-2014, 09:16 AM   #5
itsgregman
Member
 
Registered: Jan 2008
Location: North Carolina
Distribution: Slackware 14.1
Posts: 211

Original Poster
Rep: Reputation: 77
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.
 
Old 09-27-2014, 09:25 AM   #6
itsgregman
Member
 
Registered: Jan 2008
Location: North Carolina
Distribution: Slackware 14.1
Posts: 211

Original Poster
Rep: Reputation: 77
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.
 
Old 09-27-2014, 09:32 AM   #7
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,774

Rep: Reputation: 1873Reputation: 1873Reputation: 1873Reputation: 1873Reputation: 1873Reputation: 1873Reputation: 1873Reputation: 1873Reputation: 1873Reputation: 1873Reputation: 1873
It was released in 2004, so definitely it requires an older version of Qt and i think it does requires Qt3
 
  


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
vgcreate command is changing /dev/mapper as PV Name in pvdisplay to /dev/dm-xx path neeravsingh Linux - Enterprise 6 03-23-2010 04:05 AM
finding the PATH tahiche Linux - Software 7 10-12-2005 01:47 PM
Finding process path praj_linux Solaris / OpenSolaris 5 12-21-2004 11:01 AM
finding java path? pyropenguin Linux - Software 2 09-15-2002 08:55 AM

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

All times are GMT -5. The time now is 07:04 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
Open Source Consulting | Domain Registration