Assuming you are having wheezy (but it will probably work with another debian based distro)

Download latest pthsem and bcusdk from the Sourceforge project bcusdk, current versions right now:

http://sourceforge.net/projects/bcusdk/files/pthsem/pthsem_2.0.8.tar.gz/download
http://sourceforge.net/projects/bcusdk/files/bcusdk/bcusdk_0.0.5.tar.gz/download
Move them to your raspberry pi and do:
tar xvfz pthsem_2.0.8.tar.gz
tar xvfz bcusdk_0.0.5.tar.gz 
cd pthsem-2.0.8
./configure
make
sudo make install
cd ../bcusdk-0.0.5 
export LD_LIBRARY_PATH=/usr/local/lib 
./configure --with-pth=yes --without-pth-test --enable-onlyeibd --enable-eibnetip --enable-eibnetiptunnel --enable-eibnetipserver
make
sudo make install
You have to load the dynamic library in /usr/local/lib in order for eibd to work, do the following:
echo "/usr/local/lib" | sudo tee -a /etc/ld.so.conf.d/bcusdk.conf
sudo ldconfig
Try it out with:
sudo route add 224.0.23.12 dev eth0
sudo touch /var/log/eibd.log
sudo chown $USER /var/log/eibd.log
/usr/local/bin/eibd -D -S -T -i --eibaddr=0.0.1 --daemon=/var/log/eibd.log --no-tunnel-client-queuing ipt:192.168.10.10
/usr/local/bin/groupsocketlisten ip:127.0.0.1
(change the ip number 192.168.10.10 to the ip number of your knx gateway)