Manythings… so many !

Archive for the ‘How To…’ Category

Fedora 10 /usr/local/lib

Under Fedora 10, when you compile and install some programs and software, usualy the installed libraries goes under /usr/local/lib, the problem is, Fedora doesn’t look to files installed under this folder !!!

How can we fix this ?!

Well, it’s easy, login as root, edit the “/etc/” and add “/usr/local/lib” on the top.

Save the file and run “ldconfig”, that’s all !


DarkRadiant under Fedora 10

From the DarkRadiant site (

DarkRadiant is a customised version basing on GtkRadiant designed for use with the upcoming Dark Mod (, a Thief-inspired modification of the Doom 3 game engine.

It’s like GtkRadiant, but with nicer features

First of all, you must have Doom3 installed !! I don’t think it will work properly with Quake4 (missing dmap command, the map compiler) and I have it with other assets and it’s  working like a charm !

To copmile DarkRadiant under Fedora 10, we’ll need the folowing tools and libraries installed:

“subversion”(svn), “gcc”, “gcc-c++” (g++)

“boost-devel”, “gtk2-devel”, “glew-devel”, “gtkglext-devel”, “libxml2-devel”, “freealut-devel” and “libvorbis-devel” (ooof !)

For yum users, just copy and execute this: “yum -y install subversion gcc gcc-c++ boost-devel gtk2-devel glew-devel gtkglext-devel libxml2-devel freealut-devel libvorbis-devel”

Now, it’s time to compile !!

Open a terminal, my working directory is “/home/duke/Public”, you can use any directory, you must just have writing permission

“svn co DarkRadiant” and wait for all the files to be copied

Now, “cd DarkRadiant”, you can check for updates using “svn up”

To compile it, follow the steps:

1- Run “./configure”, if you want to enable the DarkMod plugins, use: “./configure –enable-darkmod-plugins”

2- Type “make”, so it will get compiled.

3- Installation: login as root by typing “su”, enter the root password when needed, then, enter “make install”

Note: if you don’t have root access, or wish to install DarkRadiant on another directory, add this option to the “./configure”, –prefix=YOUR_DIRECTORY , for example, if I want to install DarkRadinat under /home/duke/Public: “./configure –prefix=/home/duke/Public”

Now, after the compilation process is a success, launch darkradiant simply by typing “darkradiant” on a terinal ! The first time, it it complains about a missing directory, choose “No” or input nothing in the “Game Mod (fs_base)” field if you want to use only the “base” dir. if you want to use your own mod assets, create a new folder under “/usr/local/games/doom3” called “my_mod” or whatever you want, then, create a zip file containing an empty directory “script”, and rename this to file.pk4.

Nice Mapping 🙂