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.
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:
makeand 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.