wine: x development files not found

view story

http://askubuntu.com – I downloaded the wine-1.4-rc5.tar.bz2. I ran the tools/wineinstall in terminal. After some time I get this error. checking for X... no configure: error: X development files not found. Wine will be built without X support, which probably isn't what you want. You will need to install development packages of Xlib/Xfree86 at the very least. Use the --without-x option if you really want this. Configure failed, aborting install. I am using Ubuntu 10.04. The installation won't finish. Can I fix this and make wine install ? (HowTos)