Archive for the ‘Fedora’ Category

Fedora aMsn – Loading TkCximage failed

Wednesday, January 7th, 2009

System: Fedora 10

Software: aMsn

Problem: After upgrading my server from Fedora 8 to Fedora 10, when I now
start aMsn, I get the following error: “Loading TkCximage failed. This module
is needed to run aMSN. Please compile aMSN first, instructions on how to
compile are located in the file Install.”

Now, the aforementioned “INSTALL” file is very basic and not really that
helpful unless of course you happen to be a LINUX guru OR you use it as a
reference during or after following my solution.

Synopsis: Obviously Google is your friend in these situations and I found lots
of people all with the same error. The problem was that they were using
earlier versions of Fedora, up to version 4 and their fixes did not work. I
also found solutions for different flavours of LINUX – from Debian to
ArchLinux to Ubuntu and Gentoo. I could not find any specific solutions to my
specific situation. So I did what any techie would do and I studied the
various solutions, even trying some of them, put them through the grinder and
eventually created a solution that fixed my specific issue. I hope it helps
other people whether or not they have my exact error.

Solution: Ok, lets get cracking on. To start press any key…. oops no sorry
was daydreaming for a moment. Start by opening a shell and login as root and
then let the fun begin…

$ su -                             # Logs you in as root. You will be prompted for password
$ cd /home/username    # Move to our home directory. Substitute username with
# your own actual login username.
$ yum remove amsn
$ yum remove tcl            # This will remove tcl and tk and other dependencies

# Time to rebuild it – can we fix it? Yes we can!!

$ yum install amsn          # This will re-install tcl and tk and other dependencies.
# Re-installing aMsn is not the important bit here we are
# just doing it to get the relevant tcl and tk dependencies.

# Now some extra packages that should be installed – Remember you get information about
# any package by doing ‘yum info <name>’ and I recommend you do so to read the descriptions
# which should hopefully make it clear why they are needed.

$ yum install tcl-devel
$ yum install tk-devel
$ yum install tcltls
$ yum install imlib
$ yum install imlib-devel

# Now we are going to backup the aMsn directory. Please note that this step
# is entirely optional.

$ mkdir a-bak
$ mv /usr/share/amsn/* a-bak

# Now we need the aMsn source tar ball which you can download and move here any
# way you like. I am going to use WGET because I know the link to the latest
# version at time of writing. The source package is used to build a binary
# for your Linux distribution, Fedora 10 in my case. I’m also going to move
# into my Download directory because that is where I generally store my
# downloads – username is your login username.

$ cd /home/username/Download
$ wget http://prdownloads.sourceforge.net/amsn/amsn-0.97.2.tar.bz2
$ ls -lth amsn*
-rw-r–r– 1 root     root     3.3M 2008-07-25 16:14 amsn-0.97.2.tar.bz2

# As you can see from the listing command our aMsn tarball downloaded just
# fine. We now need to unpack the tarball.

$ tar -xvjf amsn-0.97.2.tar.bz2

# By the way if anyone knows how to extract files, with tar, into the
# current working directory then please let me know. So, we now
# have to move into the newly created amsn-0.97.2 directory.

$ cd amsn-0.97.2

# The installation now consists of three commands. The first step verifies
# your system. It stops if a required package cannot be found. The second
# step builds the application. This step could take 2-10 minutes, depending
# on your system. The final third step installs the actual files.

$ ./configure
$ make
$ make install

Job Done! Start aMsn and enjoy chatting to your mates again.

I scoured the internet for a Fedora 10 specific solution but to no avail.
Maybe mine is the first =;-)

I cannot take all the credit though because I came up with the solution by
looking at what other people, using other LINUX distros, did to fix it. So I
have taken bits from their solutions and sorted the wheat from the chaff and
created a solution that works on Fedora 10 and possibly earlier versions of
Fedora too. Enjoy!

Burn an MP3 with K3B

Friday, March 28th, 2008

This article is specifically aimed at Fedora users when using the Gnome desktop. However, it should be easy to translate it to your own specific Linux distro, I think.

When starting/using K3B, you may get the following message:-
————————————————————————————————————————————————–
Mp3 Audio Decoder plugin not found.
K3b could not load or find the Mp3 decoder plugin. This means that you will not be able to create Audio CDs from Mp3 files. Many Linux distributions do not include Mp3 support for legal reasons.
Solution: To enable Mp3 support, please install the MAD Mp3 decoding library as well as the K3b MAD Mp3 decoder plugin (the latter may already be installed but not functional due to the missing libmad). Some distributions allow installation of Mp3 support via an online update tool (i.e. SuSE’s YOU).
————————————————————————————————————————————————–

Now, I had previously installed libmad so initially was somewhat confused by this message as libmad was installed and I thought that this was all that was needed to give me MP3 support. When performing a ‘yum install libmad’ it did not request for any dependencies. So after further research, I was surprised to find I also needed to install libmad-devel (MPEG audio decoder library development files) and madplay (MPEG audio decoder and player) but that was still not the end of it, oh no…

The final piece of the jigsaw was a little K3B plugin by the name of k3b-extras-nonfree-1.0.3-1.lvn8.i386.rpm – should you need the RPM package you can find the relevant one for your disto & version at http://rpm.pbone.net/ and just search on “rpm-mp3″ without the quotes. Currently needed for RedHat and Fedora and you should be able to get the RPM package for your specific version. Or if you prefer then just open a terminal and perform a yum install k3b-extras-nonfree and job done.

***UPDATE*** as of Fedora 10 you should do yum install k3b-extras-freeworld and NOT k3b-extras-nonfree.

In Ubuntu you may only need to Run the following code in a terminal: sudo apt-get install libk3b2-mp3 – unsure as to whether you need the other stuff  (or similar), above?

Now when you run K3B, your system configuration should get the all clear and you can burn your MP3’s using your chosen method.