Compile from source
#1
I host a meadia server, for myself and my folks, i prefer to use Fedora as i just dont feel comfortable with Ubuntu or debian as i do with fedora,

as i know kodi no longer pre- compiles certain add-ons, one of them been the kodi-vfs-sftp-addon.

ive found the source code on git hub

Code:
https://github.com/xbmc/vfs.sftp

but im having trouble understanding what i need to do to compile it, point of interest o installed kodi from the rpmfusion repo
Reply
#2
This might be of interest: https://github.com/xbmc/xbmc/blob/master...ry-add-ons
Reply
#3
(2019-03-29, 13:38)DaVu Wrote: This might be of interest: https://github.com/xbmc/xbmc/blob/master...ry-add-ons
my problem is i dont know where the build dir is as i installed kodi via dnf and not built from source
Reply
#4
i guess ive not been clear enough im what my problem is.

i did dnf install kodi

which installes kodi on fedora systems.

the instructions are kind of confusing to me ive never compiled anything from source before and it is asking me for build directory's and it is assuming that i built kodi from scratch using source code.

if building kodi from source and then compiling the add-on from source is the only way im game but i could do with some help.
Reply
#5
make sure you have kodi development headers available. Check if there is a kodi-devel or similar package. If fedora packages everything needed, then you can compile addons like this.
1. git clone https://github.com/xbmc/vfs.sftp
2. cd vfs.sftp
3. mkdir build && cd build
4. cmake ..
5. make
6. sudo make install
Reply
#6
(2019-03-29, 19:00)wsnipex Wrote: make sure you have kodi development headers available. Check if there is a kodi-devel or similar package. If fedora packages everything needed, then you can compile addons like this.
1. git clone https://github.com/xbmc/vfs.sftp
2. cd vfs.sftp
3. mkdir build && cd build
4. cmake ..
5. make
6. sudo make install
im running into a rather strange problem, 

the platform 8 cant be found ive checked that platform-2.1.0.1-6.fc29.x86_64.rpm is installed and it is

here is the make error log
https://pastebin.com/raw/kD2zKSE2
Reply
#7
ok managed to get past that by compileing platform 8 from source now its giving me error about openssl
 
Code:
-- Checking to see if CXX compiler accepts flag -flto - yes
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
  system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY
  OPENSSL_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindOpenSSL.cmake:413 (find_package_handle_standard_args)
  CMakeLists.txt:15 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/yoda/vfs.sftp-master/build/CMakeFiles/CMakeOutput.log".


i checked to see if openssl was installed and i got the following

Code:
[yoda@yoda build]$ sudo dnf install openssl
Last metadata expiration check: 1:03:09 ago on Fri 29 Mar 2019 19:27:00 GMT.
Package openssl-1:1.1.1b-2.fc29.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[yoda@yoda build]$ 

here is the log file

https://pastebin.com/raw/QnvCpHww
Reply
#8
you need devel packages of all dependencies
Reply

Logout Mark Read Team Forum Stats Members Help
Compile from source0