LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-27-2018, 06:17 AM   #16
kolargol
Member
 
Registered: Jan 2003
Posts: 46

Rep: Reputation: 1

Yes we are on the same page and i will look at it later today.

Thank you.
 
Old 08-27-2018, 05:41 PM   #17
kolargol
Member
 
Registered: Jan 2003
Posts: 46

Rep: Reputation: 1
simple pvr

I read the whole post, i didn't know i needed platform and kodi platform.
Try to make them but i get the same error in kodi platform
that i was getting without platform. i have no idea what to do.
it just doesn't work.
 
Old 08-27-2018, 06:26 PM   #18
abga
Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 976

Rep: Reputation: 505Reputation: 505Reputation: 505Reputation: 505Reputation: 505Reputation: 505
If you're on Slackware 64 then Kodi might have well got compiled for 64bit and installed in /usr/lib64/kodi/. Check first where it is installed and you should maybe provide the /usr/lib64/ path as the cmake parameter for all the compilations (platform, kodi-platform and pvr.iptvsimple):
Code:
cmake -DCMAKE_INSTALL_PREFIX=/usr/lib64/
#or
cmake -DCMAKE_INSTALL_PREFIX=/usr/lib64/kodi/
https://forum.kodi.tv/showthread.php...193#pid1974193

If you already have both /usr/lib/kodi/ and /usr/lib64/kodi/, check if the platform compilation&installation has created and written in /usr/lib/kodi/ and if so, delete those files (actually the whole /usr/lib/kodi/ folder) and start the platform compilation again with the cmake -DCMAKE_INSTALL_PREFIX= parameters from above pointing to /usr/lib64/.

I never compiled Kodi for x86 but only for 32bit ARM and here is the KodiConfig.cmake file on 32bit Slackware ARM:
Code:
ls -al /usr/lib/kodi/KodiConfig.cmake
-rw-r--r-- 1 root root 883 Nov  4  2017 /usr/lib/kodi/KodiConfig.cmake
As mentioned in a previous post, there were some naming changes and some addon build scripts are looking after kodiConfig.cmake instead of KodiConfig.cmake

Last edited by abga; 08-27-2018 at 06:34 PM. Reason: typo
 
1 members found this post helpful.
Old 08-27-2018, 06:49 PM   #19
kolargol
Member
 
Registered: Jan 2003
Posts: 46

Rep: Reputation: 1
Yes everything is in /usr/lib64, i will chek that but the
problem seems to be that i compiled if using a slakpkg at
at slackpkg,org and when it finishes installing it cleans
the whole tree that was used to compile it and i think that
is where the file needed is supposed to be. I tried removing
all the rm from the script but it still get deleted, i will
have to dig deeper in that direction i think. I will post
something if it works or not.

Thank you
 
Old 08-27-2018, 07:10 PM   #20
abga
Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 976

Rep: Reputation: 505Reputation: 505Reputation: 505Reputation: 505Reputation: 505Reputation: 505
You're right! I almost forgot about the clean-up issue with the SlackBuild for Kodi. I remember sending a private e-mail to Larry Hajali and asking for adapting his build script before I wrote that Kodi for Raspberry (Slackware ARM) guide (got no answer for months). It was his script (work) I was using for the Slackware ARM SlackBuild and wanted to let him know about it and be collaborative. I remember I sent him a modified SlackBuild script for Kodi where I inserted my comments and amendments. Some comments were quite "brutal" I must admit and the deletion of the cmake files was addressed.
Well, I'm not that bad, once you get to know me. (Agent Smith - Matrix)

I could provide you with the cmake files that the SlackBuild is deleting, but all of them contain references to /usr/lib/kodi and you'll need to edit them.
It'll be easier to recompile Kodi by using the SlackBuild from:
http://slackbuilds.org/repository/14.2/multimedia/kodi/
And comment the following line in the script before you launch it:
http://slackbuilds.org/slackbuilds/1...odi.SlackBuild
Code:
# Final clean up.
find $PKG \( -name "Makefile*" -o -name "*cmake*" -o -name "*\.in" \) -exec rm -f '{}' \;
 
Old 08-27-2018, 07:43 PM   #21
kolargol
Member
 
Registered: Jan 2003
Posts: 46

Rep: Reputation: 1
Yes i commented out that line but the entire tree was
deleted anyway. I am still searching and i am going
to find out.
 
Old 08-27-2018, 07:57 PM   #22
abga
Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 976

Rep: Reputation: 505Reputation: 505Reputation: 505Reputation: 505Reputation: 505Reputation: 505
If that line was commented then the cmake files were not deleted anymore and the last command from the build script - makepkg - should have grabbed them and packed inside resulting package, thus, after the installation of the package they should all reside now in /usr/lib64/kodi/
Code:
#find $PKG \( -name "Makefile*" -o -name "*cmake*" -o -name "*\.in" \) -exec rm -f '{}' \;
Here is the list of cmake files, in your case it's /usr/lib64/kodi/*.cmake
Code:
ls -al /usr/lib/kodi/*.cmake
-rw-r--r-- 1 root root  2481 Nov  4  2017 /usr/lib/kodi/AddOptions.cmake
-rw-r--r-- 1 root root 12822 Nov  4  2017 /usr/lib/kodi/AddonHelpers.cmake
-rw-r--r-- 1 root root  5730 Nov  4  2017 /usr/lib/kodi/ArchSetup.cmake
-rw-r--r-- 1 root root  1924 Nov  4  2017 /usr/lib/kodi/CMakeHelpers.cmake
-rw-r--r-- 1 root root  2321 Nov  4  2017 /usr/lib/kodi/CheckCommits.cmake
-rw-r--r-- 1 root root  2760 Nov  4  2017 /usr/lib/kodi/CheckTargetPlatform.cmake
-rw-r--r-- 1 root root   902 Nov  4  2017 /usr/lib/kodi/GenerateVersionedFiles.cmake
-rw-r--r-- 1 root root  1965 Nov  4  2017 /usr/lib/kodi/GeneratorSetup.cmake
-rw-r--r-- 1 root root  9679 Nov  4  2017 /usr/lib/kodi/HandleDepends.cmake
-rw-r--r-- 1 root root   883 Nov  4  2017 /usr/lib/kodi/KodiConfig.cmake
-rw-r--r-- 1 root root 27604 Nov  4  2017 /usr/lib/kodi/Macros.cmake
-rw-r--r-- 1 root root  3743 Nov  4  2017 /usr/lib/kodi/PrepareEnv.cmake
-rw-r--r-- 1 root root  3701 Nov  4  2017 /usr/lib/kodi/ProjectMacros.cmake
-rw-r--r-- 1 root root   758 Nov  4  2017 /usr/lib/kodi/Uninstall.cmake
Let me know if you want me to upload the cmake archive, it's small - 20kB, but you'll need to parse all the files and change /usr/lib/kodi/ to /usr/lib64/kodi/
Code:
tar -czvpf cmake.tgz *.cmake
du -s -h cmake.tgz
20K     cmake.tgz
 
1 members found this post helpful.
Old 08-27-2018, 08:34 PM   #23
kolargol
Member
 
Registered: Jan 2003
Posts: 46

Rep: Reputation: 1
i just tried it with the line commented out and the
whole tree was deleted. Maybe it's would be
a good idea if you upload the archive>
 
Old 08-27-2018, 09:06 PM   #24
kolargol
Member
 
Registered: Jan 2003
Posts: 46

Rep: Reputation: 1
nothing

Last edited by kolargol; 08-27-2018 at 09:22 PM.
 
Old 08-27-2018, 09:09 PM   #25
abga
Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 976

Rep: Reputation: 505Reputation: 505Reputation: 505Reputation: 505Reputation: 505Reputation: 505
Here you are:
https://www90.zippyshare.com/v/evoNYliX/file.html
Code:
sha256sum cmake.tgz
4d1e0066583f0dafe192eb68d0e530dc9874830345d51681dfde5bea4eead41f  cmake.tgz
It's the collection of cmake files found in /usr/lib/kodi for Kodi 17.4 compiled for Slackware ARM 32bit.
You just need to extract them in your /usr/lib64/kodi/ and it looks like you only need to amend the file KodiConfig.cmake (/usr/lib/kodi -->/usr/lib64/kodi):
Code:
grep -e /usr/lib /usr/lib/kodi/*.cmake
/usr/lib/kodi/KodiConfig.cmake:  set(KODI_LIB_DIR /usr/lib/kodi)
/usr/lib/kodi/KodiConfig.cmake:list(APPEND CMAKE_MODULE_PATH /usr/lib/kodi /usr/share/kodi/cmake)
I believe that you don't need to change the cmake parameters line anymore when compiling addons, it should work like:
Code:
cmake -DCMAKE_INSTALL_PREFIX=/usr
Good Luck!
 
1 members found this post helpful.
Old 08-27-2018, 09:12 PM   #26
kolargol
Member
 
Registered: Jan 2003
Posts: 46

Rep: Reputation: 1
Thank you very much for your help and patience.
Really appreciated
 
Old 08-27-2018, 09:17 PM   #27
abga
Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 976

Rep: Reputation: 505Reputation: 505Reputation: 505Reputation: 505Reputation: 505Reputation: 505
Quote:
Originally Posted by kolargol View Post
Thank you very much for your help and patience.
Really appreciated
Hope you get it working with those cmake files, please post your results - success/failure.
If you really care about your privacy, you should edit the post #24 and remove your e-mail address. Write - deleted- instead.
 
Old 08-27-2018, 09:29 PM   #28
kolargol
Member
 
Registered: Jan 2003
Posts: 46

Rep: Reputation: 1
simple pvr

I found a way to have the xbm tree and the make files all there.
Comment the line out of course and untar the xbmc tree before
executing the slackbuild. I don't know why but it worked?????
 
Old 08-27-2018, 09:36 PM   #29
abga
Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 976

Rep: Reputation: 505Reputation: 505Reputation: 505Reputation: 505Reputation: 505Reputation: 505
Always remove the /tmp/SBo/ folder to start fresh with your SlackBuilds attempts, especially before a repeated attempt, like after modifying the SlackBuild script.
 
Old 08-28-2018, 12:01 PM   #30
kolargol
Member
 
Registered: Jan 2003
Posts: 46

Rep: Reputation: 1
I just recompile and reinstall kodi this morning and i don't know
why but all the cmake files neessary where in /usr/lib64/kodi.
It was easy after that to make platform and kodi_platform and
also iptv simple pvr. Now all that remains is to see if the pvr
works.
 
  


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] Kodi freezes on exit, kodi.bin won't die pressman57 Linux - Software 6 12-19-2016 07:48 PM
LXer: Kodi 17 "Krypton" Alpha 3 Brings Live TV and PVR Improvements, New Skin Features LXer Syndicated Linux News 0 08-03-2016 12:57 AM
PVR addon not found in Kodi on Slackware commandlinegamer Slackware 3 02-05-2016 05:37 PM
Ubuntuplus Addon Cd Can't Install ogfizzle Ubuntu 0 08-14-2007 05:18 AM
PVR-500 & PVR-150 not working properly srairman76 Linux - Hardware 3 01-02-2007 11:02 AM

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

All times are GMT -5. The time now is 07:56 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration