inaes-tic / mbc-playout

Meta project for the playout of the rulz0r
16 stars 14 forks source link

Debian stable repository package incompatibility #2

Open darthpolly opened 11 years ago

darthpolly commented 11 years ago

During a fresh install on a Debian stable partition following the README.md instructions, I found this issues:

None of this packages are found on the stable repository:

apt-get install nodejs
apt-get install npm

Workaround:

# This will install both nodejs and npm from git
git clone https://github.com/joyent/node.git
cd node
./configure
make
sudo make install

Melt libraries outdated

# Installing this way you get MLT melt 0.5.7
apt-get install ffmpeg melt libmlt-dev libmlt++-dev

# Then while trying to compile melted fails throwing
melted_connection.c:262: error: ‘struct mlt_profile_s’ has no member named ‘is_explicit’

Workaround:

git clone git://github.com/mltframework/mlt.git
cd mlt
./configure --enable-gpl
make
sudo make install
sudo ldconfig  # Important before compiling melted

Redis version outdated

# Installing this way you get redis 1.2.6
apt-get install redis-server

# Then while trying to serve caspa, redis throws
Error: ERR unknown command 'subscribe'

Workaround (this one is a little bit uglyer):

# Get and compile last stable
wget http://download.redis.io/redis-stable.tar.gz
tar xvzf redis-stable.tar.gz
cd redis-stable
make
sudo make install
cd utils
sudo ./install_server.sh  # This will ask some data input

Mongo version outdated

This did not caused me troubles but the repo version is 1.4.4 and the production release is 2.4.3

jmrunge commented 11 years ago

Does mlt ./configure or make install required dependencies? Or did you get them installed via failed apt-get? If we are compiling from source everything, we should have a list o dependencies to install via apt-get. This goes for node and mongo too.

xaiki commented 11 years ago

Wrong way. Use back ports or make them. sudo make install, is never the right solution.

We need packages for the melted stack. Libmvcp Libmelted Melted

xaiki commented 11 years ago

@jmrunge if you keep top-posting, I'm going to start throwing increasingly big rocks at you. until it hurts.