• 1
  • 4
  • 5
  • 6(current)
  • 7
  • 8
  • 20
VNSI4 alpha
#76
(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
Kodi 18.6 @ openSUSE 13.1 x86_64 - Asus E35M1-I DELUXE | 8GB Ram | 240G 2.5" SSD
Kodi 20.2 on 1st Raspberry Pi B @ XBian | Kodi 20.2 on Raspberry Pi 3B+ @ XBian | Kodi 21a2 on Raspberry Pi4B @ XBian | Kodi 19.0 on SolidRun i.MX6 @ XBian
VDR 2.4.5 & Tvheadend4.3-1917 (for recording) on Cubieboard2 @ Debian Buster
Reply
#77
VDR is near 2.0 and lately has changed many things in Makefile. What version of VDR do you use?
Reply
#78
well, vdr-dev was missing , simply Big Grin
Reply
#79
(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?
Reply
#80
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.
Reply
#81
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
Reply
#82
You have to purge vdr-dev from your system, remove any vdr headers from /usr/include /usr/local/include, then fix the actual problem.
Reply
#83
btw: having sources is /usr is a bad idea. Place the sources somewhere in you home folder like ~/progs/src/vdr/1.7.41
Reply
#84
oki thx Wink will try later on
Reply
#85
(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.
Kodi 18.6 @ openSUSE 13.1 x86_64 - Asus E35M1-I DELUXE | 8GB Ram | 240G 2.5" SSD
Kodi 20.2 on 1st Raspberry Pi B @ XBian | Kodi 20.2 on Raspberry Pi 3B+ @ XBian | Kodi 21a2 on Raspberry Pi4B @ XBian | Kodi 19.0 on SolidRun i.MX6 @ XBian
VDR 2.4.5 & Tvheadend4.3-1917 (for recording) on Cubieboard2 @ Debian Buster
Reply
#86
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.
Reply
#87
(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
Kodi 18.6 @ openSUSE 13.1 x86_64 - Asus E35M1-I DELUXE | 8GB Ram | 240G 2.5" SSD
Kodi 20.2 on 1st Raspberry Pi B @ XBian | Kodi 20.2 on Raspberry Pi 3B+ @ XBian | Kodi 21a2 on Raspberry Pi4B @ XBian | Kodi 19.0 on SolidRun i.MX6 @ XBian
VDR 2.4.5 & Tvheadend4.3-1917 (for recording) on Cubieboard2 @ Debian Buster
Reply
#88
In case you compile xbmc yourself, the easiest method is to compile the addons in the source tree of XBMC.
Reply
#89
(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
Kodi 18.6 @ openSUSE 13.1 x86_64 - Asus E35M1-I DELUXE | 8GB Ram | 240G 2.5" SSD
Kodi 20.2 on 1st Raspberry Pi B @ XBian | Kodi 20.2 on Raspberry Pi 3B+ @ XBian | Kodi 21a2 on Raspberry Pi4B @ XBian | Kodi 19.0 on SolidRun i.MX6 @ XBian
VDR 2.4.5 & Tvheadend4.3-1917 (for recording) on Cubieboard2 @ Debian Buster
Reply
#90
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?
Reply
  • 1
  • 4
  • 5
  • 6(current)
  • 7
  • 8
  • 20

Logout Mark Read Team Forum Stats Members Help
VNSI4 alpha3