Kodi Community Forum
VNSI4 alpha - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167)
+---- Forum: VDR (https://forum.kodi.tv/forumdisplay.php?fid=169)
+---- Thread: VNSI4 alpha (/showthread.php?tid=158684)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20


RE: VNSI4 alpha - Nachteule - 2013-03-21

(2013-03-21, 21:07)FernetMenta Wrote: Have you ever installed vdr with make install? iirc this will generate vdr.pc
No, I never installed vdr with make install. It does not generate vdr.pc, it only copies it into the $(PCDIR) if this directory does not exist (Confused makes no sense for me).
If plugin's Makefile does not find the vdr.pc file in the default pkg dir, it should use the vdr.pc in the vdr source directory.
I've no idea what's going wrong there


Odp: VNSI4 alpha - Marx1 - 2013-03-22

VDR is near 2.0 and lately has changed many things in Makefile. What version of VDR do you use?


RE: VNSI4 alpha - Krautmaster - 2013-03-22

well, vdr-dev was missing , simply Big Grin


RE: VNSI4 alpha - Krautmaster - 2013-03-22

(2013-03-21, 19:29)FernetMenta Wrote: You compile in the source tree of vdr?

folders in vdr's path /PLUGINS/src starting with vdr- are ignored. Create a symlink named vnsiserver which points to the whatever/vdr-plugin-vnsiserver
cd to VDRDIR
make

that's it.

thx okay... well I try a combination with VDR 1.7.41...

so i did the following:

apt-get purge vdr
rm /usr/lib/vdr/plugins/*
add-apt-repository ppa:aap/vdr
apt-get update
apt-get install vdr vdr-dev

cd /usr/src
rm -R *
git clone --branch vnsi4 https://github.com/FernetMenta/xbmc-pvr-addons.git
apt-get source vdr
mv vdr-* vdr
mv xbmc-pvr-addons/addons/pvr.vdr.vnsi/vdr-plugin-vnsiserver /usr/src/vdr/PLUGINS/src/vnsiserver
cd /usr/src/vdr/PLUGINS/src/vnsiserver
make
mv mv /usr/src/vdr/PLUGINS/src/vnsiserver/libvdr-vnsiserver4.so /usr/lib/vdr//plugins/libvdr-vnsiserver4.so.1.7.41
/etc/init.d/vdr restart

in syslog i get the following mess

Quote:Mar 22 10:32:08 ubuntu vdr: [19673] loading plugin: /usr/lib/vdr/plugins/libvdr-vnsiserver4.so.1.7.41
Mar 22 10:32:08 ubuntu vdr: [19673] ERROR: /usr/lib/vdr/plugins/libvdr-vnsiserver4.so.1.7.41: undefined symbol: _ZN10cIndexFile3GetEiPtPlPbPi
Mar 22 10:32:08 ubuntu vdr: [19673] max. latency time 0 seconds
Mar 22 10:32:08 ubuntu vdr: [19673] exiting, exit code 2
Mar 22 10:32:11 ubuntu vdr: [19692] VDR version 1.7.41 started
Mar 22 10:32:11 ubuntu vdr: [19692] codeset is 'UTF-8' - known
Mar 22 10:32:11 ubuntu vdr: [19692] found 28 locales in /usr/share/locale
Mar 22 10:32:11 ubuntu vdr: [19692] loading plugin: /usr/lib/vdr/plugins/libvdr-vnsiserver4.so.1.7.41
Mar 22 10:32:11 ubuntu vdr: [19692] ERROR: /usr/lib/vdr/plugins/libvdr-vnsiserver4.so.1.7.41: undefined symbol: _ZN10cIndexFile3GetEiPtPlPbPi
Mar 22 10:32:11 ubuntu vdr: [19692] max. latency time 0 seconds
Mar 22 10:32:11 ubuntu vdr: [19692] exiting, exit code 2
Mar 22 10:32:14 ubuntu vdr: [19711] VDR version 1.7.41 started
Mar 22 10:32:14 ubuntu vdr: [19711] codeset is 'UTF-8' - known

=/ ideas?


RE: VNSI4 alpha - FernetMenta - 2013-03-22

compiling vdr from source does not require vdr-dev! The package vdr-dev is a different version of vdr and you MUST complile the plugins against the version of vdr which you intend to use.


RE: VNSI4 alpha - Krautmaster - 2013-03-22

yeap but I also tried

make VDRDIR=/usr/src/vdr

which built fine as well but stucks in the error in starting vdr listed above


RE: VNSI4 alpha - FernetMenta - 2013-03-22

You have to purge vdr-dev from your system, remove any vdr headers from /usr/include /usr/local/include, then fix the actual problem.


RE: VNSI4 alpha - FernetMenta - 2013-03-22

btw: having sources is /usr is a bad idea. Place the sources somewhere in you home folder like ~/progs/src/vdr/1.7.41


RE: VNSI4 alpha - Krautmaster - 2013-03-22

oki thx Wink will try later on


RE: VNSI4 alpha - Nachteule - 2013-03-22

(2013-03-22, 12:40)FernetMenta Wrote: You have to purge vdr-dev from your system, remove any vdr headers from /usr/include /usr/local/include, then fix the actual problem.
That's the reason why I don't want to have vdr include files in the /usr/[local]/include folders, because if include files does not fit to vdr and plugin sources, you won't get error messages during compile, you will get obscure error messages during start of vdr. This is one of the biggest disadvantages of the hole vdr/plugin make chaos, and changing make files to the new version 1.7.36 and up did not solve this.


RE: VNSI4 alpha - Krautmaster - 2013-03-22

did it this way

add-apt-repository -y ppa:aap/vdr
apt-get update
sudo apt-get -y install dvb-apps
sudo apt-get -y install vdr vdr-plugin-dvbapi vdr-plugin-wirbelscan oscam fakeroot git-core
mkdir /home/xbmc/build
cd /home/xbmc/build
apt-get build-dep -y vdr
apt-get source vdr
mv vdr-* vdr
git clone --branch vnsi4 https://github.com/FernetMenta/xbmc-pvr-addons.git
rm -R vdr/PLUGINS/src/*
ln -s /home/xbmc/build/xbmc-pvr-addons/addons/pvr.vdr.vnsi/vdr-plugin-vnsiserver /home/xbmc/build/vdr/PLUGINS/src/vnsiserver
cd /home/xbmc/build/vdr/
make -j4 VDRDIR=/usr/include/vdr LIBDIR=/usr/lib/vdr/plugins
make install VDRDIR=/usr/include/vdr LIBDIR=/usr/lib/vdr/plugins

now i need to install the xbmc addon

Is there a way of a quick install directly into the current xbmc config / installation? I got it only done generating zip files and manuall installation in XBMC.


RE: VNSI4 alpha - Nachteule - 2013-03-22

(2013-03-22, 15:00)Krautmaster Wrote: Is there a way of a quick install directly into the current xbmc config / installation? I got it only done generating zip files and manuall installation in XBMC.

Look to the README

Code:
=============================
       Linux, OS-X, BSD
=============================

Start by executing:
./bootstrap

To install add-ons into /path/to/XBMC:
./configure --prefix=/path/to/XBMC
make install

To build all PVR add-ons as .zip archives:
./configure
make zip

I've not used this, I always generate a Zip and unzip it to <PathToXbmc>/share/xbmc/addons


RE: VNSI4 alpha - FernetMenta - 2013-03-22

In case you compile xbmc yourself, the easiest method is to compile the addons in the source tree of XBMC.


RE: VNSI4 alpha - Nachteule - 2013-03-22

(2013-03-22, 15:42)FernetMenta Wrote: In case you compile xbmc yourself, the easiest method is to compile the addons in the source tree of XBMC.
Yes, you're right, I do this since last few weeks. It is only a little bit confusing, the path name of pvr addons is not xbmc-pvr-addons, it is just pvr-addons, i'm not sure if this is documented anywhere or not


RE: VNSI4 alpha - Krautmaster - 2013-03-23

hm yeap... i tried with ./configure --prefix=/usr/share/

but VNSI stays 1.74


root@ubuntu:/# find -name addons
./var/lib/vim/addons
./usr/share/xbmc/addons
./usr/lib/xbmc/addons
./home/xbmc/build/xbmc-pvr-addons/addons
./home/xbmc/.xbmc/addons

will i need ./configure --prefix=/usr/share/xbmc ?

i will try again

Edit:

so gehts auch nicht... was muss ich anstellen. Ich mein zip entpacken geht auch, aber was wäre sauberer?