Archive for Linux

Vmware running on 2.6.35 Sid (aptosid)

Posted in General with tags , , , , on Saturday, September 18, 2010 by Yatta

Ok… Since they got rid of sidux decided to upgrade to the now aptosid (no better name????) Just like before after a new kernel install things are changed up. After a few searches on google I found a fix. (yea the previous fix no longer worked with this one)

thanks to (Nagilum)

cd /tmp
tar xvf /usr/lib/vmware/modules/source/vmmon.tar -C /tmp
perl -pi -e 's,_range,,' vmmon-only/linux/iommu.c
sudo tar cvf /usr/lib/vmware/modules/source/vmmon.tar vmmon-only

and fix some includes of course (this is basically the previous fix):

cd /lib/modules/$(uname -r)/build/include/linux && \
sudo find ../generated/ -type f -exec ln -s {} \;

EDIT:

I’m noticing with some of the newer kernels on my sidux (now aptosid… hate this new name) i have to download linux headers for the new kernel. After every dist-upgrade i have to follow it up with:

sudo apt-get install  linux-headers-$(uname -r)

Then I proceed to fix the various includes.

Advertisements

VLC 1.0.5 via source in Lenny

Posted in General with tags , , on Sunday, March 14, 2010 by Yatta

I’ve installed Lenny on Bertha (HP XW4200) to basically be my multimedia pc…. having most of my saved tvshows, anime and maybe PVR (not sure yet)

I’ve wanted to add to this blog for sometime… but to he honest just been to rass lazy to do a writeup.

Anyway let’s get going with the reason for this post. VLC has always been a simple media player 0.8 is SIMPLE!!!! It was killing me.. i missed my vlc goldeneye!

1. I removed all aspects of vlc

apt-get –purge remove vlc

2. Since i’m going to install via source i need build-essentials

apt-get install build-essential

3. Now i tried to satisfy all the development dependencies

apt-get install libqt4-dev libpostproc-dev libavformat-dev libavcodec-dev libavutil-dev libmad0-dev liba52-0.7.4-dev libhal-dev libdbus-1-dev libfribidi-dev libgcrypt11-dev

I also had to install libx11-dev libxpm-dev x11proto-xext-dev libxext-dev

4. Get the source file from here .

tar -jxvf vlc-1.0.5.tar.bz2

5. Compile then install

./configure –disable-swscale –disable-nls –disable-mozilla

If i never added –disable-nls –disable-mozilla i would of ended up with

configure: error: Buggy GNU/libc (version 2.5 - 2.7) present. VLC would crash; there is no viable work-around for this. Check with your distribution vendor on how to update the glibc run-time.

Adding the 2 above options gets me through.

make

I get this error while trying to compile
/usr/bin/ld: cannot find -lGL

So I had t make a symbolic link

cd /usr/lib

ln -s libGL.so.173.14.09 libGL.so

Then ran the make again…

sudo make install

BAM!!!! vlc 1.0.5 installed!!

Welcome home VLC …. sigh