compiling vlc and vlmc on ubuntu 17.10

This forum is about all development around libVLC.
yvz5
New Cone
New Cone
Posts: 1
Joined: 28 Nov 2017 18:52

compiling vlc and vlmc on ubuntu 17.10

Postby yvz5 » 28 Nov 2017 19:05

hi there, i am really interested in using and contributing to vlmc but I want to test it first. I could not find any binaries for windows. I tried compiling the source code but its impossible. it is literally impossible. how do you do this ? the documentation is also outdated.

anyways, installed virtual box, ubuntu. checked the install.md file in the repository which requires me to compile vlc first. which has 879879879874654987987+ dependencies which does not install automatically. was always something missing. after 6 hours of searching and trying i finally could execute ./configure. looked okay and i executed the command sudo make install. i am trying to compile master branch from vlc

the error im getting is:
YACC codec/webvtt/CSSGrammar.c
byacc: e - line 119 of "/home/dev/vlc/modules/codec/webvtt/CSSGrammar.y", syntax error
%destructor { vlc_css_term_Clean($$); } <term>
^
Makefile:25434: recipe for target 'codec/webvtt/CSSGrammar.c' failed


this is the result:

Code: Select all

bin:/snap/bin:/sbin" ldconfig -n /usr/local/lib ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the 'LD_RUN_PATH' environment variable during linking - use the '-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to '/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- /bin/mkdir -p '/usr/local/include/vlc/plugins' /usr/bin/install -c -m 644 ../include/vlc_about.h '/usr/local/include/vlc/plugins' /bin/mkdir -p '/usr/local/lib/pkgconfig' /usr/bin/install -c -m 644 vlc-plugin.pc '/usr/local/lib/pkgconfig' /bin/mkdir -p '/usr/local/include/vlc/plugins' /usr/bin/install -c -m 644 ../include/vlc_access.h ../include/vlc_actions.h ../include/vlc_addons.h ../include/vlc_aout.h ../include/vlc_aout_volume.h ../include/vlc_arrays.h ../include/vlc_atomic.h ../include/vlc_avcodec.h ../include/vlc_bits.h ../include/vlc_block.h ../include/vlc_block_helper.h ../include/vlc_boxes.h ../include/vlc_charset.h ../include/vlc_codec.h ../include/vlc_common.h ../include/vlc_config.h ../include/vlc_config_cat.h ../include/vlc_configuration.h ../include/vlc_cpu.h ../include/vlc_dialog.h ../include/vlc_demux.h ../include/vlc_epg.h ../include/vlc_es.h ../include/vlc_es_out.h ../include/vlc_events.h ../include/vlc_filter.h ../include/vlc_fourcc.h ../include/vlc_fs.h ../include/vlc_gcrypt.h ../include/vlc_opengl.h ../include/vlc_http.h ../include/vlc_httpd.h ../include/vlc_image.h ../include/vlc_inhibit.h ../include/vlc_input.h ../include/vlc_input_item.h ../include/vlc_interface.h ../include/vlc_keystore.h ../include/vlc_main.h ../include/vlc_md5.h '/usr/local/include/vlc/plugins' /usr/bin/install -c -m 644 ../include/vlc_messages.h ../include/vlc_meta.h ../include/vlc_meta_fetcher.h ../include/vlc_media_library.h ../include/vlc_memstream.h ../include/vlc_mime.h ../include/vlc_modules.h ../include/vlc_mouse.h ../include/vlc_mtime.h ../include/vlc_network.h ../include/vlc_objects.h ../include/vlc_picture.h ../include/vlc_picture_fifo.h ../include/vlc_picture_pool.h ../include/vlc_playlist.h ../include/vlc_plugin.h ../include/vlc_probe.h ../include/vlc_rand.h ../include/vlc_services_discovery.h ../include/vlc_fingerprinter.h ../include/vlc_interrupt.h ../include/vlc_renderer_discovery.h ../include/vlc_sout.h ../include/vlc_spu.h ../include/vlc_stream.h ../include/vlc_stream_extractor.h ../include/vlc_strings.h ../include/vlc_subpicture.h ../include/vlc_text_style.h ../include/vlc_threads.h ../include/vlc_timestamp_helper.h ../include/vlc_tls.h ../include/vlc_url.h ../include/vlc_variables.h ../include/vlc_viewpoint.h ../include/vlc_vlm.h ../include/vlc_video_splitter.h ../include/vlc_vout.h ../include/vlc_vout_display.h ../include/vlc_vout_osd.h '/usr/local/include/vlc/plugins' /usr/bin/install -c -m 644 ../include/vlc_vout_window.h ../include/vlc_xml.h ../include/vlc_xlib.h '/usr/local/include/vlc/plugins' make[4]: Leaving directory '/home/dev/vlc/src' make[3]: Leaving directory '/home/dev/vlc/src' make[2]: Leaving directory '/home/dev/vlc/src' Making install in modules make[2]: Entering directory '/home/dev/vlc/modules' YACC codec/webvtt/CSSGrammar.c byacc: e - line 119 of "/home/dev/vlc/modules/codec/webvtt/CSSGrammar.y", syntax error %destructor { vlc_css_term_Clean($$); } <term> ^ Makefile:25434: recipe for target 'codec/webvtt/CSSGrammar.c' failed make[2]: *** [codec/webvtt/CSSGrammar.c] Error 1 make[2]: Leaving directory '/home/dev/vlc/modules' Makefile:1516: recipe for target 'install-recursive' failed make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory '/home/dev/vlc' Makefile:1982: recipe for target 'install' failed make: *** [install] Error 2

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: compiling vlc and vlmc on ubuntu 17.10

Postby Rémi Denis-Courmont » 28 Nov 2017 22:19

Install bison and rerun configure.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 17 guests