$ cd wireshark-0.99.5

$ ./configure --disable-wireshark --disable-capinfos --disable-editcap --disable-dumpcap --disable-mergecap --disable-text2pcap --disable-idl2eth --disable-randpkt --disable-dftest --disable-ipv6 --disable-threads --without-plugins
configure result

Http dissector and dns, vlan, ftp, smtp, imap, pop, ldap, mysql, snmp, vnc, tftp, telnet, ssl :
$ patch -p0 < patch01d-azwalaro-wireshark0995compilation.diff .gz (37ko)

$ cd epan && make

$ cd ../wiretap && make

$ cd .. && make tshark

$ ./tshark -v
TShark 0.99.5

Copyright 1998-2007 Gerald Combs and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GLib 2.2.1, with libpcap 0.7.2, with libz 1.1.4, with libpcre 3.9,
without Net-SNMP, without ADNS, without Lua, without GnuTLS, without Gcrypt,
without Kerberos.

Running on Linux 2.6.19, with libpcap (version unknown).

Built using gcc 3.2.2.