Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| install:compile_linux [2009/01/12 14:31] – 84.220.173.73 | install:compile_linux [2010/12/03 09:30] (current) – old revision restored eros | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Compiling CWB from source under Linux ====== | ====== Compiling CWB from source under Linux ====== | ||
| - | Compilation and installation of CWB version  | + | Compilation and installation of CWB version 2.2.104, tested on Ubuntu  | 
| ===== Prerequisites ===== | ===== Prerequisites ===== | ||
| Line 13: | Line 12: | ||
| * gcc | * gcc | ||
| * libc6-dev | * libc6-dev | ||
| + | * libglib2.0-dev | ||
| * libncurses5-dev | * libncurses5-dev | ||
| * make | * make | ||
| + | * subversion | ||
| - | So, in case they are not installed, all you have to do in Ubuntu  | + | So, in case they are not installed, all you have to do in Ubuntu is: | 
| < | < | ||
| - | sudo apt-get install autoconf bison flex gcc libc6-dev libncurses5-dev make | + | sudo apt-get install autoconf bison flex gcc libc6-dev libglib2.0-dev libncurses5-dev make subversion | 
| </ | </ | ||
| - | |||
| - | |||
| ===== Getting the source code ===== | ===== Getting the source code ===== | ||
| - | Get the source code using subversion, see [[http:// | + | Get the source code using subversion, see [[http:// | 
| Enter the new directory: | Enter the new directory: | ||
| Line 32: | Line 31: | ||
| cd cwb-3.0 | cd cwb-3.0 | ||
| </ | </ | ||
| + | |||
| + | |||
| + | |||
| ===== Edit config.mk ===== | ===== Edit config.mk ===== | ||
| Line 44: | Line 46: | ||
| < | < | ||
| - | include $(TOP)/ | + | include $(TOP)/ | 
| </ | </ | ||
| Line 51: | Line 53: | ||
| < | < | ||
| include $(TOP)/ | include $(TOP)/ | ||
| + | </ | ||
| + | |||
| + | or | ||
| + | |||
| + | < | ||
| + | include $(TOP)/ | ||
| + | </ | ||
| + | |||
| + | or | ||
| + | |||
| + | < | ||
| + | include $(TOP)/ | ||
| </ | </ | ||