# install Ubuntu 11.04/32 *server* with OpenSSH, boot it up, log in
# install header files (sys/socket.h) and development tools
sudo aptitude install libc6-dev make
# set up G-WAN and try starting it
mkdir Dev
cd Dev/
tar xjf ~/gwan_linux.tar.bz2
cd gwan/
./gwan
# Missing dependencies csp/cache1.c:
# err: file '/lib/libgcc_s.so.1' not found
locate libgcc_s.so
sudo ln -s i386-linux-gnu/libgcc_s.so.1 /lib/libgcc_s.so.1
./gwan
# Error parsing /csp/post.c:
# #include line 15:
# #include /usr/include/sys/socket.h 40:
# /usr/include/bits/socket.h:381: include file 'asm/socket.h' not found
locate socket.h | grep asm
sudo ln -s asm-generic /usr/include/asm
./gwan
# Missing dependencies csp/sqlite.c:
# err: undefined symbol 'sqlite3_busy_timeout'
cd 0.0.0.0_8080/#0.0.0.0/csp/
mv sqlite.c sqlite.c.fixme
cd -
# and now G-WAN will start up
./gwan