How to install Logjam on Mandrake 10.0

Logjam Logo


So you got yourself a nice live journal or some such and now you want to be able to post to it easily using your Mandrake Linux box, but you don't know where to begin.

Well you have come to the right place.

First off, like any project, we need to gather our materials. You should have urpmi already set up and ready. If you don't, go here and set up urpmi on your machine.

Next we need to get the source code for Logjam. The author's home page for the project is here. You will want to download the bziped tarball called logjam-4.4.0.tar.bz2. Storing this file in your user directory is fine.

The next step is to open up a terminal window and unpack the tarball. In the terminal issue the command tar xvjf logjam-4.4.0.tar.bz2. (If your morbidly curious like I am the xvjf stands for extract, verify files, use(j)bzip compression, and force yes to any questions.) Now descend into the directory we just created with cd logjam-4.4.0.

Now type ./configure. (note that's " ./configure", no period at the end.) This starts the configure script to check for all the required packages and libraries LogJam requires. When the script finishes you should see something like the following:

logjam 4.4.0 build configuration:

- Using GTK: yes
  - Using GtkSpell: no
  - Using GtkHTML: no
  - Using librsvg: no
  - Use docklet ("tray icon"): yes
- Using networking backend: curl
- Build XMMS helper: no

Make a note of everything in the list that has a no after it. This is the configure script telling us that we don't have either the packages required or most likely, the development packages to compile.

Now fire up another terminal window. Become root (type su root and enter in root's password.) Use urpmi to update/verify each package that configure says you need. The syntax is urpmi packagename. urpmi will either indicate everything is installed or find the things that are dependent on the package and offer to install them for you. Select yes for anything that urpmi wants to install for the binary and source parts.

urpmi package
Binary Source
libgtkspell0 libgtkspell0-devel
libgtkhtml libgtkhtml-devel
librsvg livrsvg-devel
curl curl-devel
xmms xmms-devel

To make things a little easier I've included the commands here that you can paste into your terminal and save a little time. You should be able to paste the whole thing in and press enter but if you have trouble just enter in one line at a time.

urpmi --force libgtkspell0 libgtkspell0-devel
urpmi --force libgtkhtml-3.0_4 libgtkhtml-3.0_4-devel
urpmi --force librsvg livrsvg-devel
urpmi --force curl curl-devel
urpmi --force xmms xmms-devel

OK. Now we can close down the root terminal window and go back to the window we did the configure in before and run the script again. (Again type ./configure) This time our output should be something like the following:

logjam 4.4.0 build configuration:

- Using GTK: yes
  - Using GtkSpell: yes
  - Using GtkHTML: yes
  - Using librsvg: yes
  - Use docklet ("tray icon"): yes
- Using networking backend: curl
- Build XMMS helper: yes

Now we are ready to compile. Type make into the terminal window. This will compile Logjam.

Since Logjam doesn't have a make test function we will have to see if it everything worked the old fashion way. Move into the scr directory and execute the newly created binary.

cd src
./logjam

If Logjam starts then everything worked and we can move onto the install. Exit Logjam and type cd .. followed by su root (Su will ask for root's password.) then make install. This will install Logjam onto your computer.

Now create a launcher on your desktop (or where ever you like) and start it up. Enter in your user name stuffs and enjoy Logjam }:8>


All images and content © 1998 - 2004 Phantomgraph

Hosted by www.Geocities.ws

1