Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Loeckchen

Pages: [1]
1
Installation issues / Re: Command './mce-installer' not found
« on: January 22, 2008, 08:39:43 pm »
Open a text editor and copy-paste what's in the code-block. Then remove the line as I appended there. Save the document as whatever you want it to be named.

Then do a chmod a+rx filename (filename is what you named the script).

then do ./filename

then you can execute kdesu xterm or gksudo xterm, cd to the temp directory and run the installer script.

EDIT: Still doesn't work - it seems not to recognize the Kubuntu Live CD.

Here is the installer log:
http://nopaste.info/a94f39ea8d.html

2
Installation issues / Re: Command './mce-installer' not found
« on: January 22, 2008, 08:06:49 pm »
So, I have the following script:

Code: [Select]
#!/bin/bash

exec &>/dev/null </dev/null
export DISPLAY=:0
echo ""
echo "Linux MCE Installer Starting ... please wait"
echo ""

# create a temp directory to extract to.
export WRKDIR=`mktemp -d /tmp/selfextract.XXXXXX`

#SKIP=`awk '/^__ARCHIVE_FOLLOWS__/ { print NR + 1; exit 0; }' $0`

# Take the TGZ portion of this file and pipe it to tar.
#tail -n +$SKIP $0 | tar xz -C $WRKDIR

tail -n 5071 /usr/share/mce-installer/mce-installer.sh >/tmp/inst.sh

# execute the installation script

PREV=`pwd`
cd $WRKDIR
tar xzf /tmp/inst.sh
export LD_LIBRARY_PATH=$WRKDIR
export PATH=$PATH:$WRKDIR
if [[ $UID != "0" ]] ;then
        mv ./mce-installer ./mce-installer-user
        echo "#!/bin/bash
              LD_LIBRARY_PATH=$WRKDIR ./mce-installer-user
              " > ./mce-installer
        chmod +x ./mce-installer
        ./mce-installer-user
else
        mkdir -p /home/public/data/samples || :
        cp ./sample.mpg /home/public/data/samples/ || :
        ./mce-installer
fi


# delete the temp files
cd $PREV
rm -rf $WRKDIR

exit 0

But this gets me the error "kdesu cannot connect to X server"

xhost + doesn't work either.

EDIT: It now works.

Delete the line
rm -rf $WRKDIR
from above. Then run: kdesu xterm
In this xterm, go to the /tmp/selfextract.XXXXXXX
There, execute: LD_LIBRARY_PATH=. ./mce-installer

3
Installation issues / Re: Command './mce-installer' not found
« on: January 22, 2008, 07:56:42 pm »
WAIT, I GOT IT WORKING!

I am just writing a small shell script, stand by.

4
Installation issues / Re: Command './mce-installer' not found
« on: January 22, 2008, 07:44:01 pm »
Same problem here. I removed the exec line with /dev/null in the script for it to be more verbose. It says:

gzip: stdin: invalid compressed data..format violated

Maybe the installer is corrupted.

5
Hello!

Is it possible to install a LinuxMCE Core-only version on a command-line only system? I have a nice little XENified homeserver where I could debootstrap a Kubuntu text-mode only in a VM and I'd like to install the LMCE Core there and use other old PCs as Orbiters.

Is that possible?

Pages: [1]