Announcement

Collapse
No announcement yet.

attempting to install a plugin for VLC Media player

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    attempting to install a plugin for VLC Media player

    Linux - Ubuntu 14.04 trusty, (64-bit), 3.13.0-24-generic,
    4 x AMD Athlon(tm) II X4 645 Processor, Memory 8.0 GiB
    Audio: Card-1: NVIDIA GF116 High Definition Audio Controller driver: snd_hda_intel Sound: ALSA ver: k3.12.0-7-generic Logitech driver: USB Audio

    Code:
    I am attempting to install a plugin for VLC Media player:
    Unfortunately I miss-read the install procedure for VLC srpos plugin (libsrpos_plugin-0.3.tar.gz)
    INSTALL PROCEDURE:
    (Download libsrpos_plugin-*.tar.gz package;
    Install libvlc-dev package;
    Build and install plugin module (Use configure options to specify VLC include/library/output paths (--with-vlc-*-path options:
    ./configure && make && make install)
    
    My initial (incorrect) attempt:
    bumpy@bumpyputer:~/Downloads/VLC Files/libsrpos_plugin-0.3/libsrpos_plugin-0.3$ ./configure  
    checking for a BSD-compatible install... /usr/bin/install -c                                 
    checking whether build environment is sane... yes                                            
    checking for a thread-safe mkdir -p... /bin/mkdir -p                                         
    checking for gawk... gawk                                                                    
    checking whether make sets $(MAKE)... yes                                                    
    configure: WARNING: Libtool does not cope well with whitespace in `pwd`                      
    checking build system type... x86_64-unknown-linux-gnu                                       
    checking host system type... x86_64-unknown-linux-gnu
    checking how to print strings... printf
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables... 
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... gcc3
    checking for a sed that does not truncate output... /bin/sed
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for fgrep... /bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
    checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for ar... ar
    checking for archiver @FILE support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for sysroot... no
    checking for mt... mt
    checking if mt is a manifest tool... no
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking for shl_load... no
    checking for shl_load in -ldld... no
    checking for dlopen... no
    checking for dlopen in -ldl... yes
    checking whether a program can dlopen itself... yes
    checking whether a statically linked program can dlopen itself... no
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ISO C89... (cached) none needed
    checking dependency style of gcc... (cached) gcc3
    checking for gcc option to accept ISO C99... -std=gnu99
    checking for an ANSI C-conforming const... yes
    checking for ANSI C header files... (cached) yes
    checking vlc_plugin.h usability... yes
    checking vlc_plugin.h presence... yes
    checking for vlc_plugin.h... yes
    checking for main in -lvlccore... yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: executing depfiles commands
    config.status: executing libtool commands
    
    bumpy@bumpyputer:~/Downloads/VLC Files/libsrpos_plugin-0.3/libsrpos_plugin-0.3$ make
    /bin/bash ./libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DPACKAGE_NAME=\"libsrpos_plugin\" -DPACKAGE_TARNAME=\"libsrpos_plugin\" -DPACKAGE_VERSION=\"0.3\" -DPACKAGE_STRING=\"libsrpos_plugin\ 0.3\" -DPACKAGE_BUGREPORT=\"artemsen@gmail.com\" -DPACKAGE_URL=\"http://code.google.com/p/vlc-srpos-plugin\" -DPACKAGE=\"libsrpos_plugin\" -DVERSION=\"0.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE_LIBVLCCORE=1 -I.  -D__PLUGIN__ -DMODULE_STRING=\"srpos\" -I/usr/include/vlc/plugins  -g -O2 -MT libsrpos_plugin_la-srpos.lo -MD -MP -MF .deps/libsrpos_plugin_la-srpos.Tpo -c -o libsrpos_plugin_la-srpos.lo `test -f 'srpos.c' || echo './'`srpos.c
    libtool: compile:  gcc -std=gnu99 -DPACKAGE_NAME=\"libsrpos_plugin\" -DPACKAGE_TARNAME=\"libsrpos_plugin\" -DPACKAGE_VERSION=\"0.3\" "-DPACKAGE_STRING=\"libsrpos_plugin 0.3\"" -DPACKAGE_BUGREPORT=\"artemsen@gmail.com\" -DPACKAGE_URL=\"http://code.google.com/p/vlc-srpos-plugin\" -DPACKAGE=\"libsrpos_plugin\" -DVERSION=\"0.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE_LIBVLCCORE=1 -I. -D__PLUGIN__ -DMODULE_STRING=\"srpos\" -I/usr/include/vlc/plugins -g -O2 -MT libsrpos_plugin_la-srpos.lo -MD -MP -MF .deps/libsrpos_plugin_la-srpos.Tpo -c srpos.c  -fPIC -DPIC -o .libs/libsrpos_plugin_la-srpos.o
    mv -f .deps/libsrpos_plugin_la-srpos.Tpo .deps/libsrpos_plugin_la-srpos.Plo
    /bin/bash ./libtool --tag=CC   --mode=link gcc -std=gnu99  -g -O2 -module -shared -avoid-version -no-undefined -static-libgcc -o libsrpos_plugin.la -rpath /usr/lib/vlc/plugins libsrpos_plugin_la-srpos.lo  -lvlccore 
    libtool: link: gcc -shared  -fPIC -DPIC  .libs/libsrpos_plugin_la-srpos.o   -lvlccore  -O2 -static-libgcc   -Wl,-soname -Wl,libsrpos_plugin.so -o .libs/libsrpos_plugin.so
    libtool: link: ( cd ".libs" && rm -f "libsrpos_plugin.la" && ln -s "../libsrpos_plugin.la" "libsrpos_plugin.la" )
    bumpy@bumpyputer:~/Downloads/VLC Files/libsrpos_plugin-0.3/libsrpos_plugin-0.3$ make install
    make[1]: Entering directory `/home/bumpy/Downloads/VLC Files/libsrpos_plugin-0.3/libsrpos_plugin-0.3'
    test -z "/usr/lib/vlc/plugins" || /bin/mkdir -p "/usr/lib/vlc/plugins"
     /bin/bash ./libtool   --mode=install /usr/bin/install -c   libsrpos_plugin.la '/usr/lib/vlc/plugins'
    libtool: install: /usr/bin/install -c .libs/libsrpos_plugin.so /usr/lib/vlc/plugins/libsrpos_plugin.so
    /usr/bin/install: cannot create regular file '/usr/lib/vlc/plugins/libsrpos_plugin.so': Permission denied
    make[1]: *** [install-libLTLIBRARIES] Error 1
    make[1]: Leaving directory `/home/bumpy/Downloads/VLC Files/libsrpos_plugin-0.3/libsrpos_plugin-0.3'
    make: *** [install-am] Error 2
    bumpy@bumpyputer:~/Downloads/VLC Files/libsrpos_plugin-0.3/libsrpos_plugin-0.3$ make install --with-vlc-*-path options
    make: unrecognized option '--with-vlc-*-path'
    Usage: make [options] [target] ...
    Options:
      -b, -m                      Ignored for compatibility.
      -B, --always-make           Unconditionally make all targets.
      -C DIRECTORY, --directory=DIRECTORY
                                  Change to DIRECTORY before doing anything.
      -d                          Print lots of debugging information.
      --debug[=FLAGS]             Print various types of debugging information.
      -e, --environment-overrides
                                  Environment variables override makefiles.
      -f FILE, --file=FILE, --makefile=FILE
                                  Read FILE as a makefile.
      -h, --help                  Print this message and exit.
      -i, --ignore-errors         Ignore errors from commands.
      -I DIRECTORY, --include-dir=DIRECTORY
                                  Search DIRECTORY for included makefiles.
      -j [N], --jobs[=N]          Allow N jobs at once; infinite jobs with no arg.
      -k, --keep-going            Keep going when some targets can't be made.
      -l [N], --load-average[=N], --max-load[=N]
                                  Don't start multiple jobs unless load is below N.
      -L, --check-symlink-times   Use the latest mtime between symlinks and target.
      -n, --just-print, --dry-run, --recon
                                  Don't actually run any commands; just print them.
      -o FILE, --old-file=FILE, --assume-old=FILE
                                  Consider FILE to be very old and don't remake it.
      -p, --print-data-base       Print make's internal database.
      -q, --question              Run no commands; exit status says if up to date.
      -r, --no-builtin-rules      Disable the built-in implicit rules.
      -R, --no-builtin-variables  Disable the built-in variable settings.
      -s, --silent, --quiet       Don't echo commands.
      -S, --no-keep-going, --stop
                                  Turns off -k.
      -t, --touch                 Touch targets instead of remaking them.
      -v, --version               Print the version number of make and exit.
      -w, --print-directory       Print the current directory.
      --no-print-directory        Turn off -w, even if it was turned on implicitly.
      -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
                                  Consider FILE to be infinitely new.
      --warn-undefined-variables  Warn when an undefined variable is referenced.I am attempting to install a plugin for VLC Media player:
    Unfortunately I miss-read the install procedure for VLC srpos plugin (libsrpos_plugin-0.3.tar.gz)
    INSTALL PROCEDURE:
    (Download libsrpos_plugin-*.tar.gz package;
    Install libvlc-dev package;
    Build and install plugin module (Use configure options to specify VLC include/library/output paths (--with-vlc-*-path options:
    ./configure && make && make install)
    
    My initial (incorrect) attempt:
    bumpy@bumpyputer:~/Downloads/VLC Files/libsrpos_plugin-0.3/libsrpos_plugin-0.3$ ./configure  
    checking for a BSD-compatible install... /usr/bin/install -c                                 
    checking whether build environment is sane... yes                                            
    checking for a thread-safe mkdir -p... /bin/mkdir -p                                         
    checking for gawk... gawk                                                                    
    checking whether make sets $(MAKE)... yes                                                    
    configure: WARNING: Libtool does not cope well with whitespace in `pwd`                      
    checking build system type... x86_64-unknown-linux-gnu                                       
    checking host system type... x86_64-unknown-linux-gnu
    checking how to print strings... printf
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables... 
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... gcc3
    checking for a sed that does not truncate output... /bin/sed
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for fgrep... /bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
    checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for ar... ar
    checking for archiver @FILE support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for sysroot... no
    checking for mt... mt
    checking if mt is a manifest tool... no
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking for shl_load... no
    checking for shl_load in -ldld... no
    checking for dlopen... no
    checking for dlopen in -ldl... yes
    checking whether a program can dlopen itself... yes
    checking whether a statically linked program can dlopen itself... no
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ISO C89... (cached) none needed
    checking dependency style of gcc... (cached) gcc3
    checking for gcc option to accept ISO C99... -std=gnu99
    checking for an ANSI C-conforming const... yes
    checking for ANSI C header files... (cached) yes
    checking vlc_plugin.h usability... yes
    checking vlc_plugin.h presence... yes
    checking for vlc_plugin.h... yes
    checking for main in -lvlccore... yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: executing depfiles commands
    config.status: executing libtool commands
    
    bumpy@bumpyputer:~/Downloads/VLC Files/libsrpos_plugin-0.3/libsrpos_plugin-0.3$ make
    /bin/bash ./libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DPACKAGE_NAME=\"libsrpos_plugin\" -DPACKAGE_TARNAME=\"libsrpos_plugin\" -DPACKAGE_VERSION=\"0.3\" -DPACKAGE_STRING=\"libsrpos_plugin\ 0.3\" -DPACKAGE_BUGREPORT=\"artemsen@gmail.com\" -DPACKAGE_URL=\"http://code.google.com/p/vlc-srpos-plugin\" -DPACKAGE=\"libsrpos_plugin\" -DVERSION=\"0.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE_LIBVLCCORE=1 -I.  -D__PLUGIN__ -DMODULE_STRING=\"srpos\" -I/usr/include/vlc/plugins  -g -O2 -MT libsrpos_plugin_la-srpos.lo -MD -MP -MF .deps/libsrpos_plugin_la-srpos.Tpo -c -o libsrpos_plugin_la-srpos.lo `test -f 'srpos.c' || echo './'`srpos.c
    libtool: compile:  gcc -std=gnu99 -DPACKAGE_NAME=\"libsrpos_plugin\" -DPACKAGE_TARNAME=\"libsrpos_plugin\" -DPACKAGE_VERSION=\"0.3\" "-DPACKAGE_STRING=\"libsrpos_plugin 0.3\"" -DPACKAGE_BUGREPORT=\"artemsen@gmail.com\" -DPACKAGE_URL=\"http://code.google.com/p/vlc-srpos-plugin\" -DPACKAGE=\"libsrpos_plugin\" -DVERSION=\"0.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE_LIBVLCCORE=1 -I. -D__PLUGIN__ -DMODULE_STRING=\"srpos\" -I/usr/include/vlc/plugins -g -O2 -MT libsrpos_plugin_la-srpos.lo -MD -MP -MF .deps/libsrpos_plugin_la-srpos.Tpo -c srpos.c  -fPIC -DPIC -o .libs/libsrpos_plugin_la-srpos.o
    mv -f .deps/libsrpos_plugin_la-srpos.Tpo .deps/libsrpos_plugin_la-srpos.Plo
    /bin/bash ./libtool --tag=CC   --mode=link gcc -std=gnu99  -g -O2 -module -shared -avoid-version -no-undefined -static-libgcc -o libsrpos_plugin.la -rpath /usr/lib/vlc/plugins libsrpos_plugin_la-srpos.lo  -lvlccore 
    libtool: link: gcc -shared  -fPIC -DPIC  .libs/libsrpos_plugin_la-srpos.o   -lvlccore  -O2 -static-libgcc   -Wl,-soname -Wl,libsrpos_plugin.so -o .libs/libsrpos_plugin.so
    libtool: link: ( cd ".libs" && rm -f "libsrpos_plugin.la" && ln -s "../libsrpos_plugin.la" "libsrpos_plugin.la" )
    bumpy@bumpyputer:~/Downloads/VLC Files/libsrpos_plugin-0.3/libsrpos_plugin-0.3$ make install
    make[1]: Entering directory `/home/bumpy/Downloads/VLC Files/libsrpos_plugin-0.3/libsrpos_plugin-0.3'
    test -z "/usr/lib/vlc/plugins" || /bin/mkdir -p "/usr/lib/vlc/plugins"
     /bin/bash ./libtool   --mode=install /usr/bin/install -c   libsrpos_plugin.la '/usr/lib/vlc/plugins'
    libtool: install: /usr/bin/install -c .libs/libsrpos_plugin.so /usr/lib/vlc/plugins/libsrpos_plugin.so
    /usr/bin/install: cannot create regular file '/usr/lib/vlc/plugins/libsrpos_plugin.so': Permission denied
    make[1]: *** [install-libLTLIBRARIES] Error 1
    make[1]: Leaving directory `/home/bumpy/Downloads/VLC Files/libsrpos_plugin-0.3/libsrpos_plugin-0.3'
    make: *** [install-am] Error 2
    bumpy@bumpyputer:~/Downloads/VLC Files/libsrpos_plugin-0.3/libsrpos_plugin-0.3$ make install --with-vlc-*-path options
    make: unrecognized option '--with-vlc-*-path'
    Usage: make [options] [target] ...
    Options:
      -b, -m                      Ignored for compatibility.
      -B, --always-make           Unconditionally make all targets.
      -C DIRECTORY, --directory=DIRECTORY
                                  Change to DIRECTORY before doing anything.
      -d                          Print lots of debugging information.
      --debug[=FLAGS]             Print various types of debugging information.
      -e, --environment-overrides
                                  Environment variables override makefiles.
      -f FILE, --file=FILE, --makefile=FILE
                                  Read FILE as a makefile.
      -h, --help                  Print this message and exit.
      -i, --ignore-errors         Ignore errors from commands.
      -I DIRECTORY, --include-dir=DIRECTORY
                                  Search DIRECTORY for included makefiles.
      -j [N], --jobs[=N]          Allow N jobs at once; infinite jobs with no arg.
      -k, --keep-going            Keep going when some targets can't be made.
      -l [N], --load-average[=N], --max-load[=N]
                                  Don't start multiple jobs unless load is below N.
      -L, --check-symlink-times   Use the latest mtime between symlinks and target.
      -n, --just-print, --dry-run, --recon
                                  Don't actually run any commands; just print them.
      -o FILE, --old-file=FILE, --assume-old=FILE
                                  Consider FILE to be very old and don't remake it.
      -p, --print-data-base       Print make's internal database.
      -q, --question              Run no commands; exit status says if up to date.
      -r, --no-builtin-rules      Disable the built-in implicit rules.
      -R, --no-builtin-variables  Disable the built-in variable settings.
      -s, --silent, --quiet       Don't echo commands.
      -S, --no-keep-going, --stop
                                  Turns off -k.
      -t, --touch                 Touch targets instead of remaking them.
      -v, --version               Print the version number of make and exit.
      -w, --print-directory       Print the current directory.
      --no-print-directory        Turn off -w, even if it was turned on implicitly.
      -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
                                  Consider FILE to be infinitely new.
      --warn-undefined-variables  Warn when an undefined variable is referenced.
    How can I correct this?

    #2
    You need to use sudo for the make install portion. Installing requires root access to be able to copy, create, and write to files in system directories. The configure and make portions do not,

    So the steps needed to build:
    sudo apt-get install libvlccore-dev libvlc-dev
    ./configure
    make
    sudo make install

    Comment


      #3
      Am still confused doing this - not my cup-of-tea!
      Would you kindly be more explicit...

      This is my 2nd attempt:
      Code:
      bumpy@bumpyputer:~/Downloads/VLC Plugins/libsrpos_plugin-0.3$ ./configure
      checking for a BSD-compatible install... /usr/bin/install -c
      checking whether build environment is sane... yes
      checking for a thread-safe mkdir -p... /bin/mkdir -p
      checking for gawk... gawk
      checking whether make sets $(MAKE)... yes
      configure: WARNING: Libtool does not cope well with whitespace in `pwd`
      checking build system type... x86_64-unknown-linux-gnu
      checking host system type... x86_64-unknown-linux-gnu
      checking how to print strings... printf
      checking for style of include used by make... GNU
      checking for gcc... gcc
      checking whether the C compiler works... yes
      checking for C compiler default output file name... a.out
      checking for suffix of executables... 
      checking whether we are cross compiling... no
      checking for suffix of object files... o
      checking whether we are using the GNU C compiler... yes
      checking whether gcc accepts -g... yes
      checking for gcc option to accept ISO C89... none needed
      checking dependency style of gcc... gcc3
      checking for a sed that does not truncate output... /bin/sed
      checking for grep that handles long lines and -e... /bin/grep
      checking for egrep... /bin/grep -E
      checking for fgrep... /bin/grep -F
      checking for ld used by gcc... /usr/bin/ld
      checking if the linker (/usr/bin/ld) is GNU ld... yes
      checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
      checking the name lister (/usr/bin/nm -B) interface... BSD nm
      checking whether ln -s works... yes
      checking the maximum length of command line arguments... 1572864
      checking whether the shell understands some XSI constructs... yes
      checking whether the shell understands "+="... yes
      checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
      checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
      checking for /usr/bin/ld option to reload object files... -r
      checking for objdump... objdump
      checking how to recognize dependent libraries... pass_all
      checking for dlltool... no
      checking how to associate runtime and link libraries... printf %s\n
      checking for ar... ar
      checking for archiver @FILE support... @
      checking for strip... strip
      checking for ranlib... ranlib
      checking command to parse /usr/bin/nm -B output from gcc object... ok
      checking for sysroot... no
      checking for mt... mt
      checking if mt is a manifest tool... no
      checking how to run the C preprocessor... gcc -E
      checking for ANSI C header files... yes
      checking for sys/types.h... yes
      checking for sys/stat.h... yes
      checking for stdlib.h... yes
      checking for string.h... yes
      checking for memory.h... yes
      checking for strings.h... yes
      checking for inttypes.h... yes
      checking for stdint.h... yes
      checking for unistd.h... yes
      checking for dlfcn.h... yes
      checking for objdir... .libs
      checking if gcc supports -fno-rtti -fno-exceptions... no
      checking for gcc option to produce PIC... -fPIC -DPIC
      checking if gcc PIC flag -fPIC -DPIC works... yes
      checking if gcc static flag -static works... yes
      checking if gcc supports -c -o file.o... yes
      checking if gcc supports -c -o file.o... (cached) yes
      checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
      checking whether -lc should be explicitly linked in... no
      checking dynamic linker characteristics... GNU/Linux ld.so
      checking how to hardcode library paths into programs... immediate
      checking for shl_load... no
      checking for shl_load in -ldld... no
      checking for dlopen... no
      checking for dlopen in -ldl... yes
      checking whether a program can dlopen itself... yes
      checking whether a statically linked program can dlopen itself... no
      checking whether stripping libraries is possible... yes
      checking if libtool supports shared libraries... yes
      checking whether to build shared libraries... yes
      checking whether to build static libraries... no
      checking for gcc... (cached) gcc
      checking whether we are using the GNU C compiler... (cached) yes
      checking whether gcc accepts -g... (cached) yes
      checking for gcc option to accept ISO C89... (cached) none needed
      checking dependency style of gcc... (cached) gcc3
      checking for gcc option to accept ISO C99... -std=gnu99
      checking for an ANSI C-conforming const... yes
      checking for ANSI C header files... (cached) yes
      checking vlc_plugin.h usability... yes
      checking vlc_plugin.h presence... yes
      checking for vlc_plugin.h... yes
      checking for main in -lvlccore... yes
      configure: creating ./config.status
      config.status: creating Makefile
      config.status: executing depfiles commands
      config.status: executing libtool commands
      bumpy@bumpyputer:~/Downloads/VLC Plugins/libsrpos_plugin-0.3$ make
      /bin/bash ./libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DPACKAGE_NAME=\"libsrpos_plugin\" -DPACKAGE_TARNAME=\"libsrpos_plugin\" -DPACKAGE_VERSION=\"0.3\" -DPACKAGE_STRING=\"libsrpos_plugin\ 0.3\" -DPACKAGE_BUGREPORT=\"artemsen@gmail.com\" -DPACKAGE_URL=\"http://code.google.com/p/vlc-srpos-plugin\" -DPACKAGE=\"libsrpos_plugin\" -DVERSION=\"0.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE_LIBVLCCORE=1 -I.  -D__PLUGIN__ -DMODULE_STRING=\"srpos\" -I/usr/include/vlc/plugins  -g -O2 -MT libsrpos_plugin_la-srpos.lo -MD -MP -MF .deps/libsrpos_plugin_la-srpos.Tpo -c -o libsrpos_plugin_la-srpos.lo `test -f 'srpos.c' || echo './'`srpos.c
      libtool: compile:  gcc -std=gnu99 -DPACKAGE_NAME=\"libsrpos_plugin\" -DPACKAGE_TARNAME=\"libsrpos_plugin\" -DPACKAGE_VERSION=\"0.3\" "-DPACKAGE_STRING=\"libsrpos_plugin 0.3\"" -DPACKAGE_BUGREPORT=\"artemsen@gmail.com\" -DPACKAGE_URL=\"http://code.google.com/p/vlc-srpos-plugin\" -DPACKAGE=\"libsrpos_plugin\" -DVERSION=\"0.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE_LIBVLCCORE=1 -I. -D__PLUGIN__ -DMODULE_STRING=\"srpos\" -I/usr/include/vlc/plugins -g -O2 -MT libsrpos_plugin_la-srpos.lo -MD -MP -MF .deps/libsrpos_plugin_la-srpos.Tpo -c srpos.c  -fPIC -DPIC -o .libs/libsrpos_plugin_la-srpos.o
      mv -f .deps/libsrpos_plugin_la-srpos.Tpo .deps/libsrpos_plugin_la-srpos.Plo
      /bin/bash ./libtool --tag=CC   --mode=link gcc -std=gnu99  -g -O2 -module -shared -avoid-version -no-undefined -static-libgcc -o libsrpos_plugin.la -rpath /usr/lib/vlc/plugins libsrpos_plugin_la-srpos.lo  -lvlccore 
      libtool: link: gcc -shared  -fPIC -DPIC  .libs/libsrpos_plugin_la-srpos.o   -lvlccore  -O2 -static-libgcc   -Wl,-soname -Wl,libsrpos_plugin.so -o .libs/libsrpos_plugin.so
      libtool: link: ( cd ".libs" && rm -f "libsrpos_plugin.la" && ln -s "../libsrpos_plugin.la" "libsrpos_plugin.la" )
      bumpy@bumpyputer:~/Downloads/VLC Plugins/libsrpos_plugin-0.3$ make install
      make[1]: Entering directory `/home/bumpy/Downloads/VLC Plugins/libsrpos_plugin-0.3'
      test -z "/usr/lib/vlc/plugins" || /bin/mkdir -p "/usr/lib/vlc/plugins"
       /bin/bash ./libtool   --mode=install /usr/bin/install -c   libsrpos_plugin.la '/usr/lib/vlc/plugins'
      libtool: install: /usr/bin/install -c .libs/libsrpos_plugin.so /usr/lib/vlc/plugins/libsrpos_plugin.so
      /usr/bin/install: cannot create regular file '/usr/lib/vlc/plugins/libsrpos_plugin.so': Permission denied
      make[1]: *** [install-libLTLIBRARIES] Error 1
      make[1]: Leaving directory `/home/bumpy/Downloads/VLC Plugins/libsrpos_plugin-0.3'
      make: *** [install-am] Error 2
      bumpy@bumpyputer:~/Downloads/VLC Plugins/libsrpos_plugin-0.3$ sudo make install
      [sudo] password for bumpy: 
      make[1]: Entering directory `/home/bumpy/Downloads/VLC Plugins/libsrpos_plugin-0.3'
      test -z "/usr/lib/vlc/plugins" || /bin/mkdir -p "/usr/lib/vlc/plugins"
       /bin/bash ./libtool   --mode=install /usr/bin/install -c   libsrpos_plugin.la '/usr/lib/vlc/plugins'
      libtool: install: /usr/bin/install -c .libs/libsrpos_plugin.so /usr/lib/vlc/plugins/libsrpos_plugin.so
      libtool: install: /usr/bin/install -c .libs/libsrpos_plugin.lai /usr/lib/vlc/plugins/libsrpos_plugin.la
      /bin/bash: /home/bumpy/Downloads/VLC: No such file or directory
      make[1]: *** [install-libLTLIBRARIES] Error 127
      make[1]: Leaving directory `/home/bumpy/Downloads/VLC Plugins/libsrpos_plugin-0.3'
      make: *** [install-am] Error 2
      bumpy@bumpyputer:~/Downloads/VLC Plugins/libsrpos_plugin-0.3$ make installcheck
      make: Nothing to be done for `installcheck'.
      bumpy@bumpyputer:~/Downloads/VLC Plugins/libsrpos_plugin-0.3$
      I am concerned with the Errors 1 & 2 near the end of the code. Do I have a problem, & if so, how can I fix them?

      Comment


        #4
        Sometimes deleting the entire source folder and starting from scratch helps.
        I don't know the error message 127 means. I just did exactly what I typed for directions, and it worked.


        Oooh I think I got it
        Linux on the command line is very picky about directory names with spaces in them. Try renaming the folder "VLC Plugins" to something without a space, and try sudo make install again.

        /home/bumpy/Downloads/VLC: No such file or directory << notice bash is seeing "/home/bumpy/Downloads/VLC" and not " /home/bumpy/Downloads/VLC Plugins"
        Last edited by claydoh; Jun 30, 2014, 05:12 PM.

        Comment

        Working...
        X