DivX support for Mepis

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 <
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
tried line-by-line?
Posts: 4864
have you considered working through this script line by line until either it hangs or you succeed?