Skip to content

Installation Requirements

Zeyphros edited this page Oct 13, 2020 · 17 revisions

Archlinux

pacman -S ffmpeg avahi nodejs npm node-gyp

Fedora

dnf install ffmpeg avahi-compat-libdns_sd-devel nodejs

FreeBSD/FreeNAS

To install Oblecto onto FreeNAS, some dependencies must be installed from the ports collection. First you have to pull the ports repos:

portsnap fetch extract

Then to compile and install ffmpeg and libvips from ports, run:

cd /usr/ports/graphics/vips/ && make install clean
cd /usr/ports/multimedia/ffmpeg && make install clean
cd /usr/ports/www/node && make install clean
cd /usr/ports/www/npm && make install clean
cd /usr/ports/multimedia/py-guessit && make install clean

When installing ffmpeg, be sure to enable LAME support if you wish to make use of remuxing and transcoding. The pre-built package available through the pkg utility does not provide LAME support. LAME is required for the mp3 codec which is the default audio codec used within Oblecto.

Install the other dependencies through pkg using:

pkg install node10 npm-node10 avahi avahi-libdns python

several header files are located in the wrong location on freebsd/freenas. Without the files in the correct location native bindings will not be able to compile

To fix this we can create a symlink the header files from their location in /usr/local/include/ to /usr/include/ using

ln -s /usr/local/include/avahi-compat-libdns_sd/dns_sd.h /usr/include/dns_sd.h
ln -s /usr/local/include/vips /usr/include/vips
ln -s /usr/local/include/glib-2.0/glib.h  /usr/include/glib.h
ln -s /usr/local/include/glib-2.0/glib /usr/include/glib
ln -s /usr/local/lib/glib-2.0/include/glibconfig.h /usr/include/glibconfig.h
ln -s /usr/local/include/glib-2.0/gmodule.h /usr/include/gmodule.h
ln -s /usr/local/include/glib-2.0/gobject /usr/include/gobject
Clone this wiki locally