install:compile_cygwin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
install:compile_cygwin [2008/08/25 14:13] 92.252.45.110install:compile_cygwin [2010/12/03 09:30] (current) – old revision restored eros
Line 13: Line 13:
  
 In the long term, we hope to offer a native Windows port of the CWB.  Please join the [[http://devel.sslmit.unibo.it/mailman/listinfo/cwb|CWBdev mailing list]] if you would be interested to work on this port. In the long term, we hope to offer a native Windows port of the CWB.  Please join the [[http://devel.sslmit.unibo.it/mailman/listinfo/cwb|CWBdev mailing list]] if you would be interested to work on this port.
 +
 +
  
 ===== Prerequisites ===== ===== Prerequisites =====
Line 22: Line 24:
   * ''gcc''   * ''gcc''
   * ''libncurses-devel''   * ''libncurses-devel''
 +  * ''make''
 +  * ''perl''
  
 We recommend to install the simple text editor ''nano'' (from the //Editors// section) for editing configuration files, but you can also use your favourite Windows text editor. We recommend to install the simple text editor ''nano'' (from the //Editors// section) for editing configuration files, but you can also use your favourite Windows text editor.
 +
  
 ===== Getting the source code ===== ===== Getting the source code =====
  
-Get the source code from [[http://cwb.sourceforge.net/|here]], and unpack it:+Get the source code from [[http://sourceforge.net/projects/cwb/|here]], and unpack it:
  
 <code bash> <code bash>
-tar xf cwb-XXXXXX.tgz+tar xf cwb-XXXXXX.tgz (current version 2.2.b99-RC1)
 </code> </code>
  
Line 36: Line 41:
  
 <code bash> <code bash>
-cd cwb-3.0+cd cwb-XXXXXX (current version 2.2.b99-RC1)
 </code> </code>
  
 **Important note:** In principle, you can unpack the CWB source code anywhere you like, but //don't put it on a network drive// (we've encountered some weird errors there) and make sure that the directory path //does not contain blanks// (which will happen e.g. if you put the source code on your Desktop). The best solution is probably to keep the source code somewhere in the Cygwin directory tree, e.g. your Cygwin home directory.  **Important note:** In principle, you can unpack the CWB source code anywhere you like, but //don't put it on a network drive// (we've encountered some weird errors there) and make sure that the directory path //does not contain blanks// (which will happen e.g. if you put the source code on your Desktop). The best solution is probably to keep the source code somewhere in the Cygwin directory tree, e.g. your Cygwin home directory. 
 +
  
 ===== Edit the makefile ===== ===== Edit the makefile =====
Line 49: Line 55:
 </code> </code>
  
-Otherwise, navigate to the ''cwb-3.0'' directory in Windows Explorer and open the file ''config.mk'' with a text editor.+Otherwise, navigate to the ''cwb-XXXXXX'' directory in Windows Explorer and open the file ''config.mk'' with a text editor.
  
 In the **platform** directive, insert //cygwin// In the **platform** directive, insert //cygwin//
  • install/compile_cygwin.1219666409.txt.gz
  • Last modified: 2008/08/25 14:13
  • by 92.252.45.110