====== OpenBSD ====== ==== Installation ==== Once the system is installed, install git: <code> echo https://ftp.openbsd.org/pub/OpenBSD > /etc/installurl pkg_add git </code> Install buildtime dependencies: <code> pkg_add autoconf-2.69p2 automake-1.15.1 </code> Install runtime dependencies: <code> pkg_add libdvdread </code> ==== dvd_info ==== Clone repo: <code> git clone https://github.com/beandog/dvd_info </code> Version 1.0 installs just fine once autotools, libdvdread, and libdvdcss are on the system. <code> AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.15 autoreconf -fi ./configure make </code> Default device is ''/dev/rcd0c'' ==== bluray_info ==== Both libaacs and libbluray are in packages. Can't get bluray_info to compile. <code> $ gcc -o bluray_info bluray_info.c bluray_video.c bluray_audio.c bluray_time.c -std=c99 -I/usr/local/include -L/usr/local/lib -lbluray /tmp//cczZG3K2.o: In function `main': bluray_info.c:(.text+0x5a2): warning: warning: sprintf() is often misused, please use snprintf() /usr/local/lib/libbluray.so.3.0: warning: warning: strcpy() is almost always misused, please use strlcpy() /usr/local/lib/libbluray.so.3.0: warning: warning: rand() may return deterministic values, is that what you want? /usr/local/lib/libxml2.so.15.2: warning: warning: strcat() is almost always misused, please use strlcat() /usr/bin/ld: warning: libfreetype.so.28.1, needed by /usr/local/lib/libbluray.so.3.0, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libfontconfig.so.11.0, needed by /usr/local/lib/libbluray.so.3.0, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libpthread-stubs.so.2.0, needed by /usr/local/lib/libbluray.so.3.0, not found (try using -rpath or -rpath-link) /usr/local/lib/libbluray.so.3.0: undefined reference to `FT_Init_FreeType' /usr/local/lib/libbluray.so.3.0: undefined reference to `FT_Done_Face' /usr/local/lib/libbluray.so.3.0: undefined reference to `FT_GlyphSlot_Embolden' /usr/local/lib/libbluray.so.3.0: undefined reference to `FT_GlyphSlot_Oblique' /usr/local/lib/libbluray.so.3.0: undefined reference to `FT_New_Memory_Face' /usr/local/lib/libbluray.so.3.0: undefined reference to `FT_Load_Char' /usr/local/lib/libbluray.so.3.0: undefined reference to `FT_Done_FreeType' /usr/local/lib/libbluray.so.3.0: undefined reference to `FT_Set_Char_Size' collect2: ld returned 1 exit status </code>
Trace:
Article
Show pagesource
Log In
Search
Toolbox
What links here
Media Manager
Site index
Permanent link
Cite this article