LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 10-02-2022, 09:38 AM   #1
slackbat
Member
 
Registered: Dec 2005
Location: Mid-West-Wales
Distribution: Slackware 14.2_64_multilib - Salix 14.2 - devuan
Posts: 142

Rep: Reputation: 27
qmake not found


Hi one and all,

I was compiling the latest version of smplayer when it chocked due to not being able to find qmake.

I investigated, found that qmake is in /usr/lib64/qt5/bin, created a symbolic link to /usr/lib64, but smplayer still cannot find qmake.

Does anyone have any ideas, like (thinking about it an error in the smplayer.slackbuild script).

TIA for any help.

slackbat
 
Old 10-02-2022, 09:53 AM   #2
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,754

Rep: Reputation: Disabled
Is this on Slackware 14.2_64_multilib like it's noted on your profile?
There might be qt4 on that system, what it probably did well, it found qmake-qt4 instead of qmake-qt5
Try to temporarily remove qmake-qt4 if possible, it might help the program compile.
But I can't guarantee, because the smplayer I use is still like version 17.12 haven't tried the new one.

Here on 15.0 without multilib, I only have these, one symlink and one binary;
Code:
/usr/bin/qmake-qt5 -> /usr/lib64/qt5/bin/qmake
Code:
/usr/lib64/qt5/bin/qmake
 
Old 10-02-2022, 10:01 AM   #3
pghvlaans
Member
 
Registered: Jan 2021
Distribution: Slackware64 {15.0,-current}, FreeBSD, stuff on QEMU
Posts: 458

Rep: Reputation: 366Reputation: 366Reputation: 366Reputation: 366
This comes up every once in a while with Qt stuff; try running the SlackBuild from root's login shell (with "su -"). Non-login shells don't have the Qt directory on the path by default.
 
1 members found this post helpful.
Old 10-02-2022, 10:45 AM   #4
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,113

Rep: Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185
FWIW it's explained also at step 4 of the howto.
 
3 members found this post helpful.
Old 10-04-2022, 09:15 AM   #5
adcdam
Member
 
Registered: Aug 2020
Location: Berisso, Argentina
Distribution: Slackware
Posts: 255

Rep: Reputation: 205Reputation: 205Reputation: 205
Quote:
Originally Posted by slackbat View Post
Hi one and all,

I was compiling the latest version of smplayer when it chocked due to not being able to find qmake.

I investigated, found that qmake is in /usr/lib64/qt5/bin, created a symbolic link to /usr/lib64, but smplayer still cannot find qmake.

Does anyone have any ideas, like (thinking about it an error in the smplayer.slackbuild script).

TIA for any help.

slackbat
did you try like this in the Slackbuild?
qmake-qt5 \
 
Old 10-08-2022, 05:19 AM   #6
slackbat
Member
 
Registered: Dec 2005
Location: Mid-West-Wales
Distribution: Slackware 14.2_64_multilib - Salix 14.2 - devuan
Posts: 142

Original Poster
Rep: Reputation: 27
Quote:
Originally Posted by elcore View Post
Is this on Slackware 14.2_64_multilib like it's noted on your profile?
Hi elcore,

I am afraid not, this is slack-15 I am having a little difficulty with; I am setting up slack-15, but still using 14.2.

Hi pghvlaans,
Quote:
This comes up every once in a while with Qt stuff; try running the SlackBuild from root's login shell (with "su -"). Non-login shells don't have the Qt directory on the path by default.
Thanks for the tip, I will try this.

slackbat
 
Old 10-08-2022, 11:09 AM   #7
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
export QTDIR=/usr/lib64/qt5/

Do you still get the error after setting QTDIR?
 
Old 11-11-2022, 05:55 AM   #8
slackbat
Member
 
Registered: Dec 2005
Location: Mid-West-Wales
Distribution: Slackware 14.2_64_multilib - Salix 14.2 - devuan
Posts: 142

Original Poster
Rep: Reputation: 27
Hi everyone,

Ok I'm back after a complete hardware failure; I will now reattempt the build using the very helpful suggestions.

slackbat
 
Old 12-22-2022, 05:32 AM   #9
slackbat
Member
 
Registered: Dec 2005
Location: Mid-West-Wales
Distribution: Slackware 14.2_64_multilib - Salix 14.2 - devuan
Posts: 142

Original Poster
Rep: Reputation: 27
Quote:
Originally Posted by ponce View Post
FWIW it's explained also at step 4 of the howto.
Compiled smplayer last night uaing the instructions you kindlt provided.

I will mark this as solved.

slackbat
 
2 members found this post helpful.
  


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
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM
qmake not found on debian 4 mperez Debian 17 05-16-2007 01:52 PM
qmake: command not found after apparently flawless Qt install emiphiste Linux - Software 6 12-13-2006 06:16 PM
qmake not found ??? rooman Linux - General 0 11-01-2004 05:04 AM
qmake not found Mestax Linux - Newbie 2 09-06-2003 11:42 AM

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

All times are GMT -5. The time now is 05:42 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