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 [2008/11/28 19:59] – 78.12.76.67 | 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 from [[http:// | + | Get the source code using subversion, see [[http:// |
- | + | ||
- | <code bash> | + | |
- | tar xf cwb-2.2.b99-RC1.tgz | + | |
- | </ | + | |
Enter the new directory: | Enter the new directory: | ||
<code bash> | <code bash> | ||
- | cd cwb-2.2.b99-RC1 | + | cd cwb-3.0 |
</ | </ | ||
+ | |||
+ | |||
+ | |||
===== Edit config.mk ===== | ===== Edit config.mk ===== | ||
Line 47: | Line 46: | ||
< | < | ||
- | include $(TOP)/ | + | include $(TOP)/ |
</ | </ | ||
Line 54: | Line 53: | ||
< | < | ||
include $(TOP)/ | include $(TOP)/ | ||
+ | </ | ||
+ | |||
+ | or | ||
+ | |||
+ | < | ||
+ | include $(TOP)/ | ||
+ | </ | ||
+ | |||
+ | or | ||
+ | |||
+ | < | ||
+ | include $(TOP)/ | ||
</ | </ | ||