You are not logged in.

#1 2018-05-29 07:45:49

nirp
Member
Registered: 2018-02-10
Posts: 2

Proposed fix for AUR package "lives" (to resolve rpc.h issue)

Trying to build AUR package "lives" fails after not being to find header "rpc/rpc.h".
It seems to be due to the switch to "tirpc", and that the fix proposed here works for lives too -
https://aur.archlinux.org/cgit/aur.git/ … 1781951eae

Proposed patch for the PKGBUILD:

diff --git a/PKGBUILD b/PKGBUILD
index 50254a9..fa0ebbb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ pkgdesc="A Video Editing System"
 arch=('i686' 'x86_64')
 url="http://lives-video.com"
 license=('GPL')
-depends=('mplayer' 'imagemagick' 'gtk3' 'sox' 'libvisual' 'mjpegtools' 'python' 'ffmpeg' 'jack' 'fftw' 'glu' 'schroedinger')
+depends=('mplayer' 'imagemagick' 'gtk3' 'sox' 'libvisual' 'mjpegtools' 'python' 'ffmpeg' 'jack' 'fftw' 'glu' 'schroedinger' 'libtirpc')
 optdepends=('sdl' 'libogg' 'mkvtoolnix-cli' 'libmatroska' 'ogmtools' 'libavc1394' 'dvgrab' 'cdrkit' 'lame' 'youtube-dl' 'opencv')
 makedepends=('pkg-config')
 options=(!emptydirs)
@@ -16,6 +16,8 @@ md5sums=('abba27bc112513a57a0fd0ed71bec366')
 
 build() {
   cd ${pkgname}-${pkgver}
+  CPPFLAGS+=" -I/usr/include/tirpc/"
+  LDFLAGS+=" -ltirpc"
   ./configure --prefix=/usr --enable-turbo --disable-doxygen
   make
 }

Offline

Board footer

Powered by FluxBB