[BioLib-dev] installation on cygwin

Pjotr Prins pjotr.public14 at thebird.nl
Sat May 2 10:38:30 UTC 2009


If have cygwin running and a version of example and staden that
builds for Perl. Only problem is the test fails to find the dynamic
library. I'll fix that soon. Checkout the cygwin branch:

  cd biolib
  git checkout -b cygwin     # create new branch
  git remote add github git://github.com/pjotrp/biolib.git
  git pull github cygwin     # pull my branch
  ./configure --with-example
  make 
  make test
  ./configure --with-staden
  make
  make test

The latest version of biolib has moved the CMake modules into a
separate repository - that is shared with ASciLib.

The problem you were seeing actually had to do with missing
submodules for git. This should be pulled in with configure:

  git submodule init
  git submodule update

Prerequisites for Cygwin are:

The BioLib build system supports building on Cygwin
(http://www.cygwin.com/). First install Cygwin on your machine
selecting the following packages:

* cmake   (development)
* gcc-g++ (development)
* make    (development)
* swig    (development)
* your preferred language: perl, python and/or ruby

and, optionally:

* git (to fetch the latest repositories)

for ASciLib:

* autoconf (development)
* automake (development)

NOTE: The AffyIO module does not yet work on Cygwin - there is a
dependency on the R libraries. I'll sort that soon.

See also ./doc/WINDOWS.txt for the latest.

On Fri, May 01, 2009 at 02:11:49PM -0400, Mark A. Jensen wrote:
> Hey guys,
> Am trying to build on cygwin (I know, I know...). Have got cmake. I do
>
> $ cmake -DBUILD_PERL:BOOLEAN=TRUE .
>
> in the install directory (biolib-0.0.3), and receive
>
> -- The C compiler identification is GNU
> CMake Error: Could not find cmake module  
> file:/cygdrive/c/....../biolib-0.0.3/CMakeFiles/CMakeCCompiler.cmake
> -- The CXX compiler identification is GNU
> CMake Error: Could not find cmake module  
> file:/cygdrive/c/...../biolib-0.0.3/CMakeFiles/CMakeCXXCompiler.cmake
> ...
>
> Have set CYGWIN=1, CMAKE_INCLUDE_PATH=/usr/share/cmake-2.6.2/include,  
> CMAKE_MODULE_PATH=/usr/share/cmake-2.6.2/Modules, still no dice. In
> /usr/share/cmake-2.6.2/Modules, there exists CMakeCCompiler.cmake.in and  
> CMakeCXXCompiler.cmake.in, but not
> plain .cmake files.
>
> Any tips appreciated-
> cheers Mark
>
> _______________________________________________
> BioLib-dev mailing list
> BioLib-dev at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/biolib-dev
>



More information about the BioLib-dev mailing list