Tuesday, December 8, 2009

Problems while Installing WordNet in Ubuntu

I tried installing Wordnet in Ubuntu and faced some problems. Prior to installing wordnet you need to install tcl and tk. When I ran make to install tcl I faced an error saying gcc is not able to create executables. To resolve this problem install build-essential
sudo apt-get install build-essential
Then the installation of tcl didn't pose any problems. But while installing tk I faced a make error which prevented installing of tk.
tk8.5.8/unix/../generic/tk.h:78:23: error: X11/Xlib.h: No such file or directory
To rectify this error I installed libx11-dev package using the command sudo apt-get install libx11-dev. After installing that package everything went fine.