Skip navigation.
Home
Now Shipping Version 7.0

DivX support for Mepis

m_pav's picture

Posts: 959

I have been trying unsuccessfully to install the latest DivX version from
http://labs.divx.com/DivXLinuxCodec onto my 6.5rc3 system.
It appears the script installer does not finish, but no error codes are generated. I had the same faults when I tried to install it on Mepis 6.01. The script displays the license agreement then goes no further when it is supposed to ask if I agree to the license or not. I can not get any further than this and have to close the konsole window.

I was wondering if somebody could look at the script and see if there is an area that is incompatible with Mepis. I have copied the contents of the script minus the very long license agreement and replaced it with ---- clipped ---- and the last line showing the date

Am I wasting my time, is this already available in Mepis?

#!/bin/bash
LIBDIR=/usr/local/lib
INCLUDEDIR=/usr/local/include

less < ---- CLIPPED ----
February 1, 2006
EOM
echo
echo Do you accept the terms of this agreement? Please type yes or no.
ANSWER=no
read ANSWER
if [ $ANSWER = "yes" ]; then
echo Proceeding with installation
else
echo Aborting installation
exit
fi

GREP_RESULT=`grep /usr/local/lib /etc/ld.so.conf`
if [ -z "$GREP_RESULT" ]; then
echo >> /etc/ld.so.conf
echo $LIBDIR >> /etc/ld.so.conf
fi
TMPDIR=/tmp/.divx
rm -fR $TMPDIR > /dev/null
mkdir $TMPDIR
unzip -d $TMPDIR -P h08pzt4 contents.dat
cp -f $TMPDIR/lib/*.so $LIBDIR/
mkdir $INCLUDEDIR/divx
cp -fr $TMPDIR/include/* $INCLUDEDIR/divx/
LIBNAME=${LIBDIR}/libdivx.so
chown 0 $LIBNAME
chmod 755 $LIBNAME
rm -f $LIBNAME.0
ln -s $LIBNAME $LIBNAME.0
chown 0 $LIBNAME.0
chmod 755 $LIBNAME.0
/sbin/ldconfig
rm -fR $TMPDIR > /dev/null

All help appreciated

Mike P

drlizau's picture

tried line-by-line?

have you considered working through this script line by line until either it hangs or you succeed?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.