Skip to content
  • Petri Hintukainen's avatar
    do not install dsm plugin twice · 865d4b77
    Petri Hintukainen authored and Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf committed
    On ma, 2015-03-16 at 13:59 +0300, Rémi Denis-Courmont wrote:
    > Le 2015-03-16 13:24, Petri Hintukainen a écrit :
    > > I tried to enable dsm access plugin in Linux (to get directory
    > > browsing
    > > support). But "make install" failed with error:
    > >
    > > libtool: install: error: cannot install `libdsm_plugin.la' to a
    > > directory not ending in /usr/lib/vlc/plugins/services_discovery
    > >
    > > It looks like the module is installed twice: first to access/, then
    > > to
    > > services_discovery/. Installing it only to services_discovery/ seems
    > > to
    > > work.
    >
    > The (rest of the) Makefile rules are in access/ though...
    
    Removing it from services_discovery/Makefile.am in commit
    http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=42350148049e6a91db1f6876d1e0765640da0f7d
    
    
    didn't fix the problem with make install.
    
    With
    ../configure --prefix=/usr --enable-dsm --disable-smb
    make && sudo make install
    
    I still get
    
    libtool: install: error: cannot install `libdsm_plugin.la' to a
    directory not ending in /usr/lib/vlc/plugins/services_discovery
    
    Alternative patch attached.
    
    (or maybe I have broken libtool ... ?)
    
    >From 43e5502bb44f8611eb1d61cc8fa6c1c711dce32b Mon Sep 17 00:00:00 2001
    From: Petri Hintukainen <phintuka@gmail.com>
    Date: Tue, 17 Mar 2015 09:52:47 +0200
    Subject: [PATCH] dsm: fix runtime library search path
    
    Fixes "libtool: install: error: cannot install `libdsm_plugin.la'
    to a directory not ending in /usr/lib/vlc/plugins/services_discovery"
    
    Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
    865d4b77