Linux Colloquy push notifications from Debian Squeeze

To get this working I did the folloing on my Debian Squeeze installation.

Compile the latest znc

$ sudo aptitude install build-essential libssl-dev libperl-dev pkg-config 
$ sudo aptitude build-dep znc 
$ wget http://znc.in/releases/znc-latest.tar.gz 
$ tar -xzvf znc*.*gz $ cd znc* 
$ ./configure 
$ make 
$ sudo make install 

Install Colloquy push add-on

$ curl -LO http://github.com/wired/colloquypush/raw/master/znc/colloquy.cpp 
$ znc-buildmod colloquy.cpp 

Move colloquy.so to ZNC’s modules folder. By default, this is ~/.znc/modules/.

$ mv colloquy.so ~/.znc/modules/ 

Configure ZNC

$ /usr/local/bin/znc --makeconf 

Misc

Load the Push module with ZNC, either through webadmin or by typing /msg *status loadmod colloquy.

For help and options, type /msg *colloquy help or /msg *colloquy status in your IRC client.

Note: if you want to disable push when another client is connected to znc, pass the following argument to the colloquy module (make sure your module is up-to-date):

-attachedpush 0 

or send a message to *colloquy after loading the module:

/msg *colloquy attachedpush 0 

Sources

gcc path problem with Debian 6.0.4 on VMware Fusion

I got the following error message while installing VMware Tools on Debian 6.0.4 on VMware Fusion.

The path "/usr/bin/gcc" is not valid path to the gcc binary.

I tried to fix it by installing the linux-header files…without any success.

I solved it by running:

apt-get install kernel-package

apt-get install gcc-4.3 linux-headers-`uname -r` -y

I found the solution here.