Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| install:compile_cygwin [2008/08/25 13:32] – 92.252.45.110 | install:compile_cygwin [2010/12/03 09:30] (current) – old revision restored eros | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Compiling CWB from source under Windows ====== | ====== Compiling CWB from source under Windows ====== | ||
| - | Compilation and installation of CWB version | + | Compilation and installation of CWB version |
| + | |||
| + | |||
| + | |||
| + | |||
| + | ===== Status of the Cywgin port ===== | ||
| + | |||
| + | The Cygwin port of the CWB is **experimental**. | ||
| + | |||
| + | The problems we have encountered may be due to limitations in the virtual memory management of Windows and the Cygwin emulation layer manage. | ||
| + | |||
| + | In the long term, we hope to offer a native Windows port of the CWB. Please join the [[http:// | ||
| Line 12: | Line 24: | ||
| * '' | * '' | ||
| * '' | * '' | ||
| + | * '' | ||
| + | * '' | ||
| We recommend to install the simple text editor '' | We recommend to install the simple text editor '' | ||
| - | |||
| - | |||
| ===== Getting the source code ===== | ===== Getting the source code ===== | ||
| - | Get the source code from [[http://cwb.sourceforge.net/ | + | Get the source code from [[http:// |
| <code bash> | <code bash> | ||
| - | tar xf cwb-XXXXXX.tgz | + | tar xf cwb-XXXXXX.tgz |
| </ | </ | ||
| Line 29: | Line 41: | ||
| <code bash> | <code bash> | ||
| - | cd cwb-3.0 | + | cd cwb-XXXXXX (current version 2.2.b99-RC1) |
| </ | </ | ||
| **Important note:** In principle, you can unpack the CWB source code anywhere you like, but // | **Important note:** In principle, you can unpack the CWB source code anywhere you like, but // | ||
| + | |||
| ===== Edit the makefile ===== | ===== Edit the makefile ===== | ||
| Line 42: | Line 55: | ||
| </ | </ | ||
| - | Otherwise, navigate to the '' | + | Otherwise, navigate to the '' |
| In the **platform** directive, insert //cygwin// | In the **platform** directive, insert //cygwin// | ||
| Line 86: | Line 99: | ||
| include $(TOP)/ | include $(TOP)/ | ||
| </ | </ | ||
| + | |||
| Line 98: | Line 112: | ||
| at the command line, and go to fetch a cup of coffee (due to the overhead of the Cygwin emulation layer, compilation is much slower than on Unix systems). | at the command line, and go to fetch a cup of coffee (due to the overhead of the Cygwin emulation layer, compilation is much slower than on Unix systems). | ||
| - | Then we compile | + | Since the Cygwin port is still experimental, it is probably |
| <code bash> | <code bash> | ||
| Line 105: | Line 119: | ||
| </ | </ | ||
| - | Then we compile the corpus | + | Then, compile the '' |
| <code bash> | <code bash> | ||
| - | make cl | + | make editline |
| </ | </ | ||
| - | Then editline: | + | Now compile the corpus library: |
| <code bash> | <code bash> | ||
| - | make editline | + | make cl |
| </ | </ | ||
| + | |||
| Then the utilities: | Then the utilities: | ||
| Line 123: | Line 138: | ||
| </ | </ | ||
| - | Finally we compile cqp: | + | And finally CQP: |
| <code bash> | <code bash> | ||
| make cqp | make cqp | ||
| </ | </ | ||
| + | |||
| + | You may also want to check that the manpages are up to date: | ||
| + | |||
| + | <code bash> | ||
| + | make man | ||
| + | </ | ||
| + | |||
| + | |||
| ===== Installation ===== | ===== Installation ===== | ||
| Line 134: | Line 157: | ||
| <code bash> | <code bash> | ||
| - | sudo make install | + | make install |
| </ | </ | ||
| + | |||
| + | If you have set up Cygwin with a separate administrator account, you may need to type '' | ||