Previous Next Table of Contents

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.


Previous Next Table of Contents