LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 11-06-2020, 10:46 AM   #1
SINISTER750
Member
 
Registered: Sep 2020
Posts: 53

Rep: Reputation: Disabled
Packages cannot locate QT5 (BLFS 8.4)


I'm trying to install BLFS 8.4
I've installed QT5 but somehow other packages that need QT5 cannot find it.

E.g. while installing highlight, after the command 'make gui', it says ' qmake command not found'. Similarly 'extra-cmake-modules-5.55.0' and 'oxygen-icons5-5.55.0' couldn't find "qcollectiongenerator, linguist, qcore, etc."

These packages are present in "/opt/qt-5.12.1/bin"
Which command shows output:
Code:
which qmake-qt5
/usr/bin/qmake-qt5
I installed QT5 in /opt directory.

Last edited by SINISTER750; 11-06-2020 at 11:07 AM. Reason: Added more information.
 
Old 11-06-2020, 11:38 AM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Is qt in your PATH
echo $PATH
 
Old 11-06-2020, 11:46 AM   #3
SINISTER750
Member
 
Registered: Sep 2020
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by spiky0011 View Post
Is qt in your PATH
echo $PATH
Code:
echo $PATH
/bin:/usr/bin
 
Old 11-06-2020, 11:49 AM   #4
SINISTER750
Member
 
Registered: Sep 2020
Posts: 53

Original Poster
Rep: Reputation: Disabled
SOLVED
Follow this link https://www.blogetcetera.com/2017/qm...and-not-found/

All I had to do was create a symlink.
What I did not understand is I had to create a symlink for /usr/bin/qmake-qt5 to /usr/bin/qmake where as I installed QT5 in /opt!
 
Old 11-06-2020, 11:51 AM   #5
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Did you create the
/etc/profile.d/qt5.sh file and add to /etc/ld.so.conf
 
Old 11-06-2020, 01:22 PM   #6
SINISTER750
Member
 
Registered: Sep 2020
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by spiky0011 View Post
Did you create the
/etc/profile.d/qt5.sh file and add to /etc/ld.so.conf
I'm quite sure that I did it but now I have redone it and checked that all the echo outputs are correct and the previous packages have detected QT5.
 
  


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
is locate configurable? locate -i be default for instance? pittendrigh Linux - Software 4 03-23-2020 08:43 AM
BLFS 8.1: QT5 configure: dbus not recognized? jr_bob_dobbs Linux From Scratch 5 03-11-2018 03:47 PM
[SOLVED] E: Unable to locate package nova-comm E: Unable to locate package python-psycopq2 mint12 Linux - Virtualization and Cloud 2 01-05-2012 12:07 PM
cpan> locate -u Unknown shell command 'locate -u'. Type ? for help. sharad2005 Linux From Scratch 1 08-04-2006 12:40 AM
Can't locate locate hindenbergbaby Linux - Newbie 3 10-22-2003 04:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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