LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-14-2020, 06:10 PM   #1
slac-in-the-box
Member
 
Registered: Mar 2010
Location: oregon
Distribution: slackware64-current
Posts: 388

Rep: Reputation: 171Reputation: 171
linphone cmake / qt5 / python compilation environment on slackware


Hello Slackware Forum

I use linphone everyday, and the slackbuild for it now fails. So while I wait for a response from the slackbuild maintainer, I thought I would try to build an updated more recent version of linphone-desktop for slackware.

Reading the documentation, step 2 of "Set your environment" says

Quote:
You have to set the environment variable Qt5_DIR to point to the path containing the cmake folders of Qt5, and the PATH to the Qt5 bin. Example:
Qt5_DIR="~/Qt/5.12.5/gcc_64/lib/cmake"
PATH="~/Qt/5.12.5/gcc_64/bin/:$PATH"
Where are these "cmake folders of qt5 in slackware64-current's install of qt5-5.15.1?

I did find this folder: /usr/lib64/qt5/mkspecs/features/data/cmake ,and exported it as the value of Qt5_DIR, and used /usr/lib64/qt5/bin for the value of PATH

I made a build directory and changed directories to it. I accepted the default options with "cmake .."

And then, when trying "cmake --build . --target all" it says "Configuring Incomplete, errors occurred", and reports "'pystache' python module not found", even though, I had already performed "pip install pystache"...


Oh... that was because pystache got configured for python3, but the linphone build tried to use python2.


I changed the symbolic link in /usr/bin for python to point to python3.8 instead of python2.7, and then:

it worked

Case closed before even finishing the post... but I'll post it anyways, in case it helps someone somewhere sometime.
 
  


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
[SOLVED] problem with newer cmake options run on slackware cmake 3.5.2 timsoft Slackware 6 05-31-2020 07:51 AM
wish for Cmake build against qt5 Ktown slackware-current Slackware 7 11-09-2019 02:27 PM
Slackware-current: /usr/share/cmake and /usr/share/cmake-3.3 directories igor29768 Slackware 1 11-07-2015 12:37 AM
Questions on Linphone blank video and using Linphone in Jitsi. linustalman Linux - Software 5 03-02-2015 02:41 PM
cmake: Using find_package(Boost) when FindBoost.cmake is not in the default location damien_d Programming 3 10-27-2010 03:40 PM

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

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