Next Previous Contents

2. Compiling PyIRC

2.1 Softwares needed by PyIRC

As I wrote above, you will first need to compile and install Qt. You will need both the library and the include files. See the Qt documentation to know how to compile and install Qt.

Next, you will have to compile Python. Refer to the Python documentation to know how to do this. You should not have to modify the Setup file, the default one is correct.

2.2 Compiling and installing PyIRC

Now, you will be able to compile PyIRC. Run the configure program. You should set libdir and bindir to the directories where you want to install the library files and the binary:

./configure --bindir=/usr/bin --libdir=/usr/lib/pyirc

You will be asked the Python top level directory. Enter the absolute path. If you made a mistake, remove the file config.cache, and re-run configure.

Finally, you can type:

make
and everything should compile fine.

Be sure you have the rights to install the files in their target directories (you can su root for example) and type:

make install

You should have a binary called pyirc in your target binary directory, and two files, pyirc.py and stdscript in your target library directory.


Next Previous Contents